Misconfigured module

Hi, I would like to submit an issue with intellij 6.0.1.
My project is made of 2 modules, a web module (call it "mod1") and a standard java module (mod2), having mod1 depending on mod2.
In the "web module settings" of mod1 i tell intellij to "copy module output to" of mod2 in the same output directory of mod1.
In my real-world application this configuration makes sense, since I need to perform further processing to the generated war archive that I cannot perform if i jar mod1 into the libraries directory of mod1, but intellij has not the same opinion and it outputs:

Module 'mod1' is misconfigured.
Module 'mod1' depends on module 'mod2',
and module 'mod2' is configured to copy its output into module 'mod1' output path, which may cause errors during compile.

Ok, I know this message prevents some problems like compiling classes with the same signature from different modules into the same output directory, but I think that the final word should be gave to the programmer, not the ide.

1 comment

Hello SoulSpirit,

Please file a Jira request (http://www.jetbrains.net/jira/browse/IDEA).

Hi, I would like to submit an issue with intellij 6.0.1.

My project is made of 2 modules, a web module (call it "mod1") and a
standard java module (mod2), having mod1 depending on mod2.

In the "web module settings" of mod1 i tell intellij to "copy module
output to" of mod2 in the same output directory of mod1.

In my real-world application this configuration makes sense, since I
need to perform further processing to the generated war archive that I
cannot perform if i jar mod1 into the libraries directory of mod1, but
intellij has not the same opinion and it outputs:

Module 'mod1' is misconfigured.
Module 'mod1' depends on module 'mod2',
and module 'mod2' is configured to copy its output into module 'mod1'
output path, which may cause errors during compile.
Ok, I know this message prevents some problems like compiling classes
with the same signature from different modules into the same output
directory, but I think that the final word should be gave to the
programmer, not the ide.



0

Please sign in to leave a comment.