jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r588706 - in /jakarta/bsf/trunk/bsf3: ./ bsf-api/ bsf-engines/ bsf-utils/ distribution/ testing/ testing/e4x/ testing/groovy/ testing/groovy/src/test/java/org/apache/bsf/testing/groovy/ testing/javascript/ testing/javascript/src/test/java/o...
Date Fri, 26 Oct 2007 16:42:25 GMT
Author: antelder
Date: Fri Oct 26 09:42:24 2007
New Revision: 588706

URL: http://svn.apache.org/viewvc?rev=588706&view=rev
Log:
Change trunk version to be 3.0-SNAPSHOT as thats what the trunk code is currently working
towards, update test code for the recent addition of NoSuchMethodException on the Invocable
interface, fix Groovy dependency as a duff pom.xml got added to the groovy repo, and add some
missing dependencies used in the Ant build tasks. The trunk code should now be building ok

Added:
    jakarta/bsf/trunk/bsf3/testing/pom.xml   (with props)
Modified:
    jakarta/bsf/trunk/bsf3/bsf-api/pom.xml
    jakarta/bsf/trunk/bsf3/bsf-engines/build.xml
    jakarta/bsf/trunk/bsf3/bsf-engines/pom.xml
    jakarta/bsf/trunk/bsf3/bsf-utils/pom.xml
    jakarta/bsf/trunk/bsf3/distribution/build.xml
    jakarta/bsf/trunk/bsf3/distribution/pom.xml
    jakarta/bsf/trunk/bsf3/pom.xml
    jakarta/bsf/trunk/bsf3/testing/e4x/pom.xml
    jakarta/bsf/trunk/bsf3/testing/groovy/pom.xml
    jakarta/bsf/trunk/bsf3/testing/groovy/src/test/java/org/apache/bsf/testing/groovy/GroovyTestcase.java
    jakarta/bsf/trunk/bsf3/testing/javascript/pom.xml
    jakarta/bsf/trunk/bsf3/testing/javascript/src/test/java/org/apache/bsf/testing/javascript/JavaScriptTestcase.java
    jakarta/bsf/trunk/bsf3/testing/python/pom.xml
    jakarta/bsf/trunk/bsf3/testing/python/src/test/java/org/apache/bsf/testing/python/HelloTestCase.java
    jakarta/bsf/trunk/bsf3/testing/ruby/pom.xml
    jakarta/bsf/trunk/bsf3/testing/ruby/src/test/java/org/apache/bsf/testing/javascript/RubyTestcase.java

Modified: jakarta/bsf/trunk/bsf3/bsf-api/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/bsf-api/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/bsf-api/pom.xml Fri Oct 26 09:42:24 2007
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

Modified: jakarta/bsf/trunk/bsf3/bsf-engines/build.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-engines/build.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/bsf-engines/build.xml (original)
+++ jakarta/bsf/trunk/bsf3/bsf-engines/build.xml Fri Oct 26 09:42:24 2007
@@ -19,7 +19,7 @@
 -->
 <project name="Engine-Installer">
 
-    <property name="bsf.version" value="3.0-beta1-SNAPSHOT"/>
+    <property name="bsf.version" value="3.0-SNAPSHOT"/>
     <property name="download.dir" value="/target/engines-download/"/>
     <property name="download.file" value="${basedir}${download.dir}engines.zip"/>
     <property name="merged.engines.dir" value="${basedir}/target/merged-engines"/>

Modified: jakarta/bsf/trunk/bsf3/bsf-engines/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-engines/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/bsf-engines/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/bsf-engines/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -31,6 +31,31 @@
     <description>Apache BSF project to install 3rd party script engines</description>
 
     <dependencies>
+        <dependency>
+            <groupId>net.sourceforge.retroweaver</groupId>
+            <artifactId>retroweaver</artifactId>
+            <version>1.2.3</version>
+        </dependency>
+        <dependency>
+            <groupId>net.sourceforge.retroweaver</groupId>
+            <artifactId>retroweaver-rt</artifactId>
+            <version>1.2.3</version>
+        </dependency>
+        <dependency>
+            <groupId>asm</groupId>
+            <artifactId>asm</artifactId>
+            <version>2.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>asm</groupId>
+            <artifactId>asm-commons</artifactId>
+            <version>2.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>backport-util-concurrent</groupId>
+            <artifactId>backport-util-concurrent</artifactId>
+            <version>2.1</version>
+        </dependency>
     </dependencies>
 
     <build>

