Compile IntelliJ project on command line
已回答
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?
请先登录再写评论。
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.
Great, thank you Nikolay, I'll check that out.