ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Saxtoft" ...@sondagsavisen.dk>
Subject Continuing CVS problem
Date Fri, 11 Oct 2002 07:11:22 GMT
I really appreciate all the effort that different persons has made
trying to solve this problem, but it stills bothers me.
Now I have started using version 1.4 of ant to see if that is why I used
to have no problems, but with no luck. But at least now I get another
error message.

My script looks like this:
<?xml version="1.0" encoding="UTF-8"?>

<project name="Test" basedir="." default="init">
  <target name="init" >
    <cvspass
      cvsroot=":pserver:builder@192.9.214.171:/home/CVSHOME"
      password="builder"
      passfile="cvspass"
      />

    <cvs
      cvsroot=":pserver:builder@192.9.214.171:/home/CVSHOME"
      dest="build/"
      package="dk"
      passfile="cvspass"
      />
  </target>
</project>

And the error message is:
d:\kode\build\misc\test.xml:16: java.io.IOException: CreateProcess: cvs
-d :pser
ver:builder@192.9.214.171:/home/CVSHOME checkout dk error=2
        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)

Line 16 is the end bracket (/>) of the cvs task.

Another thing I would like to try is running a script made by somebody
else and proved to work. Does anybody have a script that checkout a
public cvs? I would also, if the script doesn't do it by itself, have an
explanation of in which folder structure to put it.

Thank you for your patience.

Thomas Saxtoft

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