[Anthill] Anyone had luck with MS VSS version 6.0?

Alan May alan.may at PeopleAdmin.com
Mon Aug 15 18:03:39 CDT 2005


Hi everyone,
 
I am getting the infamous "No VSSDatabase (srcsafe.ini) found" error
when attempting to fetch code.  Has anyone gotten Anthill working with
MS source safe version 6.0 (not 6.0a) working?  Any feedback would be
very appreciated.
 
Environment:
Windows 2000 Professional 
Remote VSS repository hosted on Windows 2000 server (both attached to
same windows domain)
anthill-1.8.0.264
Tomcat 4.1.31
jdk1.4.2_08
 
Manually invoking vss commands:
 
I can run the commands anthill appears to be trying to execute
manually(show below), with the following modifications:
1)  16:56:41:550 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Executing
Command: cmd /x/c cd /d C:\anthill-1.8.0.264\work\University
Application\pacode\dev && set SSDIR=o:\ && E:\ss cp $/University
Application/pacode/dev -Yamay && E:\ss get * -Yamay -R -I -O

    I had to add quotes around $/University Application/pacode/dev for
the command executed:  E:\ss cp $/University Application/pacode/dev
-Yamay   
 
    I had to add a - to the end of -O for the command: E:\ss get *
-Yamay -R -I -O

2)  16:56:41:707 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.VSSRepositoryAdapter  - get revisions
since command: cmd /x/c cd /d "C:\anthill-1
.8.0.264\work\University Application\pacode\dev" && set "SSDIR=o:\" &&
"E:\ss" cp "$/University Application/pacode/dev" -Y"amay" &&"E:\ss"
history -Y"amay" -R -I -vd08/15/2005;04:56P~03/10/2003;04:42P
 
      This required no modifications.  It appropriately quoted the cp
command (need that to happen in #1)
 
 
Stacktrace:
 
-------------------------------------------------------
 
Aug 15, 2005 4:56:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9000
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Aug 15, 2005 4:56:05 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Aug 15, 2005 4:56:05 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Aug 15, 2005 4:56:06 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Aug 15, 2005 4:56:09 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9000
Aug 15, 2005 4:56:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Aug 15, 2005 4:56:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=C:\Program Files\Apache
Group\Tomcat 4.1
\bin\..\conf\jk2.properties
Anthill: looking for file: C:\Documents and
Settings\amay\.anthill.anthill.prope
rties
Anthill version: 1.8.0.264 loaded.
Anthill root dir: C:\anthill-1.8.0.264
16:56:18:800 [http-9000-Processor5] INFO  com.urbancode.anthill.Anthill
- Start
ing Anthill daemons
16:56:40:316 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger  - Project: PeopleAdminBuildVSS is being released.
16:56:40:316 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger  - Initializing repository adapter...
16:56:40:316 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger  - step 0) Clean up working directory
16:56:40:316 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
rofileRepositoryAdapter  - Cleaning up local files:
16:56:41:504 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger  - step 1) Retrieve working copy of code from repository
Pagelets v3.1.5 loaded.
Copyright 2000-2002 Urbancode.  All rights reserved.
16:56:41:550 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
rofileRepositoryAdapter  - Executing Command: cmd /x/c cd /d
C:\anthill-1.8.0.26
4\work\University Application\pacode\dev && set SSDIR=o:\ && E:\ss cp
$/Universi
ty Application/pacode/dev -Yamay && E:\ss get * -Yamay -R -I -O
16:56:41:613 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
rofileRepositoryAdapter  - Execute:Java13CommandLauncher: Executing
'cmd' with a
rguments:
'/x/c'
'cd'
'/d'
'C:\anthill-1.8.0.264\work\University Application\pacode\dev'
'&&'
'set'
'SSDIR=o:\'
'&&'
'E:\ss'
'cp'
'$/University Application/pacode/dev'
'-Yamay'
'&&'
'E:\ss'
'get'
'*'
'-Yamay'
'-R'
'-I'
'-O'
 
The ' characters around the executable and arguments are
not part of the command.
 
WorkingDir: none
Environment Variables: none
No VSS database (srcsafe.ini) found.  Use the SSDIR environment variable
or run
netsetup.
16:56:41:707 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildMana
ger  - ProfileAdapter checkout failed: 100
com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
checkout faile
d: 100
        at
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand
(ProfileRepositoryAdapter.java:441)
        at
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.getWorkingProj
ectCopy(ProfileRepositoryAdapter.java:289)
        at
com.urbancode.anthill.adapter.VSSRepositoryAdapter.getWorkingProjectC
opy(VSSRepositoryAdapter.java:132)
        at
com.urbancode.anthill.BuildManager.build(BuildManager.java:104)
        at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
va:231)
        at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
16:56:41:707 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.V
SSRepositoryAdapter  - get revisions since command: cmd /x/c cd /d
"C:\anthill-1
.8.0.264\work\University Application\pacode\dev" && set "SSDIR=o:\" &&
"E:\ss" c
p "$/University Application/pacode/dev" -Y"amay" &&
 "E:\ss" history -Y"amay" -R -I -vd08/15/2005;04:56P~03/10/2003;04:42P
 
No VSS database (srcsafe.ini) found.  Use the SSDIR environment variable
or run
netsetup.
16:56:41:879 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildMana
ger  - Exception when getting revisions.
com.urbancode.anthill.adapter.RepositoryException: Exception when
getting revisi
ons.
        at
com.urbancode.anthill.adapter.VSSRepositoryAdapter.getRevisionsSince(
VSSRepositoryAdapter.java:211)
        at
com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:28
7)
        at
com.urbancode.anthill.BuildManager.build(BuildManager.java:215)
        at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
va:231)
        at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)

-----------------------------------------
 
What I've tried to try to get rid of the SSDIR message...
*  having no SSDIR defined
*  having SSDIR defined in system environment variable
*  running tomcat as service running as a local administrator
*  running tomcat as service running as a domain user with administrator
rights on the workstation
*  running tomcat from the command line
*  running tomcat from the command line setting SSDIR on the command
line prior to invocation
*  running tomcat from the command line setting SSDIR as a -D option in
catalina.bat
*  I mapped a drive in case the spaces in the directory names were
tripping it up on the path to my srcsafe.ini
*  I tried changing the mapped drive to point to the network
repository's srcsafe.ini
 
Anybody have any ideas of anything else to try?
 
Thanks,
Alan
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050815/6ceb35a8/attachment-0002.htm


More information about the Anthill mailing list