ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie Espino" <ed...@tascola.com>
Subject RE: vssget from UNIX
Date Mon, 10 Sep 2001 19:24:16 GMT
Microsoft Visual SourceSafe (VSS) is not a client/server application
like CVS.   The VSS client accesses the files of the repository directly
and not through any sockets protocol to a remote server.  The VSS
binaries can only run on the windows platform.  I believe there is a
company which provides VSS for unix, but I am not sure how it works with
the repository stored on the Windows environment.

-e

-----Original Message-----
From: Hongjie Cui [mailto:hong@Telephia.com]
Sent: Monday, September 10, 2001 11:57 AM
To: 'ant-user@jakarta.apache.org'
Subject: 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.jav
a)
        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



Mime
View raw message