Hi Andreas,

On 21.10.2013 11:54, [email protected] wrote:

Hi all,

first of all, thanks for providing such a useful tool as scons.

I've found a small glitch in Scons 2.1.0 (as part of Ubuntu 12.04 LTS). I've got an emitter function installed for one of my builders. This builder is called with keyword arguments so that an OverrideEnviroment is used to execute it. When the emitter function is called the OverrideEnvironment is presented to it in the env parameter. But if I call a PseudoBuilder (i.e. a MethodWrapper instance) from there, the PseudoBuilder itsself is called with the original environment and the OverrideEnvironment is no longer available to it. I guess, a possible fix would be to forward the keyword arguments used to call the builder to the emitter function so that these keyword arguments could be used to call the PseudoBuilder.


as a first thought on this: I wouldn't expect this to work at all, because it shouldn't be necessary to call any kind of Builder from an Emitter. Can you possibly tell us a bit more about where this setup comes from, or why you need to do it like this?

Thanks a lot in advance and best regards,

Dirk

_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to