ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Guliani <gaut...@grassroots-tech.com>
Subject RE: ANT and CVS
Date Tue, 03 Apr 2001 01:09:20 GMT
You have to try and read the documentation more closely than that!
It seems that you want to just checkout, so try
<cvs cvsRoot="vinay@argon:/u03/cvsroot" package="magellan" dest="${src.dir}"/>

the default command is checkout.
--
Gautam

At 08:56 PM 4/2/2001, Panwar, Vinay writes:
 >Thanks for ur immd reply, but im facing one problem.
 >I gave the <cvs..../> as it said in the html and changed all the attribute
 >values to my specific values.
 >
 >  <cvs cvsRoot="vinay@argon:/u03/cvsroot" package="magellan"
 >dest="${src.dir}"/>
 >  <cvs dest="${src.dir}" command="update"/>
 >  <cvs command="-q diff -u -N" output="patch.txt"/>
 >  <cvs command="update -A -d"/>
 >
 >but i come up with this error.
 >
 >D:\jakarta-ant-1.3\build.xml:72: Unexpected element "cvs"
 >
 >help wanted fast!!!!
 >
 >Thanks
 >Vinay
 >
 >-----Original Message-----
 >From: Peter Donald [mailto:donaldp@apache.org]
 >Sent: Monday, April 02, 2001 5:37 PM
 >To: ant-dev@jakarta.apache.org
 >Cc: 'ant-dev@jakarta.apache.org'
 >Subject: Re: ANT and CVS
 >
 >
 >At 05:23  2/4/01 -0700, Panwar, Vinay wrote:
 >>Hi
 >>
 >>I am responsible for the builds here. I have deceided to go with ant as the
 >>build tool. I am trying to automate the build so that builds go off at a
 >>particular time.
 >>I would like to know, how do i integrate ant with CVS so that ant talks to
 >>CVS and get(checkout) the required files for the build whenever the build
 >is
 >>scheduled.
 >>Please let me know if ne1 out there knows how this can be done.
 >>Its kinda urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 >
 >Read the documentation - especially cvs task.
 >
 >Cheers,
 >
 >Pete
 >
 >*-----------------------------------------------------*
 >| "Faced with the choice between changing one's mind, |
 >| and proving that there is no need to do so - almost |
 >| everyone gets busy on the proof."                   |
 >|              - John Kenneth Galbraith               |
 >*-----------------------------------------------------*

--
Gautam Guliani                          Email:  gautamg@grassroots-tech.com
Partner                                 Cell:   917.334.1304  *NEW*
Grassroots Technologies, Inc.           Office: 646.375.2036
116 W. 23rd St, Suite 500               http://www.grassroots-tech.com/
NY, NY  10011-9998


Mime
View raw message