Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you build an IntelliJ project from the command line?

Tags:

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.

like image 952
Arne Evertsson Avatar asked Mar 07 '12 08:03

Arne Evertsson


People also ask

How do I create a project from an existing source in IntelliJ?

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.


1 Answers

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.

like image 75
chalimartines Avatar answered Dec 17 '22 21:12

chalimartines