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>
vssget_perltext.build
Description: vssget_perltext.build