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}" />
You may be missing/need ssdir in your vss get?
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: manish kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: urgent help needed?? vss with ant
Importance: Low
hi
can some one help in my problem
the problem is that i want to get files from the vss
folder into my local directory
this is my build.xml part which does it
<target name="connect">
<echo message="Checking for getvss..."/>
<vssget localPath="D:\Testing"
recursive="true"
login="User,password123"
vsspath="/Dir/SubDir/09_Source Code"
writable="false"/>
</target>
the problem is that when i run rthe ant script,
it shoes the following in command prompt and hangs
D:\bea\wlserver6.1\config\mydomain\applications\fusionr2>runmyant
Buildfile: build.xml
connect:
[echo] Checking for getvss...
[vssget] Username: User
why is it hanging??what do i need to do so as to get
the files from vss???
i ahve also put ss.exe in the path!!
some one please help???
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>