ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "IH" <fly...@null.net>
Subject Ant Cvs Checkout Vs Commandline Check, cmd works ant doesn't
Date Wed, 15 May 2002 18:02:16 GMT
 
In Win2000 I use ant 1.4.1 with a cvs rule to checkout my code.  I
first log in to cvs using the normal cvs command line cvs login.  I
then issue my command to ant to checkout my source code.  The command
fails with an authentication problem.  Supplying the -debug option to
ant reveals the equivalent command line that it is trying to execute. 
I then execute this command line and it works fine.  Why does it not
work through ant?


I have an ant rule:

<target name="cvsian">

 <cvs
 command="checkout"
 passfile="c:\.cvspass"
   package="module/dir2"
        dest="e:\temp5"/>

</target>

I run it with:

>ant -debug cvsian

I get this output:

cvsian:
Execute:Java13CommandLauncher: cvs checkout vista/webct
      [cvs] cvs checkout: authorization failed: server
cvs.cobalt.webct.com reje
cted access to /cvs for user ihyatt

BUILD SUCCESSFUL

Total time: 2 seconds

Now I try on the dos command line:

E:\projects\webct\build>e:

E:\projects\webct\build>cd\temp5

E:\temp5>cvs checkout vista/webct
? module/dir2/WEB-INF/struts-config.xml
cvs server: Updating module/dir2

it works..


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message