geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r496706 - /geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
Date Tue, 16 Jan 2007 14:30:50 GMT
Author: sppatel
Date: Tue Jan 16 06:30:48 2007
New Revision: 496706

URL: http://svn.apache.org/viewvc?view=rev&rev=496706
Log:
need to filter out .jar files to add to ear classloader

Modified:
    geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java

Modified: geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java?view=diff&rev=496706&r1=496705&r2=496706
==============================================================================
--- geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
Tue Jan 16 06:30:48 2007
@@ -522,7 +522,7 @@
                             break;
                         }
                     }
-                    if(libDir != null && entry.getName().startsWith(libDir)) {
+                    if(libDir != null && entry.getName().startsWith(libDir) &&
entry.getName().endsWith(".jar")) {
             			NestedJarFile library = new NestedJarFile(earFile, entry.getName());
                         earContext.addIncludeAsPackedJar(URI.create(entry.getName()), library);
                     } else if(addEntry) {



Mime
View raw message