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

11
LINES

< > BotCompany Repo | #1004005 // compileWholeDir - compile a whole directory (+subdirectories) of .java files

JavaX fragment (include)

// returns compiler output
static S compileWholeDir(File srcDir, L<File> libraries, File classesDir) {
  O j = getJavaX();
  //set(j, "javaTarget", "1.6");
  S compilerOutput = cast call(j, "compileJava", srcDir, libraries, mkdir(classesDir));
  ret compilerOutput;
}

static S compileWholeDir(File srcDir, File classesDir) {
  ret compileWholeDir(srcDir, emptylist(), classesDir);
}

Author comment

Began life as a copy of #1003939

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004005
Snippet name: compileWholeDir - compile a whole directory (+subdirectories) of .java files
Eternal ID of this version: #1004005/1
Text MD5: b100597c59e89e41b2c219f99f6ccbaa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-03 16:53:23
Source code size: 395 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 602 / 589
Referenced in: [show references]