History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5259
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Stefano Ferrazzi
Votes: 1
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Possibility to specify different language level for production and test directories

Created: 16 Sep 07 16:36   Updated: 13 Nov 07 01:57
Component/s: Maven Integration
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux Ubuntu jvm 1.6

Build: 7,269
Severity: High


 Description  « Hide
I use Maven... I compile my sources with jvm 1.4... I compile my test (JUnit 4) with jvm 1.5... the IDEA editor show all my test with errors because the language level is 1.4... but with Maven no problems...
Can you add a "language level" setting for test directory?

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 19 Sep 07 22:00
You can specify a different language level for tests if they are moved to a separate module in IntelliJ IDEA.

Stefano Ferrazzi - 03 Oct 07 23:56
I can't make separated modules, this is the default maven layout and the other developers don't use IDEA...

andyhot@di.uoa.gr - 13 Nov 07 01:57
Yep, this is useful to have and AFAIK none of the other IDEs support this