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 -

Thanks in advance.

1 comment
Comment actions Permalink 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.




Please sign in to leave a comment.