activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r522570 - in /activemq/camel/trunk/camel-script: pom.xml src/test/java/org/apache/camel/builder/script/Jsr223Test.java
Date Mon, 26 Mar 2007 16:47:23 GMT
Author: chirino
Date: Mon Mar 26 09:47:22 2007
New Revision: 522570

URL: http://svn.apache.org/viewvc?view=rev&rev=522570
Log:
Use the latest version of the 223 engine for groovy

Modified:
    activemq/camel/trunk/camel-script/pom.xml
    activemq/camel/trunk/camel-script/src/test/java/org/apache/camel/builder/script/Jsr223Test.java

Modified: activemq/camel/trunk/camel-script/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-script/pom.xml?view=diff&rev=522570&r1=522569&r2=522570
==============================================================================
--- activemq/camel/trunk/camel-script/pom.xml (original)
+++ activemq/camel/trunk/camel-script/pom.xml Mon Mar 26 09:47:22 2007
@@ -32,6 +32,15 @@
   <name>Camel :: Script</name>
   <description>Camel Script support</description>
 
+  <repositories>
+    <!-- So we can download the jsr 233 stuff -->
+    <repository>
+      <id>logicblaze.all</id>
+      <name>LogicBlaze Repository</name>
+      <url>http://repo.logicblaze.com/maven2-all</url>
+    </repository>
+  </repositories>
+
   <dependencies>
 
     <dependency>
@@ -72,7 +81,7 @@
     <dependency>
       <groupId>com.sun.script</groupId>
       <artifactId>groovy-engine</artifactId>
-      <version>20070112</version>
+      <version>20070316</version>
       <scope>test</scope>
     </dependency>
 

Modified: activemq/camel/trunk/camel-script/src/test/java/org/apache/camel/builder/script/Jsr223Test.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-script/src/test/java/org/apache/camel/builder/script/Jsr223Test.java?view=diff&rev=522570&r1=522569&r2=522570
==============================================================================
--- activemq/camel/trunk/camel-script/src/test/java/org/apache/camel/builder/script/Jsr223Test.java
(original)
+++ activemq/camel/trunk/camel-script/src/test/java/org/apache/camel/builder/script/Jsr223Test.java
Mon Mar 26 09:47:22 2007
@@ -28,8 +28,7 @@
 public class Jsr223Test extends TestCase {
     public void testLanguageNames() throws Exception {
         ScriptEngineManager manager = new ScriptEngineManager();
-        ScriptEngineFactory[] factories = manager.getEngineFactories();
-        for (ScriptEngineFactory factory : factories) {
+        for (ScriptEngineFactory factory : manager.getEngineFactories()) {
             System.out.println("Factory: " + factory.getNames() + " " + factory.getEngineName());
         }
     }



Mime
View raw message