ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KapilSingh Pawar <KapilSin...@PLANETASIA.COM>
Subject RE: VSS Access problem
Date Wed, 18 Jul 2001 04:52:08 GMT
Hi Nimesh,

I am using something like 

    <vssget localPath="zip/build"
        recursive="true"
        login="${user},${password}"
        vsspath="$/Release 3/code/build"
        writable="false"
	  label="${build.label}"
        ssdir="D:\Program Files\Microsoft Visual Studio\VSS\win32"/>

and it works very well for me.

Suggest you to change the ssdir. It should point to the dir containing
ss.exe. Check the VSS path as well.

Rgrds
Kapil

-----Original Message-----
From: Nimesh Shah [mailto:Nimesh.Shah@xoriant.com]
Sent: Wednesday, July 18, 2001 9:56 AM
To: Ant-User (E-mail)
Subject: VSS Access problem


I have following target:

	<target name="getlatest" description="Get latest code from VSS">
		<vssget
			recursive="true" 
			vsspath="/QA"
			writable="false"
			ssdir="C:/Program Files/Microsoft Visual
Studio/Common/VSS/win32/SSEXP.EXE"
			/>
	</target>

Giving me following exception:

D:\work\build.xml:58: java.io.IOException: CreateProcess: "C:\Program
Files\Micr
osoft Visual Studio\Common\VSS\win32\SSEXP.EXE\ss" Get $/QA -I- -R error=0
--- Nested Exception ---
java.io.IOException: CreateProcess: "C:\Program Files\Microsoft Visual
Studio\Co
mmon\VSS\win32\SSEXP.EXE\ss" Get $/QA -I- -R error=0
        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:509)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:160)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.
java:168)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)


Any idea?

Reg,
-Nimesh.

Mime
View raw message