You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/10/21 17:09:31 UTC

svn commit: r706653 - /geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/Configuration.java

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());
             }