ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hodges <harmo...@swbell.net>
Subject RE: vssget from a remote VSS
Date Thu, 30 Nov 2000 23:04:13 GMT
I created my own target using <exec>, since VSSGet didn't have a way to
specify the SSPATH.  Here it is:

  <target name="fetch" depends="setUpArgs">
    <mkdir dir="${fetchToDir}" />
    <exec dir="${src}" executable="ss" >
      <env key="ssdir" value="\\puffnstuff\common\vss"/>
      <env key="ssuser" value="build"/>
      <arg value="get"/>
      <arg value="$$\${fetchTarget}"/>
      <arg value="-I-"/>
      <arg value="${versionArgument}" />
      <arg value="-GTM"/>
      <arg value="-W"/>
      <arg value="-GL${basedir}\${fetchToDir}"/>
    </exec>
  </target>

I also have variants that do recursive fetches, directory fetches and
recursive directory fetches.

> -----Original Message-----
> From: Matthew Geis [mailto:matthew.geis@instill.com]
> Sent: Thursday, November 30, 2000 12:46 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: vssget from a remote VSS
>
>
> Another way still to do it is to map a drive from that machine,
> and use the
> ss.executable on the remote machine, by listing it in SSPATH.
>
> -----Original Message-----
> From: Hilton, Chris [mailto:chilton@Question.com]
> Sent: Thursday, November 30, 2000 7:55 AM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: vssget from a remote VSS
>
>
> I don't know about the solution below, but I had to set SSDIR in my
> environment to point to the remote VSS database, like the
> following from the
> command line:
>
> set SSDIR=\\servername\path\to\database
>
> After that, vssget worked fine.  Also, you might want to set SSUSER.  Hope
> this helps.
>
> Chris Hilton
>
> -----Original Message-----
> From: KC Baltz [mailto:KBaltz@responsenetworks.com]
> Sent: Thursday, November 30, 2000 8:34 AM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: vssget from a remote VSS
>
>
> I have the following line in my srcsafe.ini file in my VSS directory.
>
> #include \\RemoteServer\VSSNET\SRCSAFE.INI
> <file://\\RemoteServer\VSSNET\SRCSAFE.INI>
>
> That points to a remote machine where all our files are.  Hope that's what
> you're trying to do.
>
> K.C.
>
> -----Original Message-----
> From: jeremie hebre [mailto:jeremie.hebre@corp.vizzavi.net]
> Sent: Thursday, November 30, 2000 10:06 AM
> To: ant-user@jakarta.apache.org
> Subject: vssget from a remote VSS
>
>
> Hi,
>
> How do we use Vssget task, to get files from a Visual SourceSafe installed
> on a remote machine?
>
> Jérémie
>


Mime
View raw message