[Anthill] Re: No VSS database (srcsafe.ini) found.
Eric Minick
eric at urbancode.com
Thu Apr 22 15:27:45 CDT 2004
Sharad,
I'm trying to sort out why this is working for me and failing for you. I
also am running Win2K, Anthill 1.7 and have all sorts of spaces in my file
paths. I did have one idea that you might be able to check. Your target is
somewhere over the network whereas mine is local. In the Linux world most
people have Anthill running under some other user who might not have login
rights across the network. I'm not sure if that's how you're running under
Win2K or not. I'm not a VSS expert, but if it's not too tricky, you might
want to setup a dummy local project and see if you can build that. If so,
we'll at least know where to look.
Eric
-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Sharad Jain
Sent: Thursday, April 22, 2004 2:56 PM
To: anthill at lists.urbancode.com
Subject: [Anthill] Re: No VSS database (srcsafe.ini) found.
Anthill generates the command _without_ quotes in it.
I tried running the code from the command line, it does not work as it is.
I have to modify a couple of things in command to get it to work.
1) set the SSDIR outside of this multiple command string.
e.g.
set SSDIR=\\server\gui\Data\vss
cmd /x/c cd /d C:\apps\anthill170\work\Active\soft && C:\Program
Files\Microsoft Visual Studio\VSS\win32\ss cp $/Active/soft -Ybuild,bbb &&
C:\Program Files\Microsoft Visual Studio\VSS\win32\ss get
* -Ybuild,bbb -R -I-Y -O-
2) The above format attempts to work but asks for password for user "build".
I dont understand why it asks for password even when I specified it in the
command.
So, I changed both repository.vss.home and repository.vss.root to point to
location
on network (of course, home carries an additional "\win32" appended to it).
So, the following runs,
set SSDIR=\\server\gui\Data\vss
cmd /x/c cd /d C:\apps\anthill170\work\Active\soft &&
\server\gui\Data\vss\win32\ss cp $/Active/soft -Ybuild,bbb &&
\server\gui\Data\vss\win32\ss get * -Ybuild,bbb -R -I-Y -O-
The above commands work but the retrieved code from repository is placed in
the folder
where I run the script from rather than in
"C:\apps\anthill170\work\Active\soft". Looks like it fails
to change the directory properly before executing SS-commands.
The fact that above commands run means the my repository.vss.root is correct
at \\server\gui\Data\vss.
What I dont understand is why both repository.vss.home have to point to the
same/network location.
I checked the ensure that both my local(client) installation of VSS and the
one on network are same version
(VSS 6.0c).
Now, if I go back to anthill VSSRepository settings the use these settings,
it still fails to find srssafe.ini file.
-sharad
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004
More information about the Anthill
mailing list