Hi

Im using Ant as the build tool and im in the process of automating the
build. I would like some help on the following two tasks. 
* how do i get Ant to talk to CVS so as to get the source code to a work
area, when ever a build is scheduled. 

Also, I want the build script to get the source files from CVS into the work
area depending on the tags on files. 
for eg; i want my build script to work in such a way that it gets only the
files that are tagged "compiled". 

Im using this code currently and it doesn't seem to work. 
 <target name="checkout">  
   <cvs cvsRoot="vinay@argon:/u03/cvsroot" package="magellan"
dest="${src.dir}"/>
   <!-- checks out the module magellan from CVS repository pointed to by the
cvsRoot attrbute and stores the files in "${src.dir}" -->
   
   <cvs dest="${src.dir}" command="update"/>
   <!-- updates the package/module that has previously been checked out into
"${src.dir}".-->
   
   <cvs command="-q diff -u -N" output="patch.txt"/>
   <!-- 
   silently (-q) creates a file called patch.txt which contains a unified
(-u) diff which includes new files
   added via "cvs add" (-N) and can be used as input to patch.
   -->
   
   <cvs command="update -A -d"/>
   <!-- Updates from the head of repository ignoring sticky bits (-A) and
creating any new directories as necessary (-d).-->
 </target>  

lemme know if im doing something wrong.

Thanks
Vinay
----
This list is cross-posted to two mail lists.  To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".

Reply via email to