well yes, but that is extremely inconvenient when dealing with a third-party
product. I'd need to write an sca-contribution.xml for that third party
product, export their API packages, create a contribution jar containing a
META-INF folder with the contribution xml plus all the third-party code
as nested jars, and deploy that contribution jar. Wouldn't I?

And would nested jars even work? Or would I even have to unzip the third-party
jars and repackage everything as a contribution? I'd have to check if the
license even allowed that.

-- Sebastian

-----Original Message-----
From: Simon Nash [mailto:[email protected]]
Sent: Thursday, August 23, 2012 9:33 AM
To: [email protected]
Subject: Re: Using EMF with Tuscany 1.6

Millies, Sebastian wrote:
> Hello Simon,
>
 > (cut)
>
> In fact, I was thinking it should be possible to do what I want even while
> sticking to the SCANodeFactory.createSCANode() API. Even then every 
> contribution
> gets its own SCAClassLoader, which does not follow the delegation model
> and first looks to find a class in the contribution. All I'd need would
> be a way to build a single contribution out of multiple jars, but I
> have not found an API for that.
>
> Perhaps I'm missing something obvious again.
>
The right way to handle multiple jars is to make a contribution for each
of the jars and use SCA import/export directives for dependencies between
these contributions.

   Simon

IDS Scheer Consulting GmbH
Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev
Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - 
Registergericht/Commercial register: Saarbrücken HRB 19681
http://www.ids-scheer-consulting.com

Reply via email to