Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1008690 // Try invoking ecj on first VM (port 5000)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2711L/18K/61K).

!7

p {
  DialogIO io = talkTo("localhost", 5000);
  File src = getProgramFile("bla.java");
  saveTextFile(src, "class bla {}");
  File optionsFile = getProgramFile("options");
  saveTextFile(optionsFile, "-d " + f2s(programDir()) + " " + f2s(src));
  if (startsWith(print(io.readLine()), "This is a JavaX VM")) {
    S answer;
    time {
      answer = io.ask(format("invoke ecj on options file *", f2s(optionsFile)));
    }
    print(answer);
    new Matches m;
    if (swic(answer, "OK ", m))
      print("OK: " + $1);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008690
Snippet name: Try invoking ecj on first VM (port 5000)
Eternal ID of this version: #1008690/7
Text MD5: 61d50e3bb812cb538ba08919b2072311
Transpilation MD5: 3a439773d76237e3bce82291fbd48d2a
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-28 18:47:46
Source code size: 545 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 438 / 520
Version history: 6 change(s)
Referenced in: [show references]