You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xu...@apache.org on 2011/02/15 06:00:50 UTC
svn commit: r1070777 -
/geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
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());