Libraryless. Click here for Pure Java version (5303L/35K/120K).
1 | !7 |
2 | |
3 | p { |
4 | O j = getJavaX(); |
5 | File srcDir = new File("/home/stefan/dev/RSTAUI-master/src/main/java"); |
6 | L<File> libraries = ll(loadLibrary(#1013041)); |
7 | File classesDir = getProgramFile("classes"); |
8 | set(j, "javaTarget", "1.6"); |
9 | S compilerOutput = cast call(j, "compileJava", srcDir, libraries, classesDir); |
10 | if (nempty(compilerOutput)) |
11 | print("Compiler said: " + quote(compilerOutput)); |
12 | print(classesDir.getAbsolutePath()); |
13 | File jarFile = getProgramFile("rstaui.jar"); |
14 | dir2zip_recurse(classesDir, jarFile); |
15 | print(jarFile.getAbsolutePath() + " - " + jarFile.length()); |
16 | if (jarFile.length() <= 22) |
17 | print("oops - empty jar!?"); |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003939 |
Snippet name: | Compile RSTAUI |
Eternal ID of this version: | #1003939/3 |
Text MD5: | 36c61c417b82b3ca7033603554dab64f |
Transpilation MD5: | 0b2705c729548f216550ecc346797c06 |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-22 15:38:23 |
Source code size: | 664 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 543 / 623 |
Version history: | 2 change(s) |
Referenced in: | [show references] |