1 | static S invokeEcjInFirstVM(File optionsFile) { |
2 | if (dontUsePort5000()) fail("Not using port 5000"); |
3 | DialogIO io = talkTo("localhost", 5000); |
4 | if (startsWith(io.readLine(), "This is a JavaX VM")) { |
5 | S answer = io.ask(format("invoke ecj on options file *", f2s(optionsFile))); |
6 | //print(answer); |
7 | new Matches m; |
8 | if (swic(answer, "OK ", m)) ret cleanJavaCompilerOutput($1); |
9 | fail(answer); |
10 | } |
11 | fail("No VM at port 5000"); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008691 |
Snippet name: | invokeEcjInFirstVM (tries only VM on port 5000) |
Eternal ID of this version: | #1008691/7 |
Text MD5: | 4f7ae7f10110b61615fae36ba6e194ce |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-26 23:29:12 |
Source code size: | 452 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 528 / 579 |
Version history: | 6 change(s) |
Referenced in: | [show references] |