dev@glassfish.java.net

admin/util/osgi.bundle change review request - for 3.1 ms 8

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Wed, 15 Dec 2010 17:59:32 -0600

Hi.

The proposed change fixes the current problem reported in JIRA 15192.

admin/util has a "provided" dependency on security/core..."provided"
was suggested IIRC to keep the security module and its downstream
dependencies out of the nucleus distribution. At the time, though, I
neglected to make sure the dependency would be resolved dynamically,
since the code that actually requires the dependency should not
execute in the nucleus - only in the glassfish distribution.

This change makes the dependency dynamic instead. With this change in
my workspace the nucleus start-up no longer fails trying to locate the
security module (which is not present).

Thanks.

- Tim

Index: admin/util/osgi.bundle
===================================================================
--- admin/util/osgi.bundle (revision 43878)
+++ admin/util/osgi.bundle (working copy)
@@ -45,3 +45,5 @@
                          com.sun.enterprise.admin.util.jmx; \
                          com.sun.enterprise.admin.util.proxy; \
                          com.sun.enterprise.admin.util.test; version=$
{project.osgi.version}
+DynamicImport-Package: \
+ com.sun.enterprise.security.ssl