From: Bob Jamison <rwjj@ea...> - 2008-05-02 15:46:49
After thinking about telling Rygle about deleting build.dep to force a recomp, it occurred to me how kludgey that is. So I added yet another flag to the <cc> task, refreshCache="true/false".
Setting this to true will force a regeneration of the cache.
But you say "Hey, I don't want to edit build.xml every time I want to clean the cache!" Fair enough. So I added another property to build.xml, "refresh=false". This value is used in the <cc> task as
To change this, and force a refresh, merely redefine "refresh" on the command line:
You should see this near the top of the output:
overloading property 'refresh' = 'true'
This is a workaround to the problem: how to specify a task-specific parameter on the command line. I need to figure this one out eventually.
By the way, did you know that you can do this? Calling btool this way:
...sends the completed Inkscape distro directly to c:\inkscape :)
Since btool uses URIs, "\" or "/" doesn't matter.
Let me know if you have any problems.
But this is a good example of how btool can be modified, and new Tasks added, to perform whatever build functionality we need.