BUILD FAILED

 

INTERNAL ERROR

 

System.IO.FileNotFoundException: Could not find file "E:\devtrees\ACF\Src\prebuilt\GdiPlus.dl

l".

File name: "E:\devtrees\ACF\Src\prebuilt\GdiPlus.dll"

   at System.IO.__Error.WinIOError(Int32 errorCode, String str)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare sha

re, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare sha

re)

   at System.IO.FileInfo.OpenRead()

   at NAnt.Compression.Tasks.UnZipTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)

   at NAnt.Core.Tasks.CallTask.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 [EMAIL PROTECTED]

 

Total time: 0.1 seconds.

 

 

I double and triple checked to make sure the zip file was in the folder. I tried accessing it as .\, just the name and the full path specified. All resulted in the same error above. Here is the command that calls the unzip call in my .build folder:

 

I am using nant .85 on windows 2003 server.

 

<target name="retail">

        <property name="CurrentTarget" value="retail" />

        <call target="UnzipFiles" />

    </target>

  

    <target name="UnzipFiles" description="unzips the files to the image folder">

 

        <mkdir dir="${ACFBIN}\image\${CurrentTarget}\dll" />

        <unzip zipfile="E:\devtrees\ACF\Src\prebuilt\GdiPlus.dll"

               todir="${ACFBIN}\image\${CurrentTarget}\dll" verbose="${VERBOSE}" />

      

    </target>

 

ACFBIN is set in an included .build file. I have used this extensively in other files without problems.

 

Any ideas?

 

 

Reply via email to