You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hongjie Cui <ho...@Telephia.com> on 2001/09/10 20:56:40 UTC
vssget from UNIX
Dear:
Do you know how to get my codes in VSS from UNIX machine?
here is my partial code:
<vssget
localPath="${dist}/build/com"
vsspath="\\cowboy\$project4\src\com"
ssdir="\\cuih\c\Program Files\Microsoft Visual
Studio\Common\VSS\win32"
login="ant,ant"
recursive="true"
/>
the error message is:
BUILD FAILED
/home/weblogic/skylos_antfile.xml:33: java.io.IOException: //cuih/c/Program
Files/Microsoft Visual Studio/Common/VSS/win32/ss: not found
--- Nested Exception ---
java.io.IOException: //cuih/c/Program Files/Microsoft Visual
Studio/Common/VSS/win32/ss: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
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:509)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
at org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java)
at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java)
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)
i think the problem comes from the path. do i need to configure my unix box
to mount VSS drive on it? if MSVSSGET uses sockets to access remote machine,
i think it is not necessary.
Thank you very much.
hongjie