ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <twm...@its.to>
Subject Re: Win32 CVS Error
Date Thu, 23 Nov 2000 17:29:47 GMT
I am following up my own post to mention that this is not a path
problem. cvs.exe is in my path and runs very nicely from the command line
in any directory. Currently I am using the exec target rather than the cvs
target since it is only and external call anyway. However if anyone has
any ideas as to why I am still getting this error I would much appreciate
it.

Regards

Terrence

On Wed, 22 Nov 2000 twm139@its.to wrote:

> I get the following error when trying to do a checkout with cvs
> 
> checkoutbuild.xml:22: java.io.IOException: CreateProcess: cvs -d
> :pserver:anon@some.cvs.com:/home/project checkout Package error=267
> java.io.IOException: CreateProcess: cvs -d
> :pserver:anon@some.cvs.com:/home/project checkout Package error=267
>         at java.lang.Win32Process.create(Native Method)
>         at java.lang.Win32Process.<init>(Unknown Source)
>         at java.lang.Runtime.execInternal(Native Method)
>         at java.lang.Runtime.exec(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:390)
>         at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247)
>         at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:181)
>         at org.apache.tools.ant.Target.execute(Target.java:142)
>         at org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:532)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:506)
>         at org.apache.tools.ant.Main.runBuild(Main.java:400)
>         at org.apache.tools.ant.Main.main(Main.java:130)
> 
> Total time: 1 second
> java.io.IOException: CreateProcess: cvs -d
> :pserver:anon@some.cvs.com:/home/project checkout Package error=267
> 
> Does ant use its own cvs or call one? Cvs is in the path, and in the
> current directory from where I am calling ant...
> 
> Cheers,
> 
> Terrence
> 


Mime
View raw message