java - remove Builder from classpath -


in eclipse, if right click project can following project->build path-> configure build path...->builders

when see builders, can click 1 , remove. doing eclipse plugin development , wondering how accomplish in code..? have iproject; need list of builders.

thanks!

these configured in iprojectdescription, with:

iprojectdescription desc = project.getdescription(); 

the builders listed in build spec:

icommand [] commands = desc.getbuildspec(); 

you can create new array adding / removing commands. when done update project description with:

desc.setbuildspec(newcommandarray); 

you must update project description in project:

project.setdescription(desc, null); 

Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -