In the last sentence I meant "to reference the SL (shared library) from the SUs".
On Wed, Feb 20, 2008 at 11:36 AM, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > Not really, this is unfortunately a limitation of the JBI specification. > The easiest solution is to embed your jar into your 3 SUs. > However, ServiceMix can allow to work around the problem if you create > a shared library (which is a JBI artifact embedding a collection of jars) > and if > you add the needed entries in the SU xbean.xml (see bottom of > http://servicemix.apache.org/classloaders.html) to reference the SA > from the SUs. > > > > On Wed, Feb 20, 2008 at 10:35 AM, Barath <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I have a Service Assembly with 3 Service - Units. > > > > All 3 SUs require a set of common classes and I would like to keep the SA > > self-contained. > > > > Is there any way I can jar the common classes and add them to the SA, > > something like a dependency. > > I am assuming the structure to be something like > > > > Service Assembly > > - SU1 > > - SU2 > > - SU3 > > - common.jar > > > > Is this possible? > > > > Thanks for the reply, > > Barath > > -- > > View this message in context: > http://www.nabble.com/Common-jars-for-a-Service---Assembly-tp15585373s12049p15585373.html > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > > > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
