geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1070777 - /geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Date Tue, 15 Feb 2011 05:00:50 GMT
Author: xuhaihong
Date: Tue Feb 15 05:00:50 2011
New Revision: 1070777

URL: http://svn.apache.org/viewvc?rev=1070777&view=rev
Log:
This is a workaround for RAR module, and will be deleted once the connector refactoring is
done by David

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=1070777&r1=1070776&r2=1070777&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
Tue Feb 15 05:00:50 2011
@@ -559,6 +559,10 @@ public class DeploymentContext {
         //TODO Import package calculation is only used for deployed applications, should
be use the same way for car package later
         if (System.getProperty("geronimo.build.car") == null) {
             osgiMetaDataBuilder = new OSGiMetaDataBuilder(bundleContext);
+            //Hack Codes Here For RAR module, will remove while the connector refactoring
is done
+            if (configuration.getModuleType() == ConfigurationModuleType.RAR) {
+                environment.addDynamicImportPackage("*");
+            }
         } else {
             LinkedHashSet<String> imports = getImports(gbeans);
             addImport(imports, environment.getBundleActivator());



Mime
View raw message