ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Gramly <cgra...@pacbell.net>
Subject cvs command from Windows NT
Date Mon, 09 Oct 2000 23:09:14 GMT
I am trying to do a checkout of my application code from my WinNT laptop
using the built-in ant 'cvs' task.  The cvs repository resides on a unix
machine connected to the same network as my laptop.  I was successful in
doing this from one unix machine to another using the following:

<property name="cvsroot"
value=":pserver:weblogic@10.0.0.10:/usr/local/cvsroot" />
<target name="cvs_checkout" depends="stop_weblogic">
     <cvs cvsRoot="${cvsroot}"
          package="${module.name}"
          dest="${src.home}" />
</target>

When I try this from my laptop I receive the following error:

oh_build.xml:214: java.io.IOException: CreateProcess: cvs -d
:pserver:cgramly@10.0.0.10:/usr/local/cvsroot checkout oh_website  error=2
java.io.IOException: CreateProcess: cvs -d
:pserver:cgramly@10.0.0.10:/usr/local/cvsroot checkout oh_website  error=2
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at org.apache.tools.ant.taskdefs.Execute.exec(Execute.java:240)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:218)
        at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:117)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:797)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:124)

Any ideas/suggestions would be appreciated.

Thanks,

-Chris


Mime
View raw message