Compile IntelliJ project on command line

Answered

I'd like to make a script to compile an IntelliJ project and build an artifact on the command line. Is it possible to do this, possibly using JPS?

2 comments
Comment actions Permalink

Do you mean that you don't use a build system in your project and have IntelliJ configuration files only?

Actually some time ago we started publishing modules which can be used to run JPS build in standalone mode. You can find com.jetbrains.intellij.tools:jps-build-standalone artifact in IntelliJ Artifacts repository, take it with dependencies and run org.jetbrains.jps.build.Standalone class. 

0
Comment actions Permalink

Great, thank you Nikolay, I'll check that out.

0

Please sign in to leave a comment.