On Fri, Apr 6, 2012 at 8:41 AM, Thomas Watson <[email protected]> wrote:
> Please open a bug as Pascal suggests. What configuration property are you > using to configure in the system packages? There are two available: > I understand. Will do! > org.osgi.framework.system.packages - This is intended to be filled in > automatically by the framework according the the VM class library the > framework is running on (e.g JavaSE 5 vs JavaSE 6). I would not touch this > configuration property and just let the framework calculate it. > > org.osgi.framework.system.packages.extra - This is intended to append > additional packages which your embedded environment may be providing to the > framework. This is where I would recommend you place your extra packages. > Correct, and I'm using Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA as suggested by the OSGi documentation. > Another option is to install a system bundle fragment which > is just an empty fragment to the system.bundle, all it contains is a bundle > manifest that declares the extra packages the system bundle should export > in your embedded environment. This seems like a potentially sensible approach but turns a configurable situation into a hard coded one. The intention of the system "property" is that it can be changed according to needs without having to recompile, while a fragment bundle would have to hard code the list unless the fragment itself is created dynamically which would just seem like a hack. -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> <http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay, Inc.* <http://www.liferay.com> <https://twitter.com/#!/liferay> --- 25 Apr 2012 | Liferay Nordic Symposium | liferay.com/nordic2012 NEW! 17 May 2012 | Liferay Budapest Symposium | liferay.com/budapest2012 23 May 2012 | Liferay France Symposium | liferay.com/france2012
_______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
