[Anthill] ProfileAdapter checkout failed: No VSS database
(srcsafe.ini) found.
Bryan Smith
BryanS at vulcan.com
Tue Oct 5 15:39:06 CDT 2004
I've seen many posts about this here, and had the same issue facing me
while using a UNC path to srcsafe.ini (\\fileserver\directory\) after an
upgrade to version 1.7.1.212 from 1.6.* on Win2k. The solution seems
obvious now, but plagued me for some time. It may have been addressed
in another response, but considering how many posts there are that
appear related, I'll post my fix for kicks:
* In project's com.urbancode.anthill.adapter.VSSRepositoryAdapter
Properties, leave repository.vss.root *BLANK*
* Set environment variable SSDIR to the correct path**
** In win2k:
Right click on "my computer"
Select "Properties"
Select "Advanced" tab
Click on "Environment Variables"
Under system Variables, click "New"
Enter this:
Variable Name: SSDIR
Variable Value: \\fileserver\directory\
Click ok, close everything, reboot, and HOORAY! Your SSDIR enviromental
variable is set. You might try setting SSHOME to C:\VSS\ss or whathave
you, and also add that to your PATH env variable, and you can access
sourcesafe from any command line -- convenient for scripting and batch
files.
Bryan Smith
--------------------
ON Mon Aug 2 19:36:47 CDT 2004
Wendy Willcox wwillcox at mac.com
Said:
Hello,
I'm getting the following error when I try and run a build through
anthill. When I run the command on the command line it runs fine. I'm
using anthill 1.6.3.67 and Tomcat 5.0 as a service. My Tomcat service,
VSS and windows are all using the same userid. I searched through the
archive and noticed that a bunch of people had this problem, but no real
solution that would work for me.
help.. :-)
thanks,
wendy
17:51:38:719 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.util.Execute - [checkout] cmd /x/c cd /d
"C:\anthill16367\work\release\name" && set
"SSDIR=\\fileserver\directory\" && "C:\VSS\ss" cp $/release\name
-Y"userid","password" &&
"C:\VSS\ss" get * -Y"userid","password" -R -I-Y -O-
17:51:38:859 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - ProfileAdapter checkout failed: No
VSS database (srcsafe.ini) found. Use the SSDIR environment variable or
run netsetup.
com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
checkout failed: No VSS database (srcsafe.ini) found. Use the SSDIR
environment variable or run netsetup.
at
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(Pr
ofileRepositoryAdapter.java:423)
More information about the Anthill
mailing list