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:27:07 UTC
svn commit: r1339530 -
/geronimo/server/branches/3.0-beta/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
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();