Bugs item #784310, was opened at 2003-08-06 20:26
Message generated for change (Settings changed) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=784310&group_id=54790
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Gert Driesen (drieseng)
Summary: invalid uptodate condition in TlbImpTask.NeedsCompiling()
Initial Comment:
OutputPath last write time was compared with
OutputPath last write time, not with typelib last write
time. is it corrent?
FileInfo outputFileInfo = new FileInfo
(GetOutputPath());
if (!outputFileInfo.Exists) {
return true;
}
StringCollection fileset = new StringCollection();
fileset.Add(outputFileInfo.FullName);
string fileName =
FileSet.FindMoreRecentLastWriteTime(fileset,
outputFileInfo.LastWriteTime);
if (fileName != null) {
Log.WriteLineIf(Verbose, LogPrefix + "{0} is
out of date, recompiling.", fileName);
return true;
}
fileName = FileSet.FindMoreRecentLastWriteTime
(References.FileNames, outputFileInfo.LastWriteTime);
if (fileName != null) {
Log.WriteLineIf(Verbose, LogPrefix + "{0} is
out of date, recompiling.", fileName);
return true;
}
// if we made it here then we don't have to
reimport the typelib.
return false;
same beahvior for TlbExpTask
-anton ([EMAIL PROTECTED])
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-01-28 19:01
Message:
Logged In: YES
user_id=707851
test again ...
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-01-28 18:52
Message:
Logged In: YES
user_id=707851
Just testing whether a mail will be sent to the NAntC dev list
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2003-12-30 19:50
Message:
Logged In: YES
user_id=707851
This was fixed when I moved the <tlbimp> and <tlbexp> tasks
to NAnt.
Thanks for the report !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=784310&group_id=54790
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer