Add sample applet build file.
This commit is contained in:
@@ -81,8 +81,13 @@ public class PackageLib extends TwoArgFunction {
|
||||
|
||||
/** The default value to use for package.path. This can be set with the system property
|
||||
* <code>"luaj.package.path"</code>, and is <code>"?.lua"</code> by default. */
|
||||
public static String DEFAULT_LUA_PATH = System.getProperty("luaj.package.path");
|
||||
public static String DEFAULT_LUA_PATH;
|
||||
static {
|
||||
try {
|
||||
DEFAULT_LUA_PATH = System.getProperty("luaj.package.path");
|
||||
} catch (Exception e) {
|
||||
System.out.println(e.toString());
|
||||
}
|
||||
if (DEFAULT_LUA_PATH == null)
|
||||
DEFAULT_LUA_PATH = "?.lua";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user