[Scons-users] Prefixing a command without messing up dependencies

Greg Ward greg at gerg.ca
Wed Jul 18 14:07:24 EDT 2012


On 18 July 2012, TOM TANNER (BLOOMBERG/ LONDON) said:

> Firstly, pedantically, are you never going to change filterJavac?


A very good point. However, filterJavac doesn't affect the
*important* compiler output (bytecode). It just affects the
diagnostics visible to the user. So I don't think a tweak to
filterJavac justifies rebuilding the world.


> I'd make the command line option an option to filterJavac and then

> surround that option in $( $) to suppress rebuilds.


Ah! Geez, why didn't I know about that feature? Well, I guess I do
now. Works perfectly -- given that I don't care about
rebuild-after-changing-filterJavac.

Thanks! (And to Chris BeHanna as well.)

Greg


More information about the Scons-users mailing list