You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2009/09/19 11:43:24 UTC

svn commit: r816879 - in /incubator/shindig/trunk/features/bin: README Rhino_License js.jar runner.sh

Author: lindner
Date: Sat Sep 19 09:43:23 2009
New Revision: 816879

URL: http://svn.apache.org/viewvc?rev=816879&view=rev
Log:
use existing rhino in m2 repo for this hack

Removed:
    incubator/shindig/trunk/features/bin/Rhino_License
    incubator/shindig/trunk/features/bin/js.jar
Modified:
    incubator/shindig/trunk/features/bin/README
    incubator/shindig/trunk/features/bin/runner.sh

Modified: incubator/shindig/trunk/features/bin/README
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/bin/README?rev=816879&r1=816878&r2=816879&view=diff
==============================================================================
--- incubator/shindig/trunk/features/bin/README (original)
+++ incubator/shindig/trunk/features/bin/README Sat Sep 19 09:43:23 2009
@@ -1,8 +1,5 @@
-The Rhino js.jar version in this directory is 
-
-Rhino 1.7 release 1 2008 03 06
-
 The runner.sh script will run the javascript unit tests configured in src/test/javascript/features/alltests.js.
+It requires a version of rhino in your local m2 repository.
 
 It should be launched from the feature root directory,
 

Modified: incubator/shindig/trunk/features/bin/runner.sh
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/bin/runner.sh?rev=816879&r1=816878&r2=816879&view=diff
==============================================================================
--- incubator/shindig/trunk/features/bin/runner.sh (original)
+++ incubator/shindig/trunk/features/bin/runner.sh Sat Sep 19 09:43:23 2009
@@ -1,6 +1,23 @@
 #!/bin/sh
 
+# 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.
+
 # This script is designed to be run from the features module root directory.
 # It's very simple; feel free to make it more robust.
 
-java -cp ./bin/js.jar org.mozilla.javascript.tools.shell.Main src/test/javascript/features/alltests.js BatchTest OsapiTest JsonRpcTransportTest
+java -cp ~/.m2/repository//rhino/js/1.7R1/js-1.7R1.jar org.mozilla.javascript.tools.shell.Main src/test/javascript/features/alltests.js BatchTest OsapiTest JsonRpcTransportTest