geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1229043 - /geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java
Date Mon, 09 Jan 2012 07:32:36 GMT
Author: xuhaihong
Date: Mon Jan  9 07:32:36 2012
New Revision: 1229043

URL: http://svn.apache.org/viewvc?rev=1229043&view=rev
Log:
GERONIMO-6254 Allow dynamic * is added in the shared lib bundle

Modified:
    geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java

Modified: geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java?rev=1229043&r1=1229042&r2=1229043&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java
(original)
+++ geronimo/server/branches/3.0-beta/plugins/sharedlib/geronimo-sharedlib/src/main/java/org/apache/geronimo/system/sharedlib/SharedLib.java
Mon Jan  9 07:32:36 2012
@@ -132,11 +132,11 @@ public class SharedLib implements GBeanL
         if (dynamicImportPackages != null) {
             List<HeaderElement> headerElements = HeaderParser.parseHeader(dynamicImportPackages);
             //From shared library perspective, dynamic * should not be used
-            for (Iterator<HeaderElement> it = headerElements.iterator(); it.hasNext();)
{
+            /*for (Iterator<HeaderElement> it = headerElements.iterator(); it.hasNext();)
{
                 if (it.next().getName().equals("*")) {
                     it.remove();
                 }
-            }
+            }*/
             if (headerElements.size() > 0) {
                 manifest.addConfiguredAttribute(new Manifest.Attribute(Manifest.Attribute.Separator.COMMA,
Constants.DYNAMICIMPORT_PACKAGE, HeaderBuilder.build(headerElements)));
             }



Mime
View raw message