geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r500717 - /geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy
Date Sun, 28 Jan 2007 00:58:32 GMT
Author: jdillon
Date: Sat Jan 27 16:58:31 2007
New Revision: 500717

URL: http://svn.apache.org/viewvc?view=rev&rev=500717
Log:
Try to load fully qualified classnames

Modified:
    geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy

Modified: geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy?view=diff&rev=500717&r1=500716&r2=500717
==============================================================================
--- geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy (original)
+++ geronimo/sandbox/build-support/harness/trunk/lib/buildharness/BuildHarness.groovy Sat
Jan 27 16:58:31 2007
@@ -62,7 +62,14 @@
         
         println "Command: ${name}"
         
-        def command = shell.evaluate("new ${COMMANDS_PACKAGE}.${name}()")
+        def command
+        try {
+            command = shell.evaluate("new ${COMMANDS_PACKAGE}.${name}()")
+        }
+        catch (Exception e) {
+            command = shell.evaluate("new ${name}()")
+        }
+        
         println "Command instance: ${command}"
         
         // Dump the environemnt



Mime
View raw message