You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jean-Philippe LEBOEUF <je...@free.fr> on 2002/06/17 19:12:05 UTC

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:anoncvs@cvs.apache.org:/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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>