I'm not sure how to solve that, but you should really consider moving to Subversion for source control.  There are some nant-contrib tasks that work very nicely with it, good windows client support via TortoiseSVN, tight visual studio integration via Ankh, works well with Cruise control, and works over HTTP so you can avoid some of the path hassles, and the server can run entirely on windows.  I'm not sure if that's feasible, but I think you'll like it better if you can make the switch.

 

Thanks,
Ryan


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Silva
Sent: Friday, July 29, 2005 12:10 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Error accessing VSS

 

Hi there.

 

I'm using Cruise Control.NET and NAnt to implement Continuous Integration on a project my company's developing.

I've created a NAnt's build file similar to other ones I've used in the past, but this time I'm getting an error that I can't find anywhere on NAnt's help.

My build file has the following task:

 

<target name="get" depends="clean">
    <echo message="Starting to get the source files from the repository..." />
    <vssget username="builder"
                password="build"
                localpath="\"
                recursive="true"
                replace="true"
                writable="false"
                dbpath="\\datlx03\DGD\VSS\srcsafe.ini"
                path="$/Produtos/InfoClipEx.Net/InfoClipEx.IntelliSearch"/>
    <echo message="Get finished!" />

</target>

However, when I run this build file on NAnt-Gui I get the following output:

 

clean:

[echo] Starting to clean up unneeded files...

[echo] Clean finished!

get:

[echo] Starting to get the source files from the repository...

BUILD FAILED- 0 non-fatal error(s), 1 warning(s)

C:\CruiseControl\server\siiop\siiop.build(18,4):

Failed to open database "\\datlx03\DGD\VSS\srcsafe.ini".

COM object with CLSID {783CD4E4-9D54-11CF-B8EE-00608CC9A71F} is either not valid or not registered.

Total time: 6.4 seconds.

I never got this error before. I suppose it has something to do with security permissions, but not sure. The path to the database is correct and the machine where NAnt is installed is a Windows 2003 Server with SP1. It has .NET framework 1.1 and 2.0. The machine where NAnt is installed is not in the same domain of the target machine (datlx03).

Anyone can help me out here?

TIA.

 

Pedro Honório Silva

Datinfor

 

Reply via email to