How do I get the vss task working in Win2K?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Raymond_Blum
Posted On:   Monday, October 8, 2001 08:04 AM

Hi Under Win2K I am trying to use the optional VSS task in Ant 1.4. I've tried the vssget and vsshistory tasks and am getting the following error on either one. I have used other optional tasks successfully so I do not think that there is a problem with my ant installation. U:Raymond_BlumPrivateprojects estantjavacomp.xml:21: java.io.IOException: CreateProcess: ss Get $/Engineering/Server/Java -GLU:Raymond_BlumPrivateprojects estantsrc -I- -R error=2 at org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:189) at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java:182) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.exe   More>>

Hi
Under Win2K I am trying to use the optional VSS task in Ant 1.4. I've tried the vssget and vsshistory tasks and am getting the following error on either one. I have used other optional tasks successfully so I do not think that there is a problem with my ant installation.


			
U:Raymond_BlumPrivateprojects estantjavacomp.xml:21: java.io.IOException: CreateProcess: ss Get $/Engineering/Server/Java -GLU:Raymond_BlumPrivateprojects estantsrc -I- -R error=2
at org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:189)
at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java:182)
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)
--- Nested Exception ---
java.io.IOException: CreateProcess: ss Get $/Engineering/Server/Java -GLU:Raymond_BlumPrivateprojects estantsrc -I- -R error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process. (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.optional.vss.MSVSS.run(MSVSS.java:187)
at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java:182)
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)

   <<Less

Re: How do I get the vss task working in Win2K?

Posted By:   Raymond_Blum  
Posted On:   Monday, October 8, 2001 08:19 AM

And, the answer... ss.exe was not in my PATH. I specified ssdir and all is well.

Sorry for the bum post.

About | Sitemap | Contact