Access denied errors are usually related
to a lack of permissions to access the share… But if everything works
correctly when you do not include the version attribute then I’m not sure
what could be causing the problem… I’ve seen similar problems when
I tried to execute nant scripts by windows services (like CruiseControl.NET)
because the account the service was executing as did not have access to the
share on the remote machine. On the other hand, judging from your
attached build file, I’d say it looks like you’re trying to do
something very similar to what CruiseControl.NET <http://confluence.public.thoughtworks.org/display/CCNET/Welcome%2Bto%2BCruiseControl.NET>
does already. I’d suggest you look at it if you haven’t already. From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Risler, Dave 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> |
RE: [Nant-users] vssget failed "access denied"
Castro, Edwin Gabriel (Firing Systems Engr.) Mon, 31 Jan 2005 12:39:05 -0800
Title: vssget failed "access denied"
- [Nant-users] vssget failed &q... Risler, Dave
- RE: [Nant-users] vssget ... Felice Vittoria
- RE: [Nant-users] vssget ... Castro, Edwin Gabriel (Firing Systems Engr.)