I've added support to chianti for an <include> element that allows
you to include the scdl for one composite into another. This allows
you to do stuff like:
<composite name="outerComposite">
<component name="outer">
<reference name="aRef" target="inner"/>
</component>
<include name="included" scdlLocation="path_to_scdl"/>
</composite>
<composite name="included">
<component name="inner">
...
</component>
</composite>
and when deployed the "outerComposite" composite will actually have
two components ("outer" and "inner") wired to each other.
The scdlLocation attribute is a URL that defines where to get the
included SCDL from; relative URLs are resolved against the location
of the SCDL being processed.
I've used this to break the SCDL that defines the launcher's runtime
environment down into chunks grouping similar functions together. You
can see this at:
https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/chianti/
sca/commands/launcher/src/main/resources/META-INF/tuscany
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]