ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Greenlee" <CGreen...@demandsolutions.com>
Subject RE: VSS get problem
Date Tue, 20 Feb 2001 20:53:26 GMT

I was getting a similar error, and I tracked it down to ss.exe not being
in my path.  You'll have to tack it on to your path, or set the ssdir
attribute.  Try something like this:

<property name="vssexecutable" value="c:/vss/win32"/>
<property name="vssproject" value="/MyProject"/>
... snip ...
<vssget vsspath="${vssproject}"
        ssdir="${vssexecutable}"/>	


> -----Original Message-----
> From: jaideep satghare [mailto:jaideep_ant@yahoo.co.in]
> Sent: Tuesday, February 20, 2001 2:17 PM
> To: ant-user@jakarta.apache.org
> Subject: VSS get problem
> 
> 
> 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(Exe
> cute.java:325)
>         at
> org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exe
> c(Execute.java:431)
>         at
> org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exe
> c(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(MS
> VSSGET.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