ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Bruun <mikkel.br...@valtech.dk>
Subject SV: Is VSSGET still working?
Date Wed, 22 Nov 2000 07:20:13 GMT
You need to set the following property:
set SSDIR=\\server\vss\db

wherer SSDIR points to whereever your vss db might be placed.

Mikkel


-----Oprindelig meddelelse-----
Fra: KC Baltz [mailto:KBaltz@responsenetworks.com]
Sendt: 21. november 2000 18:12
Til: 'ant-dev@jakarta.apache.org'
Emne: Is VSSGET still working?


I'm trying to use it with Ant 1.2.  I have the optional.jar in ant/lib.  I
have ss.exe in my path.  Here is the Target

	<target name="vss" depends="init">
		<vssget 	vsspath = "${ssProject}"
				recursive = "true" 
				login     = "${ssUser},${ssPassword}"
				writable  = "false"
		/>	
	</target>	

Here is the error I get:

D:\src\ant\build.xml:383: java.io.IOException: CreateProcess: ss Get
$/ResponseWorks -I- -R -Yuser,pass error=2
java.io.IOException: CreateProcess: ss Get $/ResponseWorks -I- -R
-Yuser,pass 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(Execute.jav
a: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:16
7)
        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

Thanks in advance,
K.C. Baltz

Mime
View raw message