Bugs item #1715295, was opened at 2007-05-08 21:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1715295&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Neil Sleightholm (nsleigh)
Assigned to: Scott Kurtzeborn (scotk)
Summary: Candle Nant task not handling rebuild=”true” flag

Initial Comment:
The NAnt candle task is not return any source files if the rebuild=”true” flag 
is set. 

Fix: In CandleTask.cs, change NeedsRebuilding() to:

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);
}


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1715295&group_id=105970

-------------------------------------------------------------------------
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

Reply via email to