summaryrefslogtreecommitdiff
path: root/rhino
diff options
context:
space:
mode:
authorTomas O'Connor <toconnor@openoffice.org>2003-11-28 14:11:52 +0000
committerTomas O'Connor <toconnor@openoffice.org>2003-11-28 14:11:52 +0000
commitbabff10c4f33803030aca35e2bd82dd6c657c624 (patch)
tree5d48e637f329e4c7df540c9e016b8f50a2a21a98 /rhino
parent1d704138545c3ed840976c320067f029076788ab (diff)
#i16574# - Add Rhino and BeanShell jar files to OpenOffice.org external
project. A modified Main.java source file is included for Rhino which is rebuilt and repackaged into the Rhino jar file.
Diffstat (limited to 'rhino')
-rwxr-xr-xrhino/README12
-rwxr-xr-xrhino/makefile.mk70
-rw-r--r--rhino/prj/build.lst3
-rw-r--r--rhino/prj/d.lst1
4 files changed, 86 insertions, 0 deletions
diff --git a/rhino/README b/rhino/README
new file mode 100755
index 000000000000..6ab0cbdcf735
--- /dev/null
+++ b/rhino/README
@@ -0,0 +1,12 @@
+The Scripting Framework makes use of the Rhino (http://www.mozilla.org/rhino/)
+JavaScript interpreter, available under the Mozilla Public License
+(http://www.mozilla.org/MPL/MPL-1.1.html).
+
+In addition, to support the debugging of scripts contained in OpenOffice.org
+documents, we have modified the Java source file Main.java.
+
+The modified source code is rebuilt and repackaged in the Rhino js.jar file
+before being deliver to the OpenOffice.org solver. The modified source is
+also available from the OpenOffice.org website at:
+
+http://framework.openoffice.org/source/browse/framework/scripting/examples/java/debugger/rhino/Main.java
diff --git a/rhino/makefile.mk b/rhino/makefile.mk
new file mode 100755
index 000000000000..35fd8b707e78
--- /dev/null
+++ b/rhino/makefile.mk
@@ -0,0 +1,70 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1 $
+#
+# last change: $Author: toconnor $ $Date: 2003-11-28 15:11:49 $
+#
+# The Contents of this file are made available subject to the terms of
+# either of the following licenses
+#
+# - GNU Lesser General Public License Version 2.1
+# - Sun Industry Standards Source License Version 1.1
+#
+# Sun Microsystems Inc., October, 2000
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2000 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#
+# Sun Industry Standards Source License Version 1.1
+# =================================================
+# The contents of this file are subject to the Sun Industry Standards
+# Source License Version 1.1 (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.openoffice.org/license.html.
+#
+# Software provided under this License is provided on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+# See the License for the specific provisions governing your rights and
+# obligations concerning the Software.
+#
+# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+#
+# Copyright: 2000 by Sun Microsystems, Inc.
+#
+# All Rights Reserved.
+#
+# Contributor(s): _______________________________________
+#
+#
+#
+#*************************************************************************
+
+PRJ=.
+PRJNAME=so_rhino
+TARGET=so_rhino
+
+.INCLUDE : ant.mk
+
+ALLTAR : ANTBUILD
+
diff --git a/rhino/prj/build.lst b/rhino/prj/build.lst
new file mode 100644
index 000000000000..d23bc3660d7e
--- /dev/null
+++ b/rhino/prj/build.lst
@@ -0,0 +1,3 @@
+xh rhino : soltools NULL
+xh rhino usr1 - all xh_mkout NULL
+xh rhino nmake - all xh_rhino NULL
diff --git a/rhino/prj/d.lst b/rhino/prj/d.lst
new file mode 100644
index 000000000000..066fda3592ab
--- /dev/null
+++ b/rhino/prj/d.lst
@@ -0,0 +1 @@
+..\%__SRC%\class\js-1.5R4.1.jar %_DEST%\bin%_EXT%\js.jar