Add ability to create runnable jar file from lua script with sample build file build-app.xml

This commit is contained in:
James Roseborough
2012-10-02 07:00:17 +00:00
parent 497a9f2346
commit 7b6381c352
13 changed files with 182 additions and 22 deletions

View File

@@ -78,7 +78,7 @@ public class TestLuaJC {
String destdir = ".";
InputStream is = _G.FINDER.findResource(filename);
Hashtable t = LuaJC.getInstance().compileAll(is, filename, filename);
Hashtable t = LuaJC.getInstance().compileAll(is, filename, filename, true);
// write out the chunk
for ( Enumeration e = t.keys(); e.hasMoreElements(); ) {