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

Mats Wichmann mats at wichmann.us
Tue May 15 14:01:02 EDT 2018


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

... and

# Copy test configuration
Command("./ResourceContainerTestConfig.xml",
        "./ResourceContainerTestConfig.xml", Copy("$TARGET", "$SOURCE"))
Ignore("./ResourceContainerTestConfig.xml",
       "./ResourceContainerTestConfig.xml")
Command("./ResourceContainerInvalidConfig.xml",
        "./ResourceContainerInvalidConfig.xml", Copy("$TARGET", "$SOURCE"))
Ignore("./ResourceContainerInvalidConfig.xml",
       "./ResourceContainerInvalidConfig.xml")
Command("./TestBundleJava/hue-0.1-jar-with-dependencies.jar",
        "./TestBundleJava/hue-0.1-jar-with-dependencies.jar",
        Copy("$TARGET", "$SOURCE"))
Ignore("./TestBundleJava/hue-0.1-jar-with-dependencies.jar",
       "./TestBundleJava/hue-0.1-jar-with-dependencies.jar")


More information about the Scons-users mailing list