Ask requested this is a code change to fix a problem with the NAnt
Tasks:
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: 08 May 2007 22:26
To: [EMAIL PROTECTED]; Bob Arnson
Subject: Re: [WiX-users] WiX3 Nant Tasks
It looks like it is a bug in CandleTask.cs, the code is not returning
any source files to build if the rebuild="true" flag is set. I think
NeedsRebuilding() should look like this:
protected override bool NeedsRebuilding()
{
// Check the base class.
if (base.NeedsRebuilding())
{
// Add all of the sources to the out of date collection.
string[] sourcesArray = new
string[this.Sources.FileNames.Count];
this.Sources.FileNames.CopyTo(sourcesArray, 0);
this.outOfDateSources.AddRange(sourcesArray);
}
else
{
// We need to rebuild if we have any source files that
are newer than the targets.
this.CalculateOutOfDateSources();
}
return (this.outOfDateSources.Count > 0);
}
I have raised a bug report for this:
http://sourceforge.net/tracker/index.php?func=detail&aid=1715295&group_i
d=105970&atid=642714
Neil
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs