[Scons-users] Builder Chains Not Working?

Mark Ribau mribau at realtaentertainment.com
Wed Nov 14 06:58:26 EST 2012


So I've got a series of builders, that successively can build from a root
source file, each building a target from the previous.

in deeper SConscripts:
env.Builder1("target0.json", "source0.json")

in Builder1's emitter:
env.MultiBuilder1("target1.json", "target0.json")

in a parent SConscript:

ret = env.MultiBuilder1("target2.json", ['target1.json', 'source2.json'])
ret = env.Builder2("target2.binary", "target2.json")
ret = env.InstallAs(os.path.join(installBase,"target2.binary"),
"target2.binaryplatform")
env.Alias( "myalias", True, ret)
*
*
*
*
The problem I have is that it attempts to build the final thing in the
chain, and never builds the previous ones. The dependency graph looks
correct though:

+-myalias
+-install\target2.binary
+-data\target2.binaryplatform
+-data\target2.json
| +-data\target1.json
| | +-data\folder\target0.json
| | | +-data\folder\source0.json
| +-data\source2.json

The error we are getting is:
scons: *** [data\target2.binaryplatform] data\target2.json: No such file or
directory
*
*
----
*mark ribau*
*software engineer
**direct tel/fax: 610.428.3962*
*corp email: mribau at realtaentertainment.com*
***
corp tel: 408.559.6300
1901 s. bascom ave. | 9th fl. campbell, ca 95008

*

*CONFIDENTIALITY NOTICE: *This e-mail and any accompanying documents
contain confidential information intended for a specific individual
purpose. This information is private and protected by law. If you are not
the intended recipient, you are hereby notified that any disclosure,
copying or distribution, or the taking of any action based on the contents
of this information, is strictly prohibited. If you have received this
transmission in error, please delete it. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121114/3008aadc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21613 bytes
Desc: not available
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121114/3008aadc/attachment-0001.png>


More information about the Scons-users mailing list