On Tue, Mar 2, 2010 at 5:30 PM, Wayne Keenan <[email protected]> wrote:
>
>
> From reading the page on the SCADomain :
> http://tuscany.apache.org/standalone-sca-domain.html
>
> " All .composite files on the classpath will be read and any deployable
> components will be made available in the domain"
>
> I had hoped it was recursive.  I wish to avoid explicitly stating the
> composites that are required.
> The use case is that users can just drop additional 'bundle' (not OSGi)
> folders that get added to the classpath at startup time - without having to
> modify a 'master' deploy.
>
>  I thought the no-arg  newInstance for the embedded host would do this, I
> was mistaken.
>
> Thanks for the pointers, I will use it as a basis to perform my own
> recursive classspath search and add.
>

I haven't give it a try, I guess this would work if you had a flat
directory structure:
 - META-INF/sca-deployables/*.composite

instead of
 - (A|B)META-INF/sca-deployables/*.composite

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to