Title: Error trying to check out from VSS

I am new to NAnt and I am having problems checking source out from VSS.

SourceSafe is on my local drive at c:\vss
I can see and execute from a command line:
C:\>ss dir -F- $/dev/build
$/dev/BUILD:
$_Build
$RAW Client Install

$/dev/BUILD/_Build:
$/dev/BUILD/RAW Client Install:
2 item(s)

But when I use this build file I get an error:

<?xml version="1.0" encoding="utf-8" ?>
<project
  name="Build"
  basedir="."
  default="build"
  xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd" >

        <property name="root" value="${nant.project.basedir}" />
        <property name="slndir" value="${root}\Build" />
        <property name="srcdir" value="C:\RAW\source\Program Files\RAW" />
        <property name="slnfile" value="masterbuild.sln" />
        <property name="config" value="debug" />
        <property name="outdir" value="${root}\latest\${config}" />
        <property name="verbose" value="true" />
                       
        <property name="vssproject" value="$/dev" />
        <property name="vssdb" value="c:\vss" />
        <property name="vssuser" value="rfrinder" />
        <property name="vsspwd" value="" />

        <target name="clean" description="Delete all the source and outputs for a clean build">
                <delete dir="${slndir}" failonerror="false" verbose="${verbose}"/>
                <delete dir="${outdir}" failonerror="false" verbose="${verbose}"/>
        </target>

        <target name="getlatest" description="Get the latest version of the code from source safe">
                <mkdir dir="${slndir}" failonerror="true" verbose="${verbose}"/>
                <vssget user="${vssuser}"
                                password="${vsspwd}"
                                localpath="${slndir}"
                                recursive="true"
                                replace="true"
                                writable="true"
                                dbpath="${vssdb}\srcsafe.ini"
                                path="${vssproject}"
                                verbose="${verbose}"
         />  
        </target>

C:\dev>nant -buildfile:build.build getlatest
NAnt 0.85 (Build 0.85.1740.0; net-1.0.win32; nightly; 10/6/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/dev/build.build
Target(s) specified: getlatest


getlatest:


BUILD FAILED

C:\dev\build.build(28,4):
Failed to open database "c:\vss\srcsafe.ini".
    Unspecified error

Total time: 0.3 seconds.



If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/

Reply via email to