static S invokeEcjInFirstVM(File optionsFile) { if (dontUsePort5000()) fail("Not using port 5000"); DialogIO io = talkTo("localhost", 5000); if (startsWith(io.readLine(), "This is a JavaX VM")) { S answer = io.ask(format("invoke ecj on options file *", f2s(optionsFile))); //print(answer); new Matches m; if (swic(answer, "OK ", m)) ret cleanJavaCompilerOutput($1); fail(answer); } fail("No VM at port 5000"); }
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: | 526 / 576 |
Version history: | 6 change(s) |
Referenced in: | [show references] |