ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Shadel <shade...@mtc.byu.edu>
Subject Can't create process: CVS
Date Thu, 23 Aug 2001 19:47:08 GMT
I've got a simple build.xml that contains only one target that tries to use CVS

<project name="Basic" default="trycvs" basedir=".">

 <target name="trycvs">
  <cvs package="shadeltd/struts/basic/etc"
     dest="cvstest"
  />
 </target>

</project>

When executed on my Win2000 box with JDK 1.3 I get:

C:\DOCUME~1\shadeltd\DOCUME~1\Work\training\shadeltd\struts\basic\buildcvs.xml:8: java.io.IOException:
CreateProcess: cvs checkout shadeltd/struts/basic/etc error=267
--- Nested Exception ---
java.io.IOException: CreateProcess: cvs checkout shadeltd/struts/basic/etc 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(Execute.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)

Total time: 0 seconds

But the following command works perfectly from the command-line in the same directory:

cvs checkout shadeltd/struts/basic/etc 


I didn't see anything related in the mailing list archive.  If you have any suggestions I'd
appreciate it.

Thanks,

Tim Shadel

Mime
View raw message