ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaideep satghare <jaideep_...@yahoo.co.in>
Subject VSS get problem
Date Tue, 20 Feb 2001 20:17:00 GMT
Hi everyone,

I am working on the Ant 1.2 and need it to 
get some files from the VSS.
I tried this with Ant 1.3 as someone had suggested for
another problem, but I keep getting the following
error...

BUILD FAILED

C:\jaideep\ant\TestVSS.xml:11: java.io.IOException:
CreateProcess: ss Get $/CSW_Intranet/put-039/Code
/Phase2 -GLC:\jaideep\ant\test -I- -R -W -Yadmin,admin
 error=2
java.io.IOException: CreateProcess: ss Get
$/CSW_Intranet/put-039/Code/Phase2
-GLC:\jaideep\ant\test
-I- -R -W -Yadmin,admin  error=2
        at java.lang.Win32Process.create(Native
Method)
        at
java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native
Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.java:325)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute.java:431)
        at
org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute.java:456)
        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



The builfile is as below 

<?xml version="1.0"?>


<project name="Test" basedir="." default="vss">

  <target name="vss">
  <vssget localpath="c:\jaideep\ant\test"
   recursive="true" 
   login="admin,admin"
   vsspath="/CSW_Intranet/put-039/Code/Phase2"
   writable="true"/>
  </target>


</project>

Can anyone see what I am missing ?

Thanks,
Jaideep.


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in

Mime
View raw message