Delete your '_cvspass' file.  Rerun the task, make sure the password
is in the _cvspass file.  Run cvs from a command prompt using the
newly created _cvspass.

J.

> -----Original Message-----
> From: Jean-Philippe LEBOEUF [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 17 June 2002 6:12 pm
> To: [EMAIL PROTECTED]
> Subject: Ant & cvs/cvspass task on Windows XP & cvsnt
> 
> 
> Hello, 
> 
> I get the following message when I try to connect to a cvs server: 
> 
> --------------------------------------------------------------
> ------------------
> C:\Java>ant download.xml-xerces
> Buildfile: build.xml
> 
> soja-init:
> 
> download-init:
> 
> download.xml-xerces:
>       [cvs] Using cvs passfile: C:\Java\soja\repository\_cvspass
>       [cvs] cvs checkout: Empty password used - try 'cvs 
> login' with a real pass
> word
> --------------------------------------------------------------
> ------------------
> 
> My build.xml is: 
> 
> --------------------------------------------------------------
> ------------------
>     <target name="soja-init" >
>       <property name="root.dir.soja" value="C:/Java/soja" />          
>       <property name="bin.dir.soja" 
> value="${root.dir.soja}/bin" />       
>     </target>
>     
>     <target name="download-init" depends="soja-init">
>       <property name="cvs.dir.soja" 
> value="${root.dir.soja}/repository" />
>       <property name="cvsRoot.Apache.repository"
> value=":pserver:[EMAIL PROTECTED]:/home/cvspublic" />
>       <property name="cvsRoot.Apache.password" value="anoncvs" />
>       <mkdir dir="${cvs.dir.soja}" />
>       <cvspass passfile="${cvs.dir.soja}/_cvspass" 
>           cvsroot="${cvsRoot.Apache.repository}" 
>           password="${cvsRoot.Apache.password}" 
>       />
>     </target>
>    
>     <target name="download.xml-xerces" depends="download-init" >
>       <cvs command="-z9 checkout" 
>           passfile="${cvs.dir.soja}/_cvspass" 
>           dest="${cvs.dir.soja}" 
>           cvsroot="${cvsRoot.Apache.repository}" 
>           package="xml-xerces" 
>           tag="Xerces-J_2_0_1" 
>       />
>     </target>
> --------------------------------------------------------------
> ------------------
> 
> I'm running cvsnt on Windows XP Pro: 
> 
> --------------------------------------------------------------
> ------------------
> C:\Java>cvs -v
> 
> Concurrent Versions System (CVSNT) 1.11.1.3  (Build 57f) 
> (client/server)
> 
> Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
>                         Jeff Polk, and other authors
> CVSNT version (Jun 17 2002) Copyright (c) 1999-2001 Tony 
> Hoyle and others
> see http://www.cvsnt.org
> 
> CVS may be copied only under the terms of the GNU General 
> Public License,
> a copy of which can be found with the CVS distribution kit.
> 
> Specify the --help option for further information about CVS
> --------------------------------------------------------------
> ------------------
> 
> I have tested my build.xml with Ant 1.4.1 and Ant 1.5Beta2... 
> but it does not
> work...
> 
> Help please !
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to