Message-ID: <1111116653.11203.1406572475192.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_11202_666914278.1406572475191" ------=_Part_11202_666914278.1406572475191 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
If you are using MAVEN, add this entry to your POM file:
(Replace '2.7.5' with the very latest version of JANINO.)
If you are not using MAVEN, do the following instead:
You will find the Janino JAR files, the s= ource code ZIP files, the text of the BSD license, and a README file.
If you're using an IDE like ECLIPSE, you can optionally have "commo= ns-compiler-src.zip" as the source attachment of "commons-compile= r.jar", and "janino-src.zip" as the source attachment of &qu= ot;janino.jar". That'll get you tooltip JAVADOC and source level debug= ging into the JANINO libraries.
Use one of the features, e.g. the "expression evaluator", in y= our program:
Compile, run, ... be happy!
The ShippingCost class demonstrates how easy i= t is to use Janino as an expression evaluator.
The ExpressionDemo class implements a comman= d line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-b= ased test environment for the script evaluator.
The ClassBodyDemo class implements a command = line-based test environment for the class body evaluator.
The DeclarationCounter class implements= a command-line utility that counts class, interface, field and local varia= ble declarations in a set of JavaTM source files.