Intellij API to Build Project

I am creating a plugin for Intellij and I want to build a project using java code. Generally we use to build a project by using build option in Intellij Main Menu. Can I trigger it by using code ?

Is there any API to do that. For example Eclipse has that -http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fresources%2FIProject.html

Thanks in advance.
Chandan

1 comment
Comment actions Permalink

https://github.com/JetBrains/intellij-community/blob/master/jps/jps-builders/src/org/jetbrains/jps/incremental/TargetBuilder.java and other classes in the org/jetbrains/jps directory.

I don't know much about them, so I won't really be able to help.  But that's where to start.

 

-Eric

0

Please sign in to leave a comment.