Libraryless. Click here for Pure Java version (4741L/26K).
svoid makeOptionsFileForJavaCompiler(File optionsFile, L<File> sources, L<File> libraries, S moreOptions) ctex { FileWriter writer = new(optionsFile); for (File source : sources) writer.write(pqO(source.getPath()) + " "); if (!libraries.isEmpty()) { new LS cp; for (File lib : libraries) cp.add(lib.getAbsolutePath()); writer.write("-cp " + pqO(join(File.pathSeparator, cp)) + " "); } writer.write(moreOptions); writer.close(); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033532 |
| Snippet name: | makeOptionsFileForJavaCompiler |
| Eternal ID of this version: | #1033532/1 |
| Text MD5: | 1a139885b6e5753db30e27ed1872b4bb |
| Transpilation MD5: | 52537138a27800f99f6b66ec53e15160 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-11-01 18:23:04 |
| Source code size: | 481 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 373 / 469 |
| Referenced in: | [show references] |