RE: Problems with VSS

"Nate Scherer" <nscherer-HTutdncUesd8UrSeD/[email protected]> Fri, 1 Sep 2006 10:30:26 -0600
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Got it!  I tried it on the command line and it failed.  So I set the SSDIR
environment variable and removed that part of the command, and then it
didn't give me the error.  I then deleted that setting in the VSS adapter
configuration, and now it works.  Well, the build's failing, but the
checkout is working and I have errors in the build log that I can work with.
It looks to me like this is a bug in VSS 5.

My 2 cents is that the description of that field is not very clear.

"The VSS ROOT used to log in to VSS, or the ssdir environment variable.
(absolute path to your srcsafe.ini file)"

First, I don't even know what a VSS ROOT is.  Second, it makes it sound like
whatever it is you put in should be the absolute path to your srcsafe.ini
file.  However, after this little boondoggle it seems that you can either
leave it blank and use the environment variable, OR enter the path.  Maybe a
little rewording of the instructions could help avoid this confusion.

Thanks everyone for your help.

-Nate

-----Original Message-----
From: anthill-bounces-IWHQxnLZ/[email protected]
[mailto:anthill-bounces-IWHQxnLZ/[email protected]] On Behalf Of Eric Minick
Sent: Friday, September 01, 2006 9:52 AM
To: Anthill user list
Subject: Re: [Anthill] Problems with VSS

Nate,

Have you had any luck checking out this project from the command line? 
The arguments look pretty clean. Also, is there an actual sourcesafe.ini
file at the location? Is there also an ss.ini file?

-- Eric

Nate Scherer wrote:

>Here's the command and its result after adding a trailing \.  I've 
>tried variations on forward and back slashes to no effect.
>
>09:35:19:705 [Thread - AnthillBuildDaemon] INFO 
>com.urbancode.anthill.adapter.ProfileRepositoryAdapter  -
>Execute:Java13CommandLauncher: Executing 'cmd' with arguments:
>'/x/c'
>'cd'
>'/d'
>'c:\java\anthill-1.8.1\work\MainLine\PM-Core'
>'&&'
>'set'
>'SSDIR=\\sourcesafe\vss\'
>'&&'
>'c:\DevStudio\Vss\WIN32\ss'
>'cp'
>'$//MainLine/PM-Core'
>'-Ynathan,nathan'
>'&&'
>'c:\DevStudio\Vss\WIN32\ss'
>'get'
>'*'
>'-Ynathan,nathan'
>'-R'
>'-I-Y'
>'-O-'
>
>The ' characters around the executable and arguments are not part of 
>the command.
>
>WorkingDir: none
>
>Invalid DOS path: \\sourcesafe\vss\ \srcsafe.ini
>
>-----Original Message-----
>From: anthill-bounces-IWHQxnLZ/[email protected]
>[mailto:anthill-bounces-IWHQxnLZ/[email protected]] On Behalf Of Varban
>Sent: Thursday, August 31, 2006 6:52 PM
>To: Anthill user list
>Subject: Re: [Anthill] Problems with VSS
>
>Nate, try adding a trailing \ to the SSDIR path.
>
>Varban
>Eric Minick wrote:
>  
>
>>Nate,
>>
>>Earlier in that log, does it show what command is run? I'm curious as 
>>to where that space is sneaking in.
>>
>>-- Eric
>>
>>Nate Scherer wrote:
>>
>>    
>>
>>>I hope this isn't a frequent question, but I haven't found an exact 
>>>match to either part from searching the mailing list archives.  First 
>>>of all, I'm trying to run against VSS 5.00 with Anthill OS.  I've 
>>>seen mention of problems with VSS 6.0a and to use 6.0 instead, but I 
>>>haven't found anyone talking about whether 5 is supported.  And I 
>>>haven't found any official documentation of version control adapters 
>>>at all beyond what the configuration page itself has.  If there's any 
>>>of that, please let me know.
>>>So, obviously I have a problem that would make me wonder if I'm on a 
>>>supported version, and here it is:
>>>
>>>Invalid DOS path: _\\sourcesafe\vss_ <file://%5C%5Csourcesafe%5Cvss> 
>>>\srcsafe.ini
>>>14:37:04:754 [Thread - AnthillBuildDaemon] ERROR 
>>>com.urbancode.anthill.BuildManager  - ProfileAdapter checkout failed:
>>>100
>>>
>>>_com.urbancode.anthill.adapter.RepositoryException_: ProfileAdapter 
>>>checkout failed: 100
>>>        at
>>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand
>>>(_ProfileRepositoryAdapter.java:442_)
>>>
>>>
>>>Here's the snippet of the command that's related to the ini file
>>>location:
>>>
>>>'SSDIR=\\sourcesafe\vss'
>>>
>>>I can send the entire command if that would be helpful.  I found lots 
>>>of people with the "ProfileAdapter checkout failed" problem, but 
>>>found nobody else with "Invalid DOS path" .  Note the space between "vss"
>>>and "\srcsafe.ini".  Looks to me like that is the problem, but as you 
>>>can see from the command parameter, there is no space in the value I 
>>>put in.  I've tried the mapped drive letter instead of the UNC path, 
>>>as well as enclosing the whole property value in quotes.  I've also 
>>>tried setting an SSDIR environment variable, to no effect.  Can 
>>>anyone shed any light on this problem?  Thanks very much for any help.
>>>
>>>-Nate
>>>
>>>---------------------------------------------------------------------
>>>---
>>>
>>>_______________________________________________
>>>Anthill mailing list
>>>Anthill-IWHQxnLZ/[email protected]
>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill-IWHQxnLZ/[email protected]
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>    
>>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>

_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill