Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Dmitry Jemerov 
Subsystem
Plugin Support. DevKit 
Affected versions
Fixed in
Fixed in build
Next build 
Build
6107
Fixed in build
6576
Severity
0
  • Submitted by   Marat S. Radchenko
    3 years ago (21 Nov 2006 00:01)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:37)
  • Jira: IDEA-35554
    (history, comments)

IDEA-35554

"Multiple components with the same interface" for components to different module types.

0
{code:xml}
<module-components>
<component>
<interface-class>com.intellij.javaee.make.ModuleBuildProperties</interface-class>
<implementation-class>com.mycompany.myplugin.AModuleBuildProperties</implementation-class>
<option name="type" value="A_MODULE" />
</component>
<component>
<interface-class>com.intellij.javaee.make.ModuleBuildProperties</interface-class>
<implementation-class>com.mycompany.myplugin.BModuleBuildProperties</implementation-class>
<option name="type" value="B_MODULE" />
</component>
</module-components>
{code}
DevKit shows error "Multiple components with the same interface are not allowed". But this construction is valid because components belong to different module types.

Environment: Does not matter

Issue was resolved
Comments (4)
 
History (1)
 
Links
 
Sascha Weinreuter
  Sascha Weinreuter
22 Nov 2006 01:16
(3 years ago)
#permalink
Dmitry, I've got a fix for this available. Do you have any preference how I should submit it?
Dmitry Jemerov
  Dmitry Jemerov
22 Nov 2006 13:13
(3 years ago)
#permalink
Drop me a patch by email, please. I love real uses for my new "Apply Patch" feature. :)
Sascha Weinreuter
  Sascha Weinreuter
23 Nov 2006 01:56
(3 years ago)
#permalink
Hey, that's a bit unfair because I've got no "Create Patch" feature here. Anyway, mail has been sent ;)
Dmitry Jemerov
  Dmitry Jemerov
29 Nov 2006 16:08
(3 years ago)
#permalink
Thanks Sascha! I've integrated the patch now.