You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2006/04/22 00:12:37 UTC
svn commit: r396018 -
/geronimo/branches/1.1/modules/system/src/java/org/apache/geronimo/system/sharedlib/SharedLib.java
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);