!7 p { O j = getJavaX(); File srcDir = new File("/home/stefan/dev/RSTAUI-master/src/main/java"); L libraries = ll(loadLibrary(#1013041)); File classesDir = getProgramFile("classes"); set(j, "javaTarget", "1.6"); S compilerOutput = cast call(j, "compileJava", srcDir, libraries, classesDir); if (nempty(compilerOutput)) print("Compiler said: " + quote(compilerOutput)); print(classesDir.getAbsolutePath()); File jarFile = getProgramFile("rstaui.jar"); dir2zip_recurse(classesDir, jarFile); print(jarFile.getAbsolutePath() + " - " + jarFile.length()); if (jarFile.length() <= 22) print("oops - empty jar!?"); }