Mixing JDKs
Hi!
In a project I have a module that uses JDK 1.4.2 and two dependent modules - one of them using JDK 5 and the other JDK 1.4.2 .
The problem is now that I can only select the language level for the whole project but not for the specific modules.
IDEA now and then proposes to add @Overwrite annotations to the 1.4.2-modules and won't notice it as an error when I use a JDK 5 construct in the 1.4.2-modules.
Would it be possible to change the language level selection to a module specific setting. Just like with the JDK selection there could be a project wide setting and a modules-specific one.
Cheers,
Robert
请先登录再写评论。
Hi Robert,
this has been requested quite often.
There is already a Jira issue for that and IIRC it will be fixed for Idea 6.0.
Robert F. Beeger wrote:
Robert,
this was indeed discussed quite often, and we are seeking for a solution. To
make us more productive in solving the problem, which is indeed not easy to
solve, you could vote for the request in jira (don't remember the number,
excuse me)
Eugene.
"Robert F. Beeger" <no_mail@jetbrains.com> wrote in message
news:24592569.1135021096816.JavaMail.itn@is.intellij.net...
>
modules - one of them using JDK 5 and the other JDK 1.4.2 .
project but not for the specific modules.
1.4.2-modules and won't notice it as an error when I use a JDK 5 construct
in the 1.4.2-modules.
specific setting. Just like with the JDK selection there could be a project
wide setting and a modules-specific one.
>
Oh, seems I was to lazy, should have checked jira first. It's #2450 BTW.
http://www.jetbrains.net/jira/browse/IDEADEV-2450
It's really painful, indeed.
Vince.