ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Gibson" <gibgo...@hotmail.com>
Subject RE: vssget from UNIX
Date Tue, 11 Sep 2001 09:37:06 GMT
This may be useful to you.  It is a TCP/IP solution for remote access to a 
central SourceSafe repository.  SourceOffsite clients exist for both Unix 
and Windows.

http://www.sourcegear.com/sos/index.htm

Mark
----Original Message Follows----
From: Eric Smith <Eric@discoveryworld.co.za>

I have implemented a 'cross platform' solution that requires a dedicated NT
box.

It uses a Perl script that gets called from Ant that figures out the
platform and either calls ss.exe directly (Windows) or calls ss.exe through
ssh under UNIX (you'll need an ssh server on the NT box).  This does a ss
Get -GL<location> where under NT the location is local and under UNIX the
location is a Samba share.  The NT box is there to simply allow ss.exe to be
executed (your SourceSafe repository can double as this).

Yes, I know - 'hack' - but it works and if it wasn't for SourceSafe being so
damned slow at getting files it would be quite a usable solution (CVS is an
order of magnitude faster at doing an update).

The main requirement was the ability to transparently do a build on both
Windows and Unix platforms - this was achieved.

--Eric

 > -----Original Message-----
 > From: Eddie Espino [mailto:eddie@tascola.com]
 > Sent: 10 September 2001 9:24 PM
 > To: ant-user@jakarta.apache.org
 > Subject: RE: vssget from UNIX
 >
 >
 > 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.ex
 > ec(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(MS
 > VSSGET.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
 >
 >


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Mime
View raw message