geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r706653 - /geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java
Date Tue, 21 Oct 2008 15:09:31 GMT
Author: jdillon
Date: Tue Oct 21 08:09:30 2008
New Revision: 706653

URL: http://svn.apache.org/viewvc?rev=706653&view=rev
Log:
Complain if no lib/*.jar files were found

Modified:
    geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java

Modified: geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java?rev=706653&r1=706652&r2=706653&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java
(original)
+++ geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java
Tue Oct 21 08:09:30 2008
@@ -152,6 +152,10 @@
                 }
             });
 
+            if (files == null) {
+                throw new Error("No jars found under: " + libDir);
+            }
+            
             for (File file : files) {
                 classPath.add(file.toURI().toURL());
             }



Mime
View raw message