[Scons-users] Having issue with scanner in Command()

Mats Wichmann mats at wichmann.us
Tue May 15 15:59:51 EDT 2018


On 05/15/2018 12:23 PM, Bill Deegan wrote:
> Weird. So it's copying onto itself?

sure looking like it to me... copy to itself, then ignore the "changed
file" which would otherwise trigger a "rebuild".  Hmmm.

I can't find a history to give me hints, some "git log -L" work shows
this logic was there on first commit of the script.

> 
> On Tue, May 15, 2018 at 2:01 PM, Mats Wichmann <mats at wichmann.us> wrote:
> 
>> On 05/15/2018 11:43 AM, Bill Deegan wrote:
>>> Yup. If you have any Ignore()'s then this is likely to happen without the
>>> patch.
>>> It's a work in progress as I'm trying tor resolve some tests which fail
>>> when run on windows and also when run with the changed in the Pull
>> request
>>> for 2980.
>>
>> I didn't realize we had any, but grepping shows we do - even if I'm not
>> sure what the purpose is.  Do these even make any sense at all?
>>
>> # Copy test configuration
>> Command("examples/ResourceContainerConfig.xml",
>>         "examples/ResourceContainerConfig.xml", Copy("$TARGET",
>> "$SOURCE"))
>> Ignore("examples/ResourceContainerConfig.xml",
>>        "examples/ResourceContainerConfig.xml")


More information about the Scons-users mailing list