From: Oti <oh...@gm...> - 2006-04-24 23:25:09
|
Hi Frank, after some trials, I managed to checkout from svn using the svn ant task. from ant.properties: javahl.dir=3DC:/Programme/Subversion/javahl from build.xml: <svn javahl=3D"${javahl.dir}" > =09<checkout url=3D"https://svn.sourceforge.net/svnroot/jython/trun= k/jython" destPath=3D"${cvs.checkout.dir}/jython" revision=3D"2716" /> =09<checkout url=3D"https://svn.sourceforge.net/svnroot/jython/trunk/installer" =20 destPath=3D"${cvs.checkout.dir}/installer" revision=3D"2716" /> </svn> leads to the attached (shortened) console output. Now my question: Up to now we had the cvs.tag property which both indicated the tag to checkout from and the version name (something with Release_2_2). With svnant it is not possible to checkout a tag, but only a revision. I suggest to split the cvs.tag property into two properties: svn.revision, example: 2716 and version.tag, example: Release_2_2_alpha2 (or whatever you will tag it in the future) Does this sound reasonable ? Thanks, Oti. PS: from the svn ant docs for checkout: Check out a working copy from a repository. Attribute =09Description -------------- -----------------------------------------------------------= - url=09=09url to checkout from recurse =09Set to "false" to operate on single directory only. Default is "true" destPath =09destination directory revision =09revision to checkout. =09=09Possible values are : =09=09- a date with the following format : MM/DD/YYYY HH:MM AM_PM =09=09- a revision number =09=09- HEAD, BASE, COMMITED or PREV =09=09Default is "HEAD" |