1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/lang/rhino/files/rhinoc.in
Nicola Vitale 8af73cca41 Rhino is an open-source implementation of JavaScript written entirely
in Java. It is typically embedded into Java applications to provide
scripting to end users.

Rhino is an implementation of the core language only and doesn't contain
objects or methods for manipulating HTML documents.

Rhino contains

    * All the features of JavaScript 1.6
    * Allows direct scripting of Java
    * A JavaScript shell for executing JavaScript scripts
    * A JavaScript compiler to transform JavaScript source files
      into Java class files
    * A JavaScript debugger for scripts executed with Rhino

WWW:	http://www.mozilla.org/rhino/
2008-01-27 23:10:45 +00:00

7 lines
160 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Rhino compiler
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "%%RHINOJAR%%" org.mozilla.javascript.tools.jsc.Main $@