[cvsnt] Build from CVS with Ant

Mark Johnson amarkjohnson at gmail.com
Fri Aug 26 22:27:24 BST 2005


> Ramakrishna wrote:

> Can someone tell me how to generate build from CVSNT using Ant.
> 

I would suggest starting by manually checking out all necessary
modules/files from cvsnt, then creating an ant script which you can
run to accomplish the build.  This script should assume that all the
necessary files are already checked out..  This  build.xml file should
then be added to the cvsnt repository so that it is now versioned
along with the project it builds.  After this is done, create a
seperate script (shell, batch, python, ant, whatever) to checkout your
modules from cvsnt (full clean checkout, or update...your preference)
then to run the ant script which you created in the first step, and
which was just checked out.

Obviously your original ant script may want to modify some items and
commit them back into the repository.  If your question is how to make
ant run a *cvs* task, I have not tried this with cvs (or cvsnt).  It
should be fairly easy...see the ant manual.  Another option is to use
the *exec* task to shell out of ant and run cvs from the command line
to accomplish this.

> I'll be grateful to you if u can suggest me a link to a tutorial or site
> explaining how to accomplish this task.
> 

http://ant.apache.org/   (select manual from left)

hope this helps
Mark

On 8/23/05, Ramakrishna_Rachakonda <Ramakrishna_Rachakonda at satyam.com> wrote:
> Dear All,
> 
> 
> 
> Can someone tell me how to generate build from CVSNT using Ant.
> 
> I'll be grateful to you if u can suggest me a link to a tutorial or site
> explaining how to accomplish this task.
> 
> 
> 
> Thanks a lot in advance.
> 
> 
> 
> Regards,
> 
> Ramakrishna
> 
> 
> 
> 
> 
> 
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
>



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook