[josm-dev] [patch] Build process: Ant does not find svn executable

Stephan osm at stephans-server.de
Sun Dec 14 20:01:33 GMT 2008


Hi,

I've created a patch for #1735
http://josm.openstreetmap.de/ticket/1735

please submit.

Problem:
in change 1079 a svn call was added to build script.

Here (Windows with Eclipse) it can not be found

[exec] Execute failed: java.io.IOException: Cannot run program "svn": 
CreateProcess error=2, The system cannot find the file specified

First with eclipse there is no need for a svn binary, second the name of 
the executable differs with platforms.


Solution:
I created a patch to fix this. It is needed to put svnant libs into the 
lib directory.
Download svnant: 
http://subclipse.tigris.org/files/documents/906/43359/svnant-1.2.1.zip

Put the following libs into josm lib directory:
svnant.jar
svnClientAdapter.jar
svnjavahl.jar
svnkit.jar

This ant task tries using svn in the following order: javahl, svnkit, 
svn(.exe) in path


Stephan




More information about the josm-dev mailing list