I'm developing a plugin in eclipse which should build the project (and do other stuff) on click of a button. I'm just searching for the line to build the selected project.
The IProject
for the project has several build methods depending on exactly what you want to do. The simplest is:
IProject project = ....
IProgressMonitor monitor = ... a progress monitor ...
project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.