You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xi...@apache.org on 2012/05/17 11:30:14 UTC

svn commit: r1339531 - /geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Author: xiaming
Date: Thu May 17 09:30:14 2012
New Revision: 1339531

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

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

Modified: geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=1339531&r1=1339530&r2=1339531&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java Thu May 17 09:30:14 2012
@@ -1150,7 +1150,8 @@ 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("-", ".") //need improve the version processing
+                    + "&DynamicImport-Package=*"); 
             InputStream in = null;
             try {
                 in = wrap.openStream();