I have mine setup like this:
Try this:

(Just change your property values to yours...)

<property name="vss.login" value="${user.name}" />
<property name="vss.dir" value="C:\Program Files\Microsoft Visual
Studio\Common\VSS\win32" />
<property name="vss.get.autoresponse" value="N" />
<property name="vss.quiet" value="false" />
<property name="vss.serverPath.ini"
value="\\gshqfs01\Public\Applications\SourceSafe\vss" />
<property name="src.dir" value="C:\WebProgs\Java\JSpecSearch\src" />
<property name="vss.JSpecSearch.dir" value="/Java/com" />

<vssget login="${vss.login}"
        autoresponse="${vss.get.autoresponse}"
        quiet="${vss.quiet}"
        recursive="true"
        localpath="${src.dir}\com"
        serverpath="${vss.serverPath.ini}"
        ssdir="${vss.dir}"
        vsspath="${vss.JSpecSearch.dir}" />


Hope this helps!

PS: vss.login is the java user.name property that Java gets from the OS, and
that's
out NT ID, that is the same as our VSS Id.

Tkx,
Jim





-----Original Message-----
From: Saripalli, Raju [mailto:Raju.Saripalli@;jenzabar.net]
Sent: Monday, October 21, 2002 3:31 PM
To: 'Ant Users List'
Subject: VSSGet task
Importance: Low



Hi,

I am using the VSS tasks for the first time and I
have started off with a simple "get" target shown 
below:

<target ...... >
        <vssget recursive="true" 
        login="${vss.username},${vss.password}" 
        ssdir="${vss.home}" 
        serverPath="${vss.server}" 
        vsspath="release1/src" writable="true"/>
</target>

vss.server = //serverAB/srcsafe

My task craps out witht the following message:


$release1/src is not an existing filename or project


I think the error has to do with how I specify the location
of the srcsafe.ini file. Since I am accessing a source safe
database located on a server, I have specified the network
path to the folder on the server (see vss.server above)

I guess the question is "Is the server path specification
in the correct format for ANT to decipher?"

Thanks,

Raju

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to