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:[EMAIL PROTECTED]:/home/CVSHOME"
password="builder"
passfile="cvspass"
/>
<cvs
cvsroot=":pserver:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>