You need to get svn-ant, install it on your build system, and then include the jar in your build.xml file.
Here's what I have in my build.xml. I pass build.num through the command line: <path id="svn.tasks"> <pathelement location="${ant.home}/lib/svnjavah1.jar"/> <pathelement location="${ant.home}/lib/svnant.jar"/> <pathelement location="${ant.home}/lib/svnClientAdapter.jar"/> </path> <property name="svn.username" value="svn-ant"/> <property name="svn.password" value="svn-ant"/> <property file="${user.home}/.subversion/svn.properties"/> That defines the ant tasks, the labeling looks like this: <target name="label" description="Label Subversion archive with "label" property"> <fail unless="label" message="Cannot label Subversion archive. Property "label" not defined."/> <svn username="${svn.username}" password="${svn.password}"> <copy srcPath="." destUrl="${arm-url}/${arm.build.tags}/ARM-${build.num}" message="Creating Build ${build.num} of ARM"/> </svn> </target> -- David Weintraub [EMAIL PROTECTED] On Wed, Oct 15, 2008 at 12:55 AM, siba prasad <[EMAIL PROTECTED]> wrote: > > Hi , > > The requirement is as follows.I want to tag the code base.For which I want a > target in my build.xml which will do the following steps. > > 1- Take the update of code base > > 2- Tag the code base as R.xxxx > > where xxxx will be the revision no. > > Please help. > > Thanks > siba > -- > View this message in context: > http://www.nabble.com/svn-tagging-using-Ant-tp19986714p19986714.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]