geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1061685 - /geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Date Fri, 21 Jan 2011 08:49:35 GMT
Author: xuhaihong
Date: Fri Jan 21 08:49:35 2011
New Revision: 1061685

URL: http://svn.apache.org/viewvc?rev=1061685&view=rev
Log:
Make hidden class work in the deployment process

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java?rev=1061685&r1=1061684&r2=1061685&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Fri Jan 21 08:49:35 2011
@@ -241,6 +241,12 @@ public class DeploymentContext {
         env.setBundleActivator(null);
         env.addDynamicImportPackage("*");
 
+        OSGiMetaDataBuilder osgiMetaDataBuilder = new OSGiMetaDataBuilder(bundleContext,
new DummyExportPackagesSelector());
+        try {
+            osgiMetaDataBuilder.build(env);
+        } catch (IllegalConfigurationException e) {
+            throw new DeploymentException(e);
+        }
         Manifest manifest;
         try {
             manifest = env.getManifest();



Mime
View raw message