ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Question regarding CVS
Date Wed, 18 Jul 2001 00:38:56 GMT
On Wed, 18 Jul 2001 03:26, Raj9 Nagarajan wrote:
> Hi
>    I am trying to checkout files from CVS to my directory suing "ant" but
> it is giving me an error.
>
> Here is what i am writing and the error.
>
> <target name="build-cvs" description="Checks out all required files ">
>       <echo message="Checking out All Required files for Client, Server and
> Common modules:"/>
>       <cvs
> cvsRoot="varadan@sndev003.litel.com:/data/sndev003/02/home/cvsop/qsource"
> package="data" dest="${cvs.dir}" />
>       <cvs command="login varadan"/>
> <echo message="checkdout all the files"/>
>   </target>
>
> Error
> ------
>
> Searching for build.xml ...
> Buildfile: D:\data\qsource\QwestSource\config\build.xml
>
> build-cvs:
> Checking out All Required files for Client, Server and Common modules:
>       [cvs] The name specified is not recognized as an
>       [cvs] internal or external command, operable program or batch file.
...snip...
> Any hints on using this be very helpful.


This is the message you get when an executable is not in your path. The cvs 
task requires the cvs tool to be in your path. Try executing "cvs login 
varadan" at command prompt and it should also fail. 

To fix place the directory where CVS is located onto your path.

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               |
*-----------------------------------------------------*

Mime
View raw message