From 0a381d19213a7aa0043de973ece8ec96418038bd Mon Sep 17 00:00:00 2001 From: James Roseborough Date: Sat, 4 Sep 2010 17:02:14 +0000 Subject: [PATCH] Prepare for 2.0.1 --- README.html | 41 ++++++++++++++++++++--------------------- version.properties | 2 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/README.html b/README.html index f038e78b..f756b19c 100644 --- a/README.html +++ b/README.html @@ -16,7 +16,7 @@ Getting Started with LuaJ -James Roseborough, Ian Farmer, Version 2.0 +James Roseborough, Ian Farmer, Version 2.0.1

Copyright © 2009-2010 Luaj.org. @@ -106,7 +106,7 @@ in comparison with the standard C distribution. 16.794 11.274 Java - java -cp luaj-jse-2.0.jar;bcel-5.2.jar lua -b fannkuch.lua 10 + java -cp luaj-jse-2.0.1.jar;bcel-5.2.jar lua -b fannkuch.lua 10 @@ -116,7 +116,7 @@ in comparison with the standard C distribution. 16.701 13.789 - java -cp luaj-jse-2.0.jar lua -j fannkuch.lua 10 + java -cp luaj-jse-2.0.1.jar lua -j fannkuch.lua 10 @@ -126,7 +126,7 @@ in comparison with the standard C distribution. 36.894 15.163 - java -cp luaj-jse-2.0.jar lua -n fannkuch.lua 10 + java -cp luaj-jse-2.0.1.jar lua -n fannkuch.lua 10 lua 5.1.4 @@ -182,7 +182,7 @@ It is also faster than Java-lua implementations Jill, Kahlua, and Mochalua for a From the main distribution directory line type:

-	java -cp lib/luaj-jse-2.0.jar lua examples/lua/hello.lua
+	java -cp lib/luaj-jse-2.0.1.jar lua examples/lua/hello.lua
 

@@ -197,8 +197,8 @@ You should see the following output: From the main distribution directory line type:

-	java -cp lib/luaj-jse-2.0.jar luac examples/lua/hello.lua
-	java -cp lib/luaj-jse-2.0.jar lua luac.out
+	java -cp lib/luaj-jse-2.0.1.jar luac examples/lua/hello.lua
+	java -cp lib/luaj-jse-2.0.1.jar lua luac.out
 

@@ -210,9 +210,9 @@ The compiled output "luac.out" is lua bytecode and should run and produce the sa Luaj can compile to lua source code to Java source code:

-	java -cp lib/luaj-jse-2.0.jar lua2java -s examples/lua -d . hello.lua
-	javac -cp lib/luaj-jse-2.0.jar hello.java
-	java -cp "lib/luaj-jse-2.0.jar;." lua -l hello
+	java -cp lib/luaj-jse-2.0.1.jar lua2java -s examples/lua -d . hello.lua
+	javac -cp lib/luaj-jse-2.0.1.jar hello.java
+	java -cp "lib/luaj-jse-2.0.1.jar;." lua -l hello
 

@@ -223,7 +223,7 @@ There are no additional dependencies for compiling or running source-to-source c

Lua scripts can also be run directly in this mode without precompiling using the lua command with the -j option when run in JDK 1.5 or higher:

-	java -cp lib/luaj-jse-2.0.jar lua -j examples/lua/hello.lua
+	java -cp lib/luaj-jse-2.0.1.jar lua -j examples/lua/hello.lua
 

Compile lua bytecode to java bytecode

@@ -233,8 +233,8 @@ Luaj can compile lua sources or binaries directly to java bytecode if the bcel l
 	ant bcel-lib
-	java -cp "lib/luaj-jse-2.0.jar;lib/bcel-5.2.jar" luajc -s examples/lua -d . hello.lua
-	java -cp "lib/luaj-jse-2.0.jar;." lua -l hello
+	java -cp "lib/luaj-jse-2.0.1.jar;lib/bcel-5.2.jar" luajc -s examples/lua -d . hello.lua
+	java -cp "lib/luaj-jse-2.0.1.jar;." lua -l hello
 

@@ -245,7 +245,7 @@ but the compiled classes must be in the class path at runtime, unless runtime ji

Lua scripts can also be run directly in this mode without precompiling using the lua command with the -b option and providing the bcel library in the class path:

-	java -cp "lib/luaj-jse-2.0.jar;lib/bcel-5.2.jar" lua -b examples/lua/hello.lua
+	java -cp "lib/luaj-jse-2.0.1.jar;lib/bcel-5.2.jar" lua -b examples/lua/hello.lua
 
@@ -270,7 +270,7 @@ A simple example may be found in

-You must include the library lib/luaj-jse-2.0.jar in your class path. +You must include the library lib/luaj-jse-2.0.1.jar in your class path.

Run a script in a MIDlet

@@ -297,7 +297,7 @@ A simple example may be found in

-You must include the library lib/luaj-jme-2.0.jar in your midlet jar. +You must include the library lib/luaj-jme-2.0.1.jar in your midlet jar.

An ant script to build and run the midlet is in @@ -325,7 +325,7 @@ The standard use of JSR-233 scripting engines may be used: All standard aspects of script engines including compiled statements should be supported.

-You must include the library lib/luaj-jse-2.0.jar in your class path. +You must include the library lib/luaj-jse-2.0.1.jar in your class path.

A working example may be found in @@ -494,7 +494,7 @@ The following lua script will open a swiing frame on Java SE:

See a longer sample in src/test/res/swingapp.lua for details, or try running it using:

-	java -cp lib/luaj-jse-2.0.jar lua src/test/res/swingapp.lua
+	java -cp lib/luaj-jse-2.0.1.jar lua src/test/res/swingapp.lua
 

@@ -683,9 +683,8 @@ It relies on the cobertura code coverage library.

8 - Downloads

Downloads and Project Pages

-Downloads for version 1.0.3 are currently hosted on SourceForge. -Downloads of built packages for 2.0 are not yet available. -Sources are available via sourceforge.net +Downloads for all version available on SourceForge or LuaForge. +Sources are hosted on SourceForge and available via sourceforge.net
 	SourceForge Luaj Project Page
diff --git a/version.properties b/version.properties
index 6ec12fe9..7523798b 100644
--- a/version.properties
+++ b/version.properties
@@ -1 +1 @@
-version: 2.0
+version: 2.0.1