Author: doogie
Date: Sun Jun 26 02:49:57 2011
New Revision: 1139692
URL:
http://svn.apache.org/viewvc?rev=1139692&view=revLog:
FIX: Filter out hidden library files(and prevent recursing into hidden
folders).
Modified:
ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Config.java
Modified: ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Config.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Config.java?rev=1139692&r1=1139691&r2=1139692&view=diff==============================================================================
--- ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Config.java (original)
+++ ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Config.java Sun Jun 26 02:49:57 2011
@@ -270,6 +270,9 @@ public class Config {
File files[] = libDir.listFiles();
for (File file: files) {
String fileName = file.getName();
+ if (file.isHidden()) {
+ continue;
+ }
// FIXME: filter out other files?
if (file.isDirectory() && !"CVS".equals(fileName) && !".svn".equals(fileName) && recurse) {
loadLibs(classPath, file.getCanonicalPath(), recurse);