0

How can I set alternative build target folder to Intellij IDEA?

I need that IDEA always builds all modules of my project into separate build output folders, say target-idea instead of target.

The reason is described in this question.

Weird as it migth be, this option simply does NOT work with my IDEA 13 edition(it does nothing)...

"Inherit project compile output folder" does something weird as well.

Community
  • 1
  • 1
Mateva
  • 786
  • 1
  • 8
  • 27
  • 1
    Hi, in your project structure (F4 on the project module), you can check two places : Project, "Project compiler output" which may point to an alternative folder. Artifacts, you have "Output directory" where you can set where you want to create the artifacts – bouquetf Jul 25 '14 at 13:13
  • I saw this, but I cannot make it work for all modules. Should I configure them manually one by one? – Mateva Jul 25 '14 at 13:21
  • 1
    Maybe in modules of this window, select "Inherit project compile output path" from Path tab. I have to admit I haven't had the need yet – bouquetf Jul 25 '14 at 13:28
  • Weird as it might get, neither the "Inherit project compile output path" works, **neither** the option itself!!! – Mateva Jul 25 '14 at 13:36
  • The hassle of occasionally receiving an error message, and the inconvenience of having to run maven again, pale into insignificance compared to running maven with a different configuration to intellij, and running either in a non-standard way. – Software Engineer Jul 25 '14 at 17:53
  • You are probably right, since it looks like no one is doing it. But I think the target(output folder) would be nice to be configurable, it is a destination after all. – Mateva Jul 26 '14 at 06:15

0 Answers0