ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop" <an...@techsar.com>
Subject Problem with CVS check out
Date Sat, 31 Mar 2001 03:13:53 GMT
Hi all,


	I am trying to check out files from the CVS and then build them.


This is the piece of code in my build.xml file -


  <!-- Property holding checkout directory -->
  <property name="co.dir"  value="f:/venus" />

  <!-- CheckOut files from cvs -->
  <target name="cvscheckout">

      <mkdir dir="${codir}" />
      <cvs
        cvsRoot=<Root for my CVS>
        package="venus"
        dest="${codir}"
      />

      <cvs dest="${codir}" command="update"/>
  </target>



When i try this it is giving the following error -



F:\ixappDeployed\ixapp\build.xml:26: java.io.IOException: CreateProcess:
cvs -d :pserver:anoop@localhost:/home/cvs/master checkout venus er
ror=2
--- Nested Exception ---
java.io.IOException: CreateProcess: cvs -d
:pserver:anoop@localhost:/home/cvs/master checkout venus error=2
        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.jav
a: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)


	Please help me out in solving this problem.

Thanks all,
Anoop.


Mime
View raw message