I am using ant 1.2 on NT. I am trying to use the vssget task and am getting
an exception thrown.

Here is what my target looks like:

<target name="vss">
  <vssget localpath="H:\test" recursive="true" label="V1_1"
vsspath="/test_V1_1"/>
 </target>

I have the ssuser environmental set and there is no password on my account.
I can run the command:

ss Get $/test_V1_1 -GLH:\test -I- -R -VLV1_1

without any problems outside of ant.

Here is the exception I get:

H:\test\build.xml:19: java.io.IOException: CreateProcess: ss Get
$/test_V1_1 -GLH:\test -I- -R -VLV1_1 error=2
java.io.IOException: CreateProcess: ss Get
$/test_V1_1 -GLH:\test -I- -R -VLV1_1 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(Exec
ute.java:390)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:161)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.
java:167)
        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:420)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 1 second

Can anyone help me with this one?

Paul Roberts
United Behavior Health

Reply via email to