ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn McAllister" <gle...@ca.ibm.com>
Subject Re: Execute failed for exec to hit VSS...
Date Mon, 16 Oct 2000 18:13:11 GMT


Could you send the exact <exec> call you used?

Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey


Please respond to ant-user@jakarta.apache.org

To:   "'ant-user@jakarta.apache.org'" <ant-user@jakarta.apache.org>
cc:
Subject:  Execute failed for exec to hit VSS...

When I go to cmd shell in NT, I can execute this:

cd C:\Program Files\Microsoft Visual Studio\VSS\win32\
SS.EXE GET $/TOPI/java/ -R -GLC:\coding\topi/java/ -GCD -I-

and it works. This works under the current release, but not under Ant
version 1.2rc1 compiled on October 13 2000.

More error message below; please advise...
-R



> Attached is the build file, you can't see the vars, but I
> think you get the
> idea.
>
> Sorry for the quick send without being able to do more
> debugging myself,
> -D
>
>
> BUILD FAILED
>
> C:\coding\ourapp\.\makefiles\GetFromVSS.xml:29: Execute failed:
> java.io.IOException: CreateProcess: SS.EXE GET $/TOPI/java/ -R
> -GLC:\coding\topi/java/ -GCD -I- error=2
> java.io.IOException: CreateProcess: SS.EXE GET $/TOPI/java/ -R
> -GLC:\coding\topi/java/ -GCD -I- error=2
>    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.ex
> ec(Execute.jav
> a)
>    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java)
>    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java)
>    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java)
>    at org.apache.tools.ant.Target.execute(Target.java)
>    at org.apache.tools.ant.Project.runTarget(Project.java)
>    at org.apache.tools.ant.Project.executeTarget(Project.java)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java)
>    at org.apache.tools.ant.Target.execute(Target.java)
>    at org.apache.tools.ant.Project.runTarget(Project.java)
>    at org.apache.tools.ant.Project.executeTarget(Project.java)
>    at org.apache.tools.ant.Project.executeTargets(Project.java)
>    at org.apache.tools.ant.Main.runBuild(Main.java)
>    at org.apache.tools.ant.Main.main(Main.java)
>
> > -----Original Message-----




Mime
View raw message