ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reilly, Jim" <jrei...@globalspec.com>
Subject RE: urgent help needed?? vss with ant
Date Thu, 10 Oct 2002 12:38:02 GMT

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:manishforu77@yahoo.com]
Sent: Thursday, October 10, 2002 7:32 AM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message