!7 mainClassName SmartyMain //!include #1031104 static File mainDir() { ret mkdirs(userDir("Adaptron/Smarty")); } p { File mainJar = getMainJarLocation(); File unpackDir = newFile(mainDir(), "code"); programID = #1031123; ret if standalone_start(new S[0], "Smarty", null, mainJar, unpackDir, programID()); set flag hotwire_here. set flag run_debug. ret with run(#1031123); // so we get a proper classloader }