Rajini Sivaram wrote:
On 8/29/08, *Raymond Feng* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Great!
Worth to point out is that [1] can preprocess the 3rd party jars to
be OSGi bundles instead of on-the-fly conversion during runtime.
Based on the discussion in one of the other threads, I would also like
to point out that the manifest entries of Tuscany modules are also
modified by tuscany-maven-bundle-plugin to introduce versioning. So for
creating distributions, it will be good if you can use both Tuscany
modules and 3rd party jars generated by tuscany-maven-bundle-plugin.
Here's what I'm going to try:
a) put the right versioning in the Tuscany modules when they are built,
to avoid having to post-process them;
b) derive the OSGi metadata from 3rd party jars on the fly from their
Maven metadata, to not require two copies of these JARs;
c) do (b) in a
org.eclipse.osgi.baseadaptor.hooks.BundleFileWrapperFactoryHook, to
avoid having to read/rewrite/read the whole JAR in memory like we
currently do.
--
Jean-Sebastien