Project
IntelliJ IDEA
Priority
Major
Type
Bug
Fix versions
No Fix versions
State
Verified
Assignee
Nikolay Chashnikov
Subsystem
J2EE
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Chernikov
    4 years ago (14 Sep 2007 15:34)
  • Updated by   Evgeniy Schepotiev
    21 months ago (27 Apr 2010 16:27)
  • Jira: IDEADEV-21121
    (history, comments)
 
IDEA-40934 Project conversion 6.0->7.0: former EAR module gets superfluous dependencies
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Provide the following project in IDEA 6.0.x (tested 6191): Java EE module mod-ee, EJB module mod-ejb, Web module mod-web.
Set "Do not include" for mod-ejb and mod-web in mod-ee settings (the issue is actual with other settings too).
Open project in IDEA 7, agree to convert. Resulted mod-ee java module has dependencies to mod-ejb and mod-web.
These dependencies are superfluous: former module had no them, and java ee packaging settings are available anyway.
So, generate module dependencies only if former module had the same module dependencies.

Issue was closed
Comments (2)
 
History
 
Linked Issues (?)
 
Nikolay Chashnikov
  Nikolay Chashnikov
18 Oct 2007 12:22
4 years ago
In IDEA 6 "Include in build" option results in module dependency between containing and included modules. So in that case module dependency should be added after conversion.
Alexander Chernikov
  Alexander Chernikov
30 Oct 2007 18:59
4 years ago
Exactly.

Fix confirmed in 7522.