Bugs item #902712, was opened at 2004-02-23 15:32
Message generated for change (Settings changed) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=902712&group_id=31650
Category: Tasks
Group: 0.85
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Jos Clijmans (clijmans)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task compiles when solution up-to-date
Initial Comment:
When references get fixed-up, the solution task doesn't
update the timestamp of the referenced dll, so the
referenced dll has a timestamp of 31/12/9999
The output of the solution is therefore always older than
the referenced assembly, causing a compile of the
solution.
fix :
in src\NAnt.VSNet\Reference.cs after line 334 insert
following line
_referenceTimeStamp = File.GetLastWriteTime
(_referenceFile);
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-02-24 20:24
Message:
Logged In: YES
user_id=707851
I've committed your fix to cvs.
Would it still be possible to attach a repro for this bug
report ? (I'd like to gather as much test cases for the solution
task as possible)
----------------------------------------------------------------------
Comment By: Jos Clijmans (clijmans)
Date: 2004-02-24 09:16
Message:
Logged In: YES
user_id=958387
I've checked with the nightly build.
The problem still exists, but this time the fix has to go behind
line 399.
Function ResolveFolderFromList does not set the timestamp
of references found.
the complete function must be
private bool ResolveFolderFromList(StringCollection
folderList, string fileName) {
foreach (string path in folderList) {
FileInfo fiRef = new FileInfo(Path.Combine(path,
fileName));
if (fiRef.Exists) {
_referenceFile = fiRef.FullName;
_baseDirectory = fiRef.Directory;
_referenceTimeStamp = File.GetLastWriteTime
(_referenceFile);
return true;
}
}
return false;
}
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-02-23 20:07
Message:
Logged In: YES
user_id=707851
Jos,
Can you please try this using the latest nightly build, and
attach a repro to this bug report if this issue still persists ?
Thanks !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=902712&group_id=31650
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers