ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peterson, Lance" <lpeter...@verticore.com>
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 [mailto:p.bicioglu@CustomerDialogue.com]
Sent: Monday, April 16, 2001 10:44 AM
To: 'ant-user@jakarta.apache.org'
Subject: RE: pulling out the code from SourceSafe


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

invalid DOS path: \\JILLIANS\VSS-SERVER\SRCSAFE.INI

-----Original Message-----
From: Pinar Bicioglu [mailto:p.bicioglu@CustomerDialogue.com]
Sent: Monday, April 16, 2001 12:37 PM
To: 'ant-user@jakarta.apache.org'
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"
	        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 name
or password. 
And waht's the deal with running "env.bat" file before I run ant ? Why and
how should I do that ?

Thanks



-----Original Message-----
From: Nico Seessle [mailto:nico@apache.org]
Sent: Friday, April 13, 2001 1:48 PM
To: ant-user@jakarta.apache.org
Subject: Re: pulling out the code from SourceSafe


----- Original Message -----
From: "Dana Rice" <Dana.Rice@exodus.net>
To: <ant-user@jakarta.apache.org>
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"
        login="you,yourpassword"
        writable="true"
        localpath="C:/dca3.2test"
        recursive="true"
        ssdir="C:/Program Files/Microsoft Visual Studio/Common/VSS/win32"
        serverPath="\\Ftcollins\FTCOLLINS_D\VSS\COMDev"/>

Nico

Mime
View raw message