ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <stock...@magma.ca>
Subject RE: cvs problem - characters around the executable andargumentsare not part of command
Date Tue, 06 May 2003 19:04:18 GMT
On Tue, 2003-05-06 at 14:44, Melissa Marquis wrote:
> Well, kind of...
> Since I log in prior to running the 'update' command in a ant target: 
> 
> <target name="cvs-login" > 
> 	  <cvspass cvsroot=":pserver:mmarquis@dcvshost1:/home/empcvs" password="mypassword"/>

> 	</target>
> 
> 
>  and then the target runs with 'cvs-login' as a dependency: 
> 
>  <target name="fetch" depends="prepare, cvs-login" description="Get latest code updates
from CVS"> 
>     	<cvspass cvsroot=":pserver:mmarquis@dcvshost1:/home/empcvs" password="mmarquis"/>

>     	<cvs cvsRoot=":pserver:mmarquis@dcvshost1:/home/empcvs" command="update -P" />
> 	</target> 
> 	
> To run it on the command line I do: 
> cvs login 
> cvs -d:pserver:mmarquis@dcvshost1:/home/empcvs update -P
> 
> 
> This works. 
> 
> 

Your 'fetch' and 'cvs-login' targets are specifying a different
password, is this a typo?

Once you have logged in once, and the password is stored in your
.cvspass you shouldn't have to keep specifying it. You can just run your
'update -P' 


-- 
Jesse Stockall <stockall@magma.ca>


Mime
View raw message