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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -