I'm looking for the best way to build an IntelliJ project from command line. This is usually needed while compiling IntelliJ project on a build server.
Create a project from existing sources Launch IntelliJ IDEA. If the Welcome screen opens, press Ctrl+Shift+A , type project from existing sources , and click the Import project from existing sources action in the popup. Otherwise, from the main menu, select File | New | Project from Existing Sources.
In build menu is Generate Ant Build ... Idea will generate build.xml file. You have to intall Ant add it to PATH and then you can call in project directory command ant.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With