Hi Chris,

Scott's current workaround:

ZipEntry entry = new ZipEntry(entryName);
//write datetime from file (adjust for bug in lib).
//TODO: Remove when bug is fixed.~!
entry.DateTime = File.GetLastWriteTime(file).AddMonths(-1);

We -are- using 0.31 rather than the 0.40 that you're distributing with
0.94b... you don't happen to know if the bug was fixed between then and
now, do you?

Brian

(BTW, was curious if any NAntians are using #Develop rather than Studio
to work on NAnt.  Anyone?)


On Wed, 2003-03-19 at 22:37, Christoph Wille wrote:
> I'm on the #develop team - which version of #ziplib is currently used by 
> NAnt? (our most current version is shipping in #develop .94b). A new 
> release of #ziplib (standalone) is coming soon, would you mind sending 
> fixes to [EMAIL PROTECTED] (if not already contained in our latest version)?
> 
> Chris
> 
> At 09:55 PM 3/19/2003 -0800, Brian Deacon wrote:
> >Good teamwork.  'tween you and Scott, I think I got my brain wrapped
> >around it.  :)
> >
> >IIRC, the fix was a Brutal Hack(tm) by Scott, and the bug is still in
> >sharpziplib.  Or did somebody hunt it down and kill it?  Is this a
> >non-trivial sharpziplib bug?  Anybody taken a peak?  How many sentences
> >in a row can I end in a question mark?
> >
> >B
> >
> >On Wed, 2003-03-19 at 16:42, Ian MacLean wrote:
> > > OK kinda complicated but
> > > this happens in the test phase where nant spawns a version of the just
> > > built nant to run test targets. It the normal case it will run the test
> > > targets only. However the tests have the compile targets as dependents.
> > >   with the file dates being wrong NAnt things it needs  to rebuild them
> > > - it the .cs dates are always more recent thatn the .dll. Since this is
> > > the nant from \build... thats actually running and then trying to
> > > rebuild itself its going to fail.
> > >
> > > Ian
> > >
> > > > Alright... I'll bite... what does the ziplib date bug have to do with
> > > > the pdb file staying locked?  (Snippet from Chris' log here)
> > > >
> > > > BUILD FAILED
> > > > C:\work\nant-0.8.01\src\NAnt.DotNetTasks.build(12,10):
> > > >  External Program Failed:
> > > > C:\WINNT\Microsoft.NET\Framework\v1.0.3705\csc.exe return 1
> > > > Output:
> > > > fatal error CS0042: Unexpected error creating debug information file
> > > > 'C:\work\nant-0.8.01\build\nant-0.8.01-debug\bin\NAnt.DotNetTasks.PDB'
> > > > --
> > > > 'C:\work\nant-0.8.01\build\nant-0.8.01-debug\bin\NAnt.DotNetTasks.pdb:
> > > > The process cannot access the file because it is being used by another
> > > > process.




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to