ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peterson, Lance" <>
Subject RE: pulling out the code from SourceSafe
Date Mon, 16 Apr 2001 17:05:49 GMT
Ah, SourceSafe can't find \\Jillians\vss-server\srcsafe.ini.  Is this the
value you've set for the SSDIR environment variable?  Make sure that's where
your srcsafe.ini is located.  Also I can't remember whether SS.EXE can
handle UNC-style names, you might try mapping a drive letter to
\\Jillians\vss-server and referring to it that way.  For example, execute
this command...

net use S: \\Jillians\VSS-SERVER /persistent:yes

(assuming VSS-SERVER has been shared)

then set SSDIR environment variable to "S:\"

Best regards,
Lance Peterson

-----Original Message-----
From: Pinar Bicioglu []
Sent: Monday, April 16, 2001 10:44 AM
To: ''
Subject: RE: pulling out the code from SourceSafe

Also when i execute ss.exe I get the following message;


-----Original Message-----
From: Pinar Bicioglu []
Sent: Monday, April 16, 2001 12:37 PM
To: ''
Subject: RE: pulling out the code from SourceSafe

I am sorry for wasting your time by asking too simple and stupid questions.
But somehow I can't get "vssget> part running on my computer.I have the
following part in my build.xml file

<target name="get-code">
	<vssget vsspath="/assetplanner/Engineering/dev/java"
	        login="user_name, user_password"
		  ssdir="D:/ProgramFiles/MicrosoftVisualStudio/VSS/win32" />

when I compile it, it works actually. but it doesn't ask for any login name
or password. 
And waht's the deal with running "env.bat" file before I run ant ? Why and
how should I do that ?


-----Original Message-----
From: Nico Seessle []
Sent: Friday, April 13, 2001 1:48 PM
Subject: Re: pulling out the code from SourceSafe

----- Original Message -----
From: "Dana Rice" <>
To: <>
Sent: Friday, April 13, 2001 7:27 PM
Subject: RE: pulling out the code from SourceSafe

> Shannon, I appreciate the help. What I see in VSS explorer above the right
> pane is $/agent/dca3.2.
> The env.bat looks like:
> set ssdir=\\Ftcollins\FTCOLLINS_D\VSS\COMDev
> And FTCOLLINS is one of my network places.
> <target name="getcode">
>   <vssget localpath="C:/dca3.2test"
>    recursive="true"
> vsspath="$/agent/dca3.2"
>       writable="true"
> ssdir="C:/Program Files/Microsoft Visual Studio/Common/VSS/win32"/>
> <echo message="getcode"/>
>     </target>

OK, with that configuration are you still getting the error you posted
earlier in this thread?

If you still have problems you should at first try to avoid the dollar-sign
in vsspath, since Ant will add that one automatically and the dollar-sign
has a special meaning in Ant (starts a reference to a property).

In addition you will most likely need to specify the login-argument since
ss.exe can not do an automatic logon for you. Note that you need to specify
a password if you are assigned one even if you don't need to enter one if
you login to the database with the VSS-Explorer.

> I get this:
> [vssget] $/path/to/project/in/vss is not an existing filename or project.

In addition you should make sure you run the file env.bat *manually* before
running ant. Ant will *not* run it for you.

If you could live with the latest version from CVS (the so-called
nightly-builds) there is an additional option for vssget called "serverPath"
which can be used to specify a remote location for the repository.

Your task would then look like

<vssget vsspath="/agent/dca3.2"
        ssdir="C:/Program Files/Microsoft Visual Studio/Common/VSS/win32"


View raw message