ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klara Ward <kl...@appeal.se>
Subject cvs CreateProcess: error=267
Date Mon, 28 Oct 2002 15:52:24 GMT
I have trouble running cvs with ant

When I run:

<target name="cvsupdate" depends="init">
    <delete dir="${jpda_home}/com"/>
    <cvs cvsRoot=":pserver:klara@talvath:/cvsroot"
       command="checkout"
       package="ToolsJPDATest"
       dest="${jpda_home}"/>
  </target>

I get:

C:\eclipse\workspace\Tower>ant -f testspecs\jpda\jpda.xml -verbose cvsupdate
Ant version 1.4 compiled on September 3 2001
Buildfile: testspecs\jpda\jpda.xml
Detected Java version: 1.3 in: C:\bea\jdk131_02\jre
Detected OS: Windows 2000
parsing buildfile C:\eclipse\workspace\Tower\testspecs\jpda\jpda.xml 
with URI =
file:C:/eclipse/workspace/Tower/testspecs/jpda/jpda.xml
Project base dir set to: C:\eclipse\workspace\Tower\testspecs\jpda
Build sequence for target `cvsupdate' is [init, cvsupdate]
Complete build sequence is [init, cvsupdate, compiletests, run, sanity, 
testtest
win32, full, rockitrunner, medium, jpdatests]

init:

cvsupdate:

BUILD FAILED

C:\eclipse\workspace\Tower\testspecs\jpda\jpda.xml:49: 
java.io.IOException: Crea
teProcess: cvs -d :pserver:klara@talvath:/cvsroot checkout ToolsJPDATest 
error=2
67
        at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:221)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.io.IOException: CreateProcess: cvs -d 
:pserver:klara@talvath:/cvsroot check
out ToolsJPDATest 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:564)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384)
        at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:216)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 0 seconds

I have cvs.exe in my path
and running the cvs command by hand works
(the password is empty btw)

I'm running ant1.5.1

Klara


--
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