ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: pulling out the code from SourceSafe
Date Mon, 16 Apr 2001 17:13:58 GMT
I'm quoting both of you messages here.

> -----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
> 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"
>         writable="true"
>   localpath="D:/sandbox/Engineering/dev/java"
>   recursive="true"
>   ssdir="D:/ProgramFiles/MicrosoftVisualStudio/VSS/win32" />
>  </target>
> when I compile it, it works actually. but it doesn't ask for any login
> or password.

What do you mean with "when I compile it"? What are you doing to compile

And why are you saying "it works actually" when above the snippet you said
"I can't get vssget part running"?

Is it running, or is it not?

That it is not asking for the username and the password is expected
behaviour. Why should it do so if you put your username and password in the
build.xml? (Please do *not* try to remove them - it will try to do a login
with the Username you used to logon to Windows, but it will not (in a
visible and usable way) ask for the password!)

> And waht's the deal with running "env.bat" file before I run ant ? Why and
> how should I do that ?

Why: To set the environment variable SSDIR which will point VSS to the
correct repository
How: Simply by executing "env.bat" on the command line before calling Ant

Note however that you do *not* need to do that if you use one of the
"nightly builds" (also called Ant 1.4alpha). There you could use the
attribute "serverPath" to point vssget to the right repository.

----- Original Message -----
From: "Pinar Bicioglu" <>
To: <>
Sent: Monday, April 16, 2001 6:43 PM
Subject: RE: pulling out the code from SourceSafe

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

Can you tell us if there is an environment variable called SSDIR? (You can
see that if you execute "set" and look for a line that looks like

Can you also have a look at the directory
"D:/ProgramFiles/MicrosoftVisualStudio/VSS" (don't know if this is correct
without spaces??) - there should be a file called "srcsafe.ini". Is there a
reference to "\\JILLIENS... " in this file?


View raw message