I'm geeting the an error while running the following target:

***************************************************************************************************

<target name="release">

<call target="pre-release"/>

<if test = "${string::contains(string::to-lower(Release.From), 'vss')==true}" >

<echo message="calling release from vss"/>

<call target="vss-get-build-package-for-release"/>

<echo message="${VSS.ProjectPath}/Build/${Build.Package.Name}"/>

<unzip zipfile="${Release.Path}" todir="${Release.Path}"/>

</if>

</target>

<target name="pre-release">

<if test="${directory::exists(Release.Path)}">

<echo message="Path found"/>

</if>

</target>

***************************************************************************************************
 
Error:
 
Buildfile: file:///E:/Projects/EASS/Frameworks/BuildAndRelease/Source/NANTScript
/buildcenter.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: release
 

release:
 

pre-release:
 
     [echo] Path found
     [echo] calling release from vss
 
vss-get-build-package-for-release:
 
   [vssget] Getting '$/EASS/EAI/Build/Build_051120051725.zip' to '\\delminfraapp
\release'...
     [echo] $/EASS/EAI/Build/Build_051120051725.zip
 
BUILD FAILED
 
INTERNAL ERROR
 
System.UnauthorizedAccessException: Access to the path "\\delminfraapp\release"
is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFr
omProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
   at System.IO.FileInfo.OpenRead()
   at NAnt.Compression.Tasks.UnZipTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.TaskContainer.ExecuteChildTasks()
   at NAnt.Core.Tasks.IfTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
 
Please send bug report to nant-developers@lists.sourceforge.net.
 
Total time: 0.3 seconds.
**************************************************************************************************************
Error message itself says send a bug report to the developers discussion forum.
 
I'm using nant-0.85-rc3.
 
Any pointers to workaround the same.
 
Thanks
Shelly

Reply via email to