-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Risler, Dave
Sent: Monday, January 31, 2005 2:14 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] vssget failed "access denied"Hi,
I am getting a “access to file <my VSS working directory> denied” error message from our build file. Has anybody seen this before?
I’ve attached our full build file and the failing snippet below. If I just do a <vssget> latest, no problems writing to the VSS working dir, but we need to select the explicit version cited in the changeset.txt file before doing a CM build.
<<vssget_perltext.build>>
Thanks,
Dave
<!-- using the <regex> task to extract the version number from each line -->
<!-- the pipe ( | ) char separates the version number -->
<foreach item="Line" in="changeset.txt" property="myLine" >
<do>
<!-- debug -->
<echo message="line=${myLine}"/>
<regex pattern="(?'filename'.*)\|(?'version'\w+)$" input="${myLine}" />
<!-- debug -->
<echo message="file=${filename}, ver=${version}"/>
<vssget
user="drisler"
password=""
localpath="C:\0_drisler_test"
removedeleted="true"
replace="true"
writable="true"
dbpath="\\icivss\DevSourceControl\srcsafe.ini"
path="${filename}"
version="${version}"
/>
</do>
</foreach>
Title: vssget failed "access denied"
Dave,
You
have path="${filename}".
Does
the filename also consist of somethink like the $/Project/FileName.txt
syntax? That's the only thing I can think of.
Also, I took a look at your build file. You
only need to load the Nant.Contrib.Task assembly .. you don't need to add the
other two.
HTH,
Felice
- [Nant-users] vssget failed &q... Risler, Dave
- RE: [Nant-users] vssget ... Felice Vittoria
- RE: [Nant-users] vssget ... Castro, Edwin Gabriel (Firing Systems Engr.)