ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Zeon <Andr...@hothouse.com.au>
Subject RE: Tagging cvs source files with build.xml
Date Wed, 05 Feb 2003 05:34:33 GMT
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:conor@cortexebusiness.com.au]
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: ant-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-user-help@jakarta.apache.org

Mime
View raw message