ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinar Bicioglu <>
Subject RE: pulling out the code from SourceSafe
Date Mon, 16 Apr 2001 17:22:25 GMT
Sorry for the confusion. ! I gave the details above.

-----Original Message-----
From: Nico Seessle []
Sent: Monday, April 16, 2001 1:14 PM
Subject: Re: pulling out the code from SourceSafe

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

I meant when I write "ant" in a DOS window in order to run the targets in my
build.xml file.

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?

It is running but I am not sure that it's running in a correct way. I am
thinking maybe it just ignores that piece of code.

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!)

So it's fine whatever I write in login part. It takes the username and
password that the programmer uses to login to his/her own computer ?

> 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

Is it possible that I don't have "env.bat". I seem not to find it on my
computer?? And I am suppose to execute it everytime i need to run "ant"
right ?

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.

I'am using ant1.3 which I downloaded from the company's network for now.
Thanks for the info though. 

----- 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

No I don't have it. 

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?

yes there is. It has the following line


View raw message