Modified: jakarta/bsf/trunk/bsf3/bsf-utils/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-utils/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/bsf-utils/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/bsf-utils/pom.xml Fri Oct 26 09:42:24 2007
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -35,13 +35,13 @@
       <dependency>
           <groupId>org.apache.bsf</groupId>
           <artifactId>bsf-api</artifactId>
-          <version>3.0-beta1-SNAPSHOT</version>
+          <version>3.0-SNAPSHOT</version>
           <scope>compile</scope>
        </dependency>
       <dependency>
           <groupId>org.apache.bsf</groupId>
           <artifactId>bsf-engines</artifactId>
-          <version>3.0-beta1-SNAPSHOT</version>
+          <version>3.0-SNAPSHOT</version>
           <scope>compile</scope>
        </dependency>
 
@@ -65,8 +65,8 @@
         </dependency>
         <dependency>
             <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx</artifactId>
-            <version>asl-3.2.0</version>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.0</version>
           <scope>compile</scope>
         </dependency>
         <dependency>

Modified: jakarta/bsf/trunk/bsf3/distribution/build.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/distribution/build.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/distribution/build.xml (original)
+++ jakarta/bsf/trunk/bsf3/distribution/build.xml Fri Oct 26 09:42:24 2007
@@ -22,14 +22,14 @@
 
 <project name="Create-bsf-all">
 
-    <property name="bsf.version" value="3.0-beta1-SNAPSHOT"/>
+    <property name="bsf.version" value="3.0-SNAPSHOT"/>
 
     <target name="create-bsf-all">
 
         <mkdir dir="${basedir}\target\bsf-all"/>
-        <unzip src="${localRepository}/org/apache/bsf/bsf-api/3.0-beta1-SNAPSHOT/bsf-api-3.0-beta1-SNAPSHOT.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
-        <unzip src="${localRepository}/org/apache/bsf/bsf-engines/3.0-beta1-SNAPSHOT/bsf-engines-3.0-beta1-SNAPSHOT.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
-        <unzip src="${localRepository}/org/apache/bsf/bsf-utils/3.0-beta1-SNAPSHOT/bsf-utils-3.0-beta1-SNAPSHOT.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
+        <unzip src="${localRepository}/org/apache/bsf/bsf-api/${bsf.version}/bsf-api-${bsf.version}.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
+        <unzip src="${localRepository}/org/apache/bsf/bsf-engines/${bsf.version}/bsf-engines-${bsf.version}.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
+        <unzip src="${localRepository}/org/apache/bsf/bsf-utils/${bsf.version}/bsf-utils-${bsf.version}.jar"
dest="${basedir}\target\bsf-all" overwrite="false"/>
 
         <copy file="${basedir}/src/bin/LICENSE" tofile="${basedir}\target\bsf-all\LICENSE"
overwrite="true" />
         <copy file="${basedir}/src/bin/NOTICE" tofile="${basedir}\target\bsf-all\NOTICE"
overwrite="true" />

Modified: jakarta/bsf/trunk/bsf3/distribution/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/distribution/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/distribution/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/distribution/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

Modified: jakarta/bsf/trunk/bsf3/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/pom.xml Fri Oct 26 09:42:24 2007
@@ -25,7 +25,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.bsf</groupId>
     <artifactId>parent</artifactId>
-    <version>3.0-beta1-SNAPSHOT</version>
+    <version>3.0-SNAPSHOT</version>
 
     <name>Apache BSF</name>
     <description>Apache BSF</description>
@@ -34,7 +34,7 @@
     <url>http://jakarta.apache.org/bsf/</url>
 
     <properties>
-        <bsf.version>3.0-beta1-SNAPSHOT</bsf.version>
+        <bsf.version>3.0-SNAPSHOT</bsf.version>
     </properties>
 
     <issueManagement>
@@ -208,10 +208,7 @@
         <module>bsf-engines</module>
         <module>bsf-utils</module>
         <module>distribution</module>
-        <module>testing/javascript</module>
-        <module>testing/ruby</module>
-        <module>testing/python</module>
-        <module>testing/e4x</module>
+        <module>testing</module>
     </modules>
 
 </project>

Modified: jakarta/bsf/trunk/bsf3/testing/e4x/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/e4x/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/e4x/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/testing/e4x/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -57,7 +57,7 @@
         <dependency>
             <groupId>org.apache.bsf</groupId>
             <artifactId>bsf-all</artifactId>
-            <version>3.0-beta1-SNAPSHOT</version>
+            <version>3.0-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
 

