ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Portier" <...@outerthought.org>
Subject RE: cvs & ant & win2K
Date Sun, 21 Oct 2001 12:02:38 GMT
as far as I remember
there is a special task that creates that very passwd file..
<cvspass>

try something like this:

<target name="init" >
	<mkdir dir="${sandbox.dir}" />
	<cvspass cvsRoot="${cvs.root}"
		 passfile="${cvs.passfile}"
		 password="${cvs.password}"
	/>
</target>

<target name="get" depends="init">
	<cvs cvsRoot="${cvs.root}"
		 package="${cvs.module}"
		 dest="${sandbox.dir}"
		 passfile="${cvs.passfile}"
	/>
</target>

hope this helps,
-marc=

> -----Original Message-----
> From: Ekkehard Gentz [mailto:ekkehard@gentz-software.de]
> Sent: zondag 21 oktober 2001 13:56
> To: ant-user@jakarta.apache.org
> Subject: RE: cvs & ant & win2K
>
>
> hi nico,
> I have installed Cygwin and can use cvs.exe from commandline
>
> ---
> if I try this from the ant build.xml:
>
>      <cvs cvsRoot=":pserver:myusername@myserverIP:/cvs"
>           package="S_Source"
>           dest="T:/TCVS"
>      />
>
> then I get following error:
> testCVS:
>       [cvs] cvs checkout: authorization failed: server ... rejected access
> to /cvs for user ...
>       [cvs] cvs checkout: used empty password; try "cvs login" with a real
> password
>
> then I tried the following
>
>      <cvs command="login"
>          cvsRoot=":pserver:myusername@myserverIP:/cvs"
>      />
>
> now the task "hangs"
>
> I dont know how to say the command where my local .cvspass file is located
>
> thanks for helping
>
> Ekkehard Gentz
> Softwareentwicklung
>
> ff-eCommerce
>


Mime
View raw message