Small problem with ivy build and svn-version

Hi, I have two different directory structures on my system, g:\mkgmap_all contains the complete source tree from http://svn.parabola.me.uk/mkgmap with trunk and branches, g:\mkgmap contains only the performance branch (http://svn.parabola.me.uk/mkgmap/branches/performance). When I run ant clean dist in g:\mkgmap_all\branches\performance the build finishes without any error messages. The same command executed in g:\mkgmap produces an error message like this: svn-version: [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, Das System kann die angegebene Datei nicht finden As a result, the generated file build\classes\version.properties looks different. attached are the logs and the produced version.properties files. I am using tortoiseSvn on a Windows XP. TortoiseSVN is linked agains Subversion 1.7.2, that means there is only one .svn directory in either g:\mkgmap\.svn and g:\mkgmap_all\.svn Maybe this is the reason for the problem? http://gis.19327.n5.nabble.com/file/n5549815/ivy_problem.ZIP ivy_problem.ZIP Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Small-problem-with-ivy-build-and-svn-version-... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi
svn-version: [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Ahh, I did have code to prevent svnversion being run if it was not available, but it was on my Windows laptop and looks like I didn't actually check it in. I will find it and check it in. ..Steve

Hi Steve, thanks, but I think a similar problem will occur on Linux if svn version 1.7 or higher is used. Gerd Steve Ratcliffe wrote
Hi
svn-version: [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Ahh, I did have code to prevent svnversion being run if it was not available, but it was on my Windows laptop and looks like I didn't actually check it in. I will find it and check it in.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@.org http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- View this message in context: http://gis.19327.n5.nabble.com/Small-problem-with-ivy-build-and-svn-version-... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi, On Fri, Mar 09, GerdP wrote:
Hi Steve,
thanks, but I think a similar problem will occur on Linux if svn version 1.7 or higher is used.
The whole svnversion stuff only works on a svn checkout. If you download the sources from http://www.mkgmap.org.uk/snapshots/, it will never work: there are no svn informations left. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
participants (3)
-
GerdP
-
Steve Ratcliffe
-
Thorsten Kukuk