You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Leung, Wilson" <Wi...@tdsecurities.com> on 2006/07/18 18:06:15 UTC

ant cvs checkout - existing repository /cvs1/ged/packageName/src does not match /cvs1/ged/packageName/src

I have the following in the C:\workspace\packageName\build.xml file:

	<property name="cvs.root"
value=":pserver:${CVS_userid}:${CVS_password}@tocvs01:/cvs1/ged"/>
	<property name="src.dir" value="src"/>

	    <target name="getMainBranch" if="buildMainBranch"
depends="clean">
	    	<cvs cvsRoot="${cvs.root}"
	    		package="${package}/${src.dir}"
	    	/>            
	    </target>

The command line is as follows:
Note that I am building from C:\workspace, 1 level above
C:\workspace\packageName
ant -debug -verbose -DbuildMainBranch=true -DCVS_userid=johndoe
-DCVS_password=abcd1234 -Dpackage=packageName getMainBranch -f
packageName/build.xml

Error message:
      [cvs] cvs checkout: existing repository /cvs1/ged/packageName/src
      [cvs]  does not match /cvs1/ged/packageName/srccvs checkout:
ignoring module packageName/src

-debug -verbose output:

getMainBranch:
      [cvs] Using cvs passfile: p:\.cvspass
      [cvs] Executing 'cvs' with arguments:
      [cvs] '-d:pserver:johndoe:abcd1234@tocvs01:/cvs1/ged'
      [cvs] 'checkout'
      [cvs] 'packageName/src'
      [cvs] 
      [cvs] The ' characters around the executable and arguments are
      [cvs] not part of the command.
      [cvs] 
      [cvs]
      [cvs] environment:
      [cvs] 
...
      [cvs] 	CVSROOT=:pserver:johndoe:abcd1234@tocvs01:/cvs1/ged

I am using ant 1.6.5; with Eclipse 3.1.2, and cvs 1.11.17.  working
directory on WinXP box; repository on solaris box.
Any suggestions why there is an error message as stated in the title?

Thanks.



********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is 
intended only for the use of the addressees and is confidential. 
If you are not an intended recipient or responsible for delivering 
the message to an intended recipient, any review, disclosure, 
conversion to hard copy, dissemination, reproduction or other use 
of any part of this communication is strictly prohibited, as is the 
taking or omitting of any action in reliance upon this communication. 
If you receive this communication in error or without authorization 
please notify us immediately by return e-mail or otherwise and 
permanently delete the entire communication from any computer, 
disk drive, or other storage medium.

If the above disclaimer is not properly readable, it can be found at 
www.td.com/legal
                                                           
AVERTISSEMENT DE CONFIDENTIALITE                   
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement 
aux destinataires susmentionnés,  est confidentiel.  Si vous 
n’êtes pas le destinataire prévu ou un agent responsable de la 
livraison de ce courriel, tout examen, divulgation, copie, impression, 
reproduction, distribution, ou autre utilisation d’une partie de ce 
courriel est strictement interdit de même que toute intervention ou 
abstraction à cet égard.  Si vous avez reçu ce message par erreur ou 
sans autorisation, veuillez en aviser immédiatement l’expéditeur par 
retour de courriel ou par un autre moyen et supprimer immédiatement 
cette communication entière de tout système électronique.

Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous 
pouvez le consulter à www.td.com/francais/legale