geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r396018 - /geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java
Date Fri, 21 Apr 2006 22:12:37 GMT
Author: djencks
Date: Fri Apr 21 15:12:34 2006
New Revision: 396018

URL: http://svn.apache.org/viewcvs?rev=396018&view=rev
Log:
GERONIMO-1890 make shared libs recognize zips

Modified:
    geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java

Modified: geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java?rev=396018&r1=396017&r2=396018&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java
(original)
+++ geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java
Fri Apr 21 15:12:34 2006
@@ -74,7 +74,7 @@
                 File[] files = dir.listFiles();
                 for (int j = 0; j < files.length; j++) {
                     File file = files[j];
-                    if (file.canRead() && file.getName().endsWith(".jar")) {
+                    if (file.canRead() && (file.getName().endsWith(".jar") || file.getName().endsWith(".zip")))
{
                         URL location = file.toURL();
                         if (!currentUrls.contains(location)) {
                             newUrls.add(location);



Mime
View raw message