Increment version numbers to 3.0-beta2 (next release)

This commit is contained in:
James Roseborough
2013-07-06 15:10:10 +00:00
parent 1891adf4f2
commit 729d7bb9da
3 changed files with 30 additions and 21 deletions

View File

@@ -16,7 +16,7 @@
Getting Started with LuaJ Getting Started with LuaJ
</h1> </h1>
James Roseborough, Ian Farmer, Version 3.0-beta1 James Roseborough, Ian Farmer, Version 3.0-beta2
<p> <p>
<small> <small>
Copyright &copy; 2009-2013 Luaj.org. Copyright &copy; 2009-2013 Luaj.org.
@@ -73,6 +73,7 @@ It also includes miscellaneous improvements over luaj 2.0.x:
<li>Line numbers in parse syntax tree. <li>Line numbers in parse syntax tree.
<li>More compatible table behavior. <li>More compatible table behavior.
<li>Better thread safety. <li>Better thread safety.
<li>Maven integration.
</ul> </ul>
<h3>Luaj 2.0.x</h3> <h3>Luaj 2.0.x</h3>
Support for lua 5.1.x features, plus: Support for lua 5.1.x features, plus:
@@ -119,7 +120,7 @@ in comparison with the standard C distribution.
<td>16.794</td> <td>16.794</td>
<td>11.274</td> <td>11.274</td>
<td>Java</td> <td>Java</td>
<td>java -cp luaj-jse-3.0-beta1.jar;bcel-5.2.jar lua <b>-b</b> fannkuch.lua 10</td></tr> <td>java -cp luaj-jse-3.0-beta2.jar;bcel-5.2.jar lua <b>-b</b> fannkuch.lua 10</td></tr>
<tr valign="top"> <tr valign="top">
<td></td> <td></td>
<td></td> <td></td>
@@ -129,7 +130,7 @@ in comparison with the standard C distribution.
<td>36.894</td> <td>36.894</td>
<td>15.163</td> <td>15.163</td>
<td></td> <td></td>
<td>java -cp luaj-jse-3.0-beta1.jar lua -n fannkuch.lua 10</td></tr> <td>java -cp luaj-jse-3.0-beta2.jar lua -n fannkuch.lua 10</td></tr>
<tr valign="top"> <tr valign="top">
<td>lua</td> <td>lua</td>
<td>5.1.4</td> <td>5.1.4</td>
@@ -185,7 +186,7 @@ It is also faster than Java-lua implementations Jill, Kahlua, and Mochalua for a
From the main distribution directory line type: From the main distribution directory line type:
<pre> <pre>
java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/hello.lua java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/hello.lua
</pre> </pre>
<p> <p>
@@ -197,7 +198,7 @@ You should see the following output:
To see how luaj can be used to acccess most Java API's including swing, try: To see how luaj can be used to acccess most Java API's including swing, try:
<pre> <pre>
java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/swingapp.lua java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/swingapp.lua
</pre> </pre>
<h2>Compile lua source to lua bytecode</h2> <h2>Compile lua source to lua bytecode</h2>
@@ -206,8 +207,8 @@ To see how luaj can be used to acccess most Java API's including swing, try:
From the main distribution directory line type: From the main distribution directory line type:
<pre> <pre>
java -cp lib/luaj-jse-3.0-beta1.jar luac examples/lua/hello.lua java -cp lib/luaj-jse-3.0-beta2.jar luac examples/lua/hello.lua
java -cp lib/luaj-jse-3.0-beta1.jar lua luac.out java -cp lib/luaj-jse-3.0-beta2.jar lua luac.out
</pre> </pre>
<p> <p>
@@ -221,8 +222,8 @@ Luaj can compile lua sources or binaries directly to java bytecode if the bcel l
<pre> <pre>
ant bcel-lib ant bcel-lib
java -cp &quot;lib/luaj-jse-3.0-beta1.jar;lib/bcel-5.2.jar&quot; luajc -s examples/lua -d . hello.lua java -cp &quot;lib/luaj-jse-3.0-beta2.jar;lib/bcel-5.2.jar&quot; luajc -s examples/lua -d . hello.lua
java -cp &quot;lib/luaj-jse-3.0-beta1.jar;.&quot; lua -l hello java -cp &quot;lib/luaj-jse-3.0-beta2.jar;.&quot; lua -l hello
</pre> </pre>
<p> <p>
@@ -233,7 +234,7 @@ but the compiled classes must be in the class path at runtime, unless runtime ji
<p> <p>
Lua scripts can also be run directly in this mode without precompiling using the <em>lua</em> command with the <b><em>-b</em></b> option and providing the <em>bcel</em> library in the class path: Lua scripts can also be run directly in this mode without precompiling using the <em>lua</em> command with the <b><em>-b</em></b> option and providing the <em>bcel</em> library in the class path:
<pre> <pre>
java -cp &quot;lib/luaj-jse-3.0-beta1.jar;lib/bcel-5.2.jar&quot; lua -b examples/lua/hello.lua java -cp &quot;lib/luaj-jse-3.0-beta2.jar;lib/bcel-5.2.jar&quot; lua -b examples/lua/hello.lua
</pre> </pre>
@@ -258,7 +259,7 @@ A simple example may be found in
</pre> </pre>
<p> <p>
You must include the library <b>lib/luaj-jse-3.0-beta1.jar</b> in your class path. You must include the library <b>lib/luaj-jse-3.0-beta2.jar</b> in your class path.
<h2>Run a script in a MIDlet</h2> <h2>Run a script in a MIDlet</h2>
@@ -285,7 +286,7 @@ A simple example may be found in
</pre> </pre>
<p> <p>
You must include the library <b>lib/luaj-jme-3.0-beta1.jar</b> in your midlet jar. You must include the library <b>lib/luaj-jme-3.0-beta2.jar</b> in your midlet jar.
<p> <p>
An ant script to build and run the midlet is in An ant script to build and run the midlet is in
@@ -313,7 +314,7 @@ The standard use of JSR-223 scripting engines may be used:
All standard aspects of script engines including compiled statements should be supported. All standard aspects of script engines including compiled statements should be supported.
<p> <p>
You must include the library <b>lib/luaj-jse-3.0-beta1.jar</b> in your class path. You must include the library <b>lib/luaj-jse-3.0-beta2.jar</b> in your class path.
<p> <p>
A working example may be found in A working example may be found in
@@ -324,8 +325,8 @@ A working example may be found in
To compile and run it using Java 1.6 or higher: To compile and run it using Java 1.6 or higher:
<pre> <pre>
javac -cp lib/luaj-jse-3.0-beta1.jar examples/jse/ScriptEngineSample.java javac -cp lib/luaj-jse-3.0-beta2.jar examples/jse/ScriptEngineSample.java
java -cp &quot;lib/luaj-jse-3.0-beta1.jar;examples/jse&quot; ScriptEngineSample java -cp &quot;lib/luaj-jse-3.0-beta2.jar;examples/jse&quot; ScriptEngineSample
</pre> </pre>
<h2>Excluding the lua bytecode compiler</h2> <h2>Excluding the lua bytecode compiler</h2>
@@ -506,7 +507,7 @@ The following lua script will open a swing frame on Java SE:
See a longer sample in <em>examples/lua/swingapp.lua</em> for details, including a simple animation loop, rendering graphics, mouse and key handling, and image loading. See a longer sample in <em>examples/lua/swingapp.lua</em> for details, including a simple animation loop, rendering graphics, mouse and key handling, and image loading.
Or try running it using: Or try running it using:
<pre> <pre>
java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/swingapp.lua java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/swingapp.lua
</pre> </pre>
<p> <p>
@@ -747,14 +748,13 @@ See the <a href="http://luaj.sourceforge.net/api/3.0/org/luaj/vm2/ast/package-su
<h2>Maven integration</h2> <h2>Maven integration</h2>
The main jar files are now deployed in the maven central repository. To use them in your maven-based project, list them as a dependency: The main jar files are now deployed in the maven central repository. To use them in your maven-based project, list them as a dependency:
<p> <p>
For JSE projects, add this dependency for the luaj-jse jar: For JSE projects, add this dependency for the luaj-jse jar:
<pre> <pre>
&lt;dependency&gt; &lt;dependency&gt;
&lt;groupId&gt;org.luaj&lt;/groupId&gt; &lt;groupId&gt;org.luaj&lt;/groupId&gt;
&lt;artifactId&gt;luaj-jse&lt;/artifactId&gt; &lt;artifactId&gt;luaj-jse&lt;/artifactId&gt;
&lt;version&gt;3.0-beta1&lt;/version&gt; &lt;version&gt;3.0-beta2&lt;/version&gt;
&lt;/dependency&gt; &lt;/dependency&gt;
</pre> </pre>
while for JME projects, use the luaj-jme jar: while for JME projects, use the luaj-jme jar:
@@ -762,10 +762,16 @@ while for JME projects, use the luaj-jme jar:
&lt;dependency&gt; &lt;dependency&gt;
&lt;groupId&gt;org.luaj&lt;/groupId&gt; &lt;groupId&gt;org.luaj&lt;/groupId&gt;
&lt;artifactId&gt;luaj-jme&lt;/artifactId&gt; &lt;artifactId&gt;luaj-jme&lt;/artifactId&gt;
&lt;version&gt;3.0-beta1&lt;/version&gt; &lt;version&gt;3.0-beta2&lt;/version&gt;
&lt;/dependency&gt; &lt;/dependency&gt;
</pre> </pre>
An example skelton maven pom file for a skeleton project is in
<pre>
examples/maven/pom.xml
</pre>
<h2>Building the jars</h2> <h2>Building the jars</h2>
An ant file is included in the root directory which builds the libraries by default. An ant file is included in the root directory which builds the libraries by default.
@@ -878,6 +884,9 @@ Files are no longer hosted at LuaForge.
<li>Existing tables can now be made weak (fixes issue #16).</li> <li>Existing tables can now be made weak (fixes issue #16).</li>
<li>More compatible allocation of table entries in array vs. hash (fixes issue #8).</li> <li>More compatible allocation of table entries in array vs. hash (fixes issue #8).</li>
<tr valign="top"><td>&nbsp;&nbsp;<b>3.0-beta2</b></td><td><ul>
<li>LuaValue.checkfunction() now returns LuaFunction.</li>
</ul></td></tr> </ul></td></tr>
</table></td></tr></table> </table></td></tr></table>

View File

@@ -11,7 +11,7 @@
<dependency> <dependency>
<groupId>org.luaj</groupId> <groupId>org.luaj</groupId>
<artifactId>luaj-jse</artifactId> <artifactId>luaj-jse</artifactId>
<version>3.0-beta1</version> <version>3.0-beta2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>

View File

@@ -1 +1 @@
version: 3.0-beta1 version: 3.0-beta2