Modified: jakarta/bsf/trunk/bsf3/testing/groovy/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/groovy/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/groovy/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/testing/groovy/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -35,13 +35,107 @@
         <dependency>
             <groupId>org.apache.bsf</groupId>
             <artifactId>bsf-all</artifactId>
-            <version>3.0-beta1-SNAPSHOT</version>
+            <version>3.0-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
            <groupId>groovy</groupId>
            <artifactId>groovy-all</artifactId>
            <version>1.0</version>
+           <exclusions>
+                <exclusion>
+                    <groupId>xerces</groupId>
+                    <artifactId>xerces</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-cli</groupId>
+                    <artifactId>commons-cli</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>ant</groupId>
+                    <artifactId>ant-junit</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>ant</groupId>
+                    <artifactId>ant-launcher</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>junit</groupId>
+                    <artifactId>junit</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>jmock</groupId>
+                    <artifactId>jmock</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>jmock</groupId>
+                    <artifactId>jmock-cglib</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cglib</groupId>
+                    <artifactId>cglib-nodep</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>bsf</groupId>
+                    <artifactId>bsf</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>mx4j</groupId>
+                    <artifactId>mx4j</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>openejb</groupId>
+                    <artifactId>openejb-loader</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>axion</groupId>
+                    <artifactId>axion</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-primitives</groupId>
+                    <artifactId>commons-primitives</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>regexp</groupId>
+                    <artifactId>regexp</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.servlet</groupId>
+                    <artifactId>servlet-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>radeox</groupId>
+                    <artifactId>radeox</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>radeox</groupId>
+                    <artifactId>radeox-oro</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>nekohtml</groupId>
+                    <artifactId>nekohtml</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>qdox</groupId>
+                    <artifactId>qdox</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>xstream</groupId>
+                    <artifactId>xstream</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>qdox</groupId>
+                    <artifactId>qdox</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>xpp3</groupId>
+                    <artifactId>xpp3</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.tonicsystems</groupId>
+                    <artifactId>jarjar</artifactId>
+                </exclusion>
+            </exclusions>           
         </dependency>
         <dependency>
             <groupId>junit</groupId>

Modified: jakarta/bsf/trunk/bsf3/testing/groovy/src/test/java/org/apache/bsf/testing/groovy/GroovyTestcase.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/groovy/src/test/java/org/apache/bsf/testing/groovy/GroovyTestcase.java?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/groovy/src/test/java/org/apache/bsf/testing/groovy/GroovyTestcase.java
(original)
+++ jakarta/bsf/trunk/bsf3/testing/groovy/src/test/java/org/apache/bsf/testing/groovy/GroovyTestcase.java
Fri Oct 26 09:42:24 2007
@@ -30,7 +30,7 @@
  */
 public class GroovyTestcase extends TestCase {
 	
-	public void testInvokeFunction() throws ScriptException {
+	public void testInvokeFunction() throws ScriptException, NoSuchMethodException {
 		ScriptEngineManager manager = new ScriptEngineManager();
 		ScriptEngine engine = manager.getEngineByExtension("groovy");
 		engine.eval("def hello(name) { return 'Hello ' + name }" );

Modified: jakarta/bsf/trunk/bsf3/testing/javascript/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/javascript/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/javascript/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/testing/javascript/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -35,7 +35,7 @@
         <dependency>
             <groupId>org.apache.bsf</groupId>
             <artifactId>bsf-all</artifactId>
-            <version>3.0-beta1-SNAPSHOT</version>
+            <version>3.0-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
         <dependency>

Modified: jakarta/bsf/trunk/bsf3/testing/javascript/src/test/java/org/apache/bsf/testing/javascript/JavaScriptTestcase.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/javascript/src/test/java/org/apache/bsf/testing/javascript/JavaScriptTestcase.java?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/javascript/src/test/java/org/apache/bsf/testing/javascript/JavaScriptTestcase.java
(original)
+++ jakarta/bsf/trunk/bsf3/testing/javascript/src/test/java/org/apache/bsf/testing/javascript/JavaScriptTestcase.java
Fri Oct 26 09:42:24 2007
@@ -35,7 +35,7 @@
 		assertFalse(((Boolean)engine.eval("false;")).booleanValue());
 	}
 
-	public void testInvokeFunction() throws ScriptException {
+	public void testInvokeFunction() throws ScriptException, NoSuchMethodException {
 		ScriptEngineManager manager = new ScriptEngineManager();
 		ScriptEngine engine = manager.getEngineByExtension("js");
 		engine.eval("function hello(s) { return 'Hello ' + s; }" );
@@ -44,7 +44,7 @@
 		assertEquals("Hello petra", invocableScript.invokeFunction("hello", new Object[]{"petra"}));
 	}
 
-	public void testInvokeMethod() throws ScriptException {
+	public void testInvokeMethod() throws ScriptException, NoSuchMethodException {
 		ScriptEngineManager manager = new ScriptEngineManager();
 		ScriptEngine engine = manager.getEngineByExtension("js");
 		engine.eval("function hello(s) { return 'Hello ' + s; }" );

Added: jakarta/bsf/trunk/bsf3/testing/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/pom.xml?rev=588706&view=auto
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/pom.xml (added)
+++ jakarta/bsf/trunk/bsf3/testing/pom.xml Fri Oct 26 09:42:24 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.bsf</groupId>
+        <artifactId>parent</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>bsf-tests</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache BSF Tests</name>
+
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <modules>
+                <module>e4x</module>
+                <module>groovy</module>
+                <module>javascript</module>
+                <module>python</module>
+                <module>ruby</module>
+            </modules>
+        </profile>
+
+    </profiles>
+    
+</project>

Propchange: jakarta/bsf/trunk/bsf3/testing/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/bsf/trunk/bsf3/testing/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: jakarta/bsf/trunk/bsf3/testing/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: jakarta/bsf/trunk/bsf3/testing/python/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/python/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/python/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/testing/python/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -46,7 +46,7 @@
         <dependency>
             <groupId>org.apache.bsf</groupId>
             <artifactId>bsf-all</artifactId>
-            <version>3.0-beta1-SNAPSHOT</version>
+            <version>3.0-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
         <dependency>

Modified: jakarta/bsf/trunk/bsf3/testing/python/src/test/java/org/apache/bsf/testing/python/HelloTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/python/src/test/java/org/apache/bsf/testing/python/HelloTestCase.java?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/python/src/test/java/org/apache/bsf/testing/python/HelloTestCase.java
(original)
+++ jakarta/bsf/trunk/bsf3/testing/python/src/test/java/org/apache/bsf/testing/python/HelloTestCase.java
Fri Oct 26 09:42:24 2007
@@ -30,7 +30,7 @@
  */
 public class HelloTestCase extends TestCase {
 
-	public void testInvokeFunction() throws ScriptException {
+	public void testInvokeFunction() throws ScriptException, NoSuchMethodException {
 		ScriptEngineManager manager = new ScriptEngineManager();
 		ScriptEngine engine = manager.getEngineByExtension("py");
 		engine.eval("def hello(name):\n return 'Hello ' + name");

Modified: jakarta/bsf/trunk/bsf3/testing/ruby/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/ruby/pom.xml?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/ruby/pom.xml (original)
+++ jakarta/bsf/trunk/bsf3/testing/ruby/pom.xml Fri Oct 26 09:42:24 2007
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.bsf</groupId>
         <artifactId>parent</artifactId>
-        <version>3.0-beta1-SNAPSHOT</version>
+        <version>3.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -35,7 +35,7 @@
         <dependency>
             <groupId>org.apache.bsf</groupId>
             <artifactId>bsf-all</artifactId>
-            <version>3.0-beta1-SNAPSHOT</version>
+            <version>3.0-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
         <dependency>

Modified: jakarta/bsf/trunk/bsf3/testing/ruby/src/test/java/org/apache/bsf/testing/javascript/RubyTestcase.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/testing/ruby/src/test/java/org/apache/bsf/testing/javascript/RubyTestcase.java?rev=588706&r1=588705&r2=588706&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/testing/ruby/src/test/java/org/apache/bsf/testing/javascript/RubyTestcase.java
(original)
+++ jakarta/bsf/trunk/bsf3/testing/ruby/src/test/java/org/apache/bsf/testing/javascript/RubyTestcase.java
Fri Oct 26 09:42:24 2007
@@ -35,7 +35,7 @@
 //		assertFalse(((Boolean)engine.eval("false;")).booleanValue());
 //	}
 
-	public void testInvokeFunction() throws ScriptException {
+	public void testInvokeFunction() throws ScriptException, NoSuchMethodException {
 		ScriptEngineManager manager = new ScriptEngineManager();
 		ScriptEngine engine = manager.getEngineByExtension("rb");
 		engine.eval("def hello(s)\n   return \"Hello \" + s\nend" );



---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message