info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVSROOT from property


From: Russ Sherk
Subject: Re: CVSROOT from property
Date: Mon, 18 Jul 2005 10:26:55 -0400

On 7/18/05, Xavier <address@hidden> wrote:
> Hi,
> 
> I don't know if my question is about CVS or ANT. Sorry il it's not CVS.
> 
> I am using Smart CVS 2.4.2 and ANT 1.6. In "cvspass" and "cvs command", I
> try to use a property "${cvsroot}" initialized with "-D" parameter in
> command line of ANT. When running my script, I have the followinf error :
> "CVSROOT must be an absolute pathname (not `${cvsroot}')".
> 
> What is the problem ?
This is an ant issue.  Whenever you see the unresolved variable name
in an error (literally: '${cvsroot}') instead of the path specified
(e.g. /some/nonexistant/path/set/via/cvsroot/variable/), it means you
have not set it.

What is the exact command line you use to set the ${cvsroot} variable
on the command line?  (should be something like this:
-Dcvsroot=/my/cvsroot or -Dcvsroot=:ext:address@hidden:/my/cvsroot)

Also, look at using the '-propertyfile <property file>' command line
option if you need to set a bunch of properties.

> Is it really impossible to use property for this parameter ?
> 
> Thank you for any information,
> 
> Xavier
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/info-cvs
> 
Cheerio,

--Russ




reply via email to

[Prev in Thread] Current Thread [Next in Thread]