geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1339530 - /geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Date Thu, 17 May 2012 09:27:07 GMT
Author: xiaming
Date: Thu May 17 09:27:07 2012
New Revision: 1339530

URL: http://svn.apache.org/viewvc?rev=1339530&view=rev
Log:
GERONIMO-6353 Add "DynamicImport-Package: *" when using install-bundle command to transform
a jar into a bundle

Modified:
    geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Modified: geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=1339530&r1=1339529&r2=1339530&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
(original)
+++ geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Thu May 17 09:27:07 2012
@@ -1154,7 +1154,7 @@ public class PluginInstallerGBean implem
             // convert to osgi bundle jars using wrap url handler
             URL wrap = new URL("wrap", null, libFile.toURI().toURL().toExternalForm() 
                     + "$Bundle-SymbolicName=" + artifact.getArtifactId() 
-                    + "&Bundle-Version=" + artifact.getVersion().toString().replace("-",
".")); //need improve the version processing
+                    + "&Bundle-Version=" + artifact.getVersion().toString().replace("-",
".")+"&DynamicImport-Package=*"); //need improve the version processing
             InputStream in = null;
             try {
                 in = wrap.openStream();



Mime
View raw message