Hmmm... doesn't work. This is what I'm doing... <target depends="init" description="retrieve source code from cvs" name="cvs_checkout"> <!-- checkout CVS branch --> <cvs command="checkout" cvsRoot="${pserver}" package="CITE/WebApp" dest="${cvsdir}" /> <cvs command="checkout" cvsRoot="${pserver}" package="CITE/lib" dest="${cvsdir}" /> <cvs command="checkout" cvsRoot="${pserver}" package="CITE/Utilities/cfg" dest="${cvsdir}" /> </target> <!-- Tagging the source --> <target depends="init" description="tag the source files" name="tag_cvs"> <cvs dest="." command="tag -F tagging_test"/> </target>
The target 'cvs_checkout' is executed before 'tag_cvs' (there is another target named 'dist' which antcalls cvs_checkout then tag_cvs. Any ideas? Thanks. -----Original Message----- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 February 2003 4:09 PM To: Ant Users List Subject: Re: Tagging cvs source files with build.xml Andrew Zeon wrote: > Hi, > > I want to tag my cvs source files in my build.xml file. How can I do this? > Something like <cvs dest="." command="tag -F BUILD_${buildnum}"/> Conor --------------------------------------------------------------------- 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]