Hello, my Makefile contains these statements:
<delete dir="bin" failonerror="false"/> <mkdir dir="bin\" /> <copy todir="bin"> <fileset basedir="..\components\bin"> <includes name="*.dll"/> </fileset> </copy> <csc target="library" output="bin\project.dll" debug="${debug}"> ... </csc> Before I compile my project, I delete my own components from my project directory and copy them again from the original source, so I am sure I'm working with the latest versions. Sometimes I get a dump like this: C:\PROJECT.NET\web>nant debug Buildfile: file:///C:/EWMS.NET/EWMS/web/EWMS.build [tstamp] Monday, July 01, 2002 4:18:15 PM debug: [echo] debug='true' EWMS: [delete] Deleting directory C:\PROJECT.NET\web\bin [copy] Copying 8 files to C:\PROJECT.NET\web\bin INTERNAL ERROR System.UnauthorizedAccessException: Access to the path "C:\PROJECT.NET\web\bin \mycontrol.dll" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Bo olean overwrite) at SourceForge.NAnt.Tasks.CopyTask.DoFileOperations() at SourceForge.NAnt.Tasks.CopyTask.ExecuteTask() at SourceForge.NAnt.Task.Execute() at SourceForge.NAnt.Target.Execute() at SourceForge.NAnt.Target.Execute() at SourceForge.NAnt.Project.Execute(String targetName) at SourceForge.NAnt.Tasks.CallTask.ExecuteTask() at SourceForge.NAnt.Task.Execute() at SourceForge.NAnt.Target.Execute() at SourceForge.NAnt.Project.Execute(String targetName) at SourceForge.NAnt.Project.Execute() at SourceForge.NAnt.Project.Run() Please send bug report to [EMAIL PROTECTED] Try 'nant -help' for more information But sometimes it works perfectly. I suspect that at the time csc is started the copied data is still in cache and not synced. Is it possible to sync the copy task before it goes further ? Regards, Gerry Jacobs ------------------------------------------------- This mail sent through Tiscali Webmail (http://webmail.tiscali.be) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers