felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aldana@gmx.de" <ald...@gmx.de>
Subject maven-bundle-plugin: encapsulate-jar vs. deep-extract
Date Tue, 11 Sep 2007 12:40:26 GMT
hi,

when building a bundle dependency-jars get extracted and class files get 
copied respective to package structure

mainBundleJar:
  -own/classes
  -external/libClasses

this approach works, but it hinders when wanting to get an overview, 
which libraries are included and licence-information+resources are 
spread around everywhere.  that's when working with external libraries i 
think the best is to include it as a encapsulated jar like:

mainBundleJar:
  -own/classes
  -externalLibrary1.jar
  -externalLibrary2.jar
  -META-INF/<ManifestTellingToIncludeEncapsulatedJarsToClasspath.mf>
 
i know with standard classLoader this encapsulated jars are not 
supported, but through a custom classLoader (as OSGI uses its own, too) 
this could be done.
so is it possible to provide inner jars with maven-bundle-plugin or does 
this layout not conform to OSGI spec anyway, so cannot be implemented?

thanks.

--
 manuel aldana
 aldana@gmx.de
 www.aldana-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message