RE: Problems with VSS

"Nate Scherer" <nscherer-HTutdncUesd8UrSeD/[email protected]> Fri, 1 Sep 2006 09:38:06 -0600
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
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