Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[buckminster-dev] question about generators and/or 'just in time' building of dependencies

I've got a couple of non-java (python) projects that I'm trying to
'buckminsterize' - The relation is something like this:

Component A depends on artifact X contained in Component B

So I've set up the dependencies so that when I call my top level cquery
(dependent on Component A) I get a workspace with both Component A and
Component B materialized (I'm working in the IDE right now). I've created
buckminster.cspec's for both components as well as build.xml wrappers for
the actual python build operations.

I'm wondering if there's a way (I'm sure there must be, so I guess the
question is really 'what's the recommended way') to build Component B so
that artifact X is ready and waiting when Component A looks for it to
fulfill the build-time dependency? Looking at the documentation, it would
seem that perhaps this is the role of the 'generator' element in the cspec,
but I'm not clear on how it should be implemented. Any help would be
greatly appreciated.

Thanks!
Todd


Todd Lee
Software Tools
ON Semiconductor
Tel:  +1.519.884.9696 ext 2242
Fax: +1.519.884.0228
E-mail: todd_lee@xxxxxxxx



Back to the top