[Scons-users] emitter create dependency cycle

Arvid Rosén arvid at softube.com
Sun Sep 8 16:23:29 EDT 2013



4 sep 2013 kl. 14:02 skrev Philipp Kraus <philipp.kraus at flashpixx.de>:


> ...

>

> Wouldn't it be good to have a Node object that represents a directory as a single entity? That way you could write a builder that operates on the directory using a single action, and no need to have emitters to track all files in it. This would make it easy to copy and sign bundles etc. All these things tend to be difficult using Dir and File nodes.

>

> I'm thinking about a own Dir node, derivated from a Python.Value or an overloaded Filsystem.Node. Do you have any code excerpt, because I need some good ideas?

>

> That sounds like something I had in mind, but no, I have no code for this. Only ugly workarounds that rather bypass the whole problem.

>

> Can you post / describe your workarounds ?

> Thanks


Nothing to post really.

I just gave up and did all operations on the directory using env.Execute in a single python function, which was used as an action. This bypasses all dependencies for the files in the directories though.

Cheers,
Arvid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130908/3854d065/attachment.html


More information about the Scons-users mailing list