ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Moore <jim.mo...@veritas.com>
Subject RE: cvs checkout from ant
Date Mon, 12 Mar 2001 23:13:38 GMT
If you typed "cvs -d :pserver:sgrossma@ecdev03:/home/ecadmin/cvsroot
checkout cpdev" on the command line, does it work fine?

-Jim Moore
"I think so, Brain; but if we gave peas a chance, won't the lima beans get
jealous?" - Pinky


-----Original Message-----
From: Sadek, Fahim [mailto:fsadek@lehman.COM]
Sent: Monday, March 12, 2001 3:16 PM
To: ant-user@jakarta.apache.org
Subject: cvs checkout from ant


Hi, 

I'm trying to run a cvs checkout from ant. The task is as below:

<cvs cvsRoot=":pserver:sgrossman@ecdev03:/home/ecadmin/cvsroot"
package="cpdev" dest="${work.dir}" />
The error I'm getting follows. Any suggestions would be welcome.

Thanks,

Fahim


C:\work\build.xml:8: java.io.IOException: CreateProcess: cvs -d
:pserver:sgrossm
a@ecdev03:/home/ecadmin/cvsroot checkout cpdev error=267
--- Nested Exception ---
java.io.IOException: CreateProcess: cvs -d
:pserver:sgrossma@ecdev03:/home/ecadmin/cvsroot checkout cpdev error=267
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:66)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:509)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
        at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:181)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Mime
View raw message