I have a linux server where this the cvs server, this is path 
/usr/root/cvsroot created as root and with the corresponding permissions 
and I have my client in Win NT I have a file build.xml where I connect the 
server of the following way:
<target name="tocvs" depends ="war"> <cvspass 
cvsroot=":pserver:[EMAIL PROTECTED]:/usr/local/cvsroot"password="kikealfonso"/>
 
<echo message="cvspass ok" />
<cvs 
cvsRoot=":pserver:[EMAIL PROTECTED]:/usr/local/cvsroot" 
dest="." /> </target>
cvsroot works but cvs no. The following error appears:
tocvs: [echo] cvspass ok
BUILD FAILED
D:\Temp\Proyecto\jorge\build.xml:74: java.io.IOException: CreateProcess: 
cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot 
checkout 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:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTargetProject.java:601)
at org.apache.tools.ant.Project.executeTargetsProject.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)
--- Nested Exception --- java.io.IOException: CreateProcess: cvs -d 
:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot checkout 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.java:564)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384)
at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:216)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
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)
Total time: 4 seconds
Process completed.
As it can be the problem?
Thanks
Jorge Cárdenas



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to