Libraryless. Click here for Pure Java version (4741L/26K).
1 | svoid makeOptionsFileForJavaCompiler(File optionsFile, |
2 | L<File> sources, L<File> libraries, |
3 | S moreOptions) ctex { |
4 | FileWriter writer = new(optionsFile); |
5 | for (File source : sources) |
6 | writer.write(pqO(source.getPath()) + " "); |
7 | if (!libraries.isEmpty()) { |
8 | new LS cp; |
9 | for (File lib : libraries) |
10 | cp.add(lib.getAbsolutePath()); |
11 | writer.write("-cp " + pqO(join(File.pathSeparator, cp)) + " "); |
12 | } |
13 | writer.write(moreOptions); |
14 | writer.close(); |
15 | } |
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: | 172 / 220 |
Referenced in: | [show references] |