ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salma Saad" <ss...@ecascabel.com>
Subject Re: problem with cvs task
Date Fri, 05 Apr 2002 22:13:46 GMT
The c:/cvs is because I am using CYGWIN to run ant so I can use everything
UNIX on my windows box. I think the / is okay because its fine for all the
hundreds of other properties I am setting in my ant scripts. I simply read
the cvsRoot value from a properties file for example my properties file
contains
build.cvsRoot = c:/cvs
build.cvsModule = com
and then I use the values in the cvs task for the dest and package
attributes so I don't use either the location or value attributes of
Property at all (see below). Thanks for your help, it does really help
narrowing the problem to cvsRoot.

 <target name = "checkOutForBuild" unless="build.src.present">
 <mkdir dir="${build.dist}/src" />
 <cvs cvsRoot="${build.cvsRoot}"
       package="${build.cvsModule}"
       dest="${build.dist}/src}" />----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, April 05, 2002 3:52 PM
Subject: Re: problem with cvs task


> --- Salma Saad <ssaad@ecascabel.com> wrote:
> > The error I get is:
> > C:\javaDev\projects\antFiles\prod.xml:28: java.io.IOException:
> > CreateProcess: cvs -d c:/cvs checkout com error=267
> >         at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:221)
> >
> > Any idea what error=267 refers to?
>
> To the directory name being invalid.
>
> I'm surprised to see "c:/cvs" in the command-line -- I would've thought
> the path would've been changed to Win* backslashes (and a capitol C). But
> maybe the <cvs> task expects the path to already be resolved to the right
> OS type. How are you setting the property that holds the "c:/cvs", with
> the 'value' or the 'location' attribute? If it's 'value', try using
> 'location' instead.
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message