You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jesse Stockall <st...@magma.ca> on 2003/05/06 21:04:18 UTC

RE: cvs problem - characters around the executable andargumentsare not part of command

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 <st...@magma.ca>