You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Manfred Geiler (JIRA)" <ji...@codehaus.org> on 2006/03/14 16:25:29 UTC
[jira] Created: (MIDEA-35) Module Libraries and WebModule libraries
to package should not have a name attribute
Module Libraries and WebModule libraries to package should not have a name attribute
------------------------------------------------------------------------------------
Key: MIDEA-35
URL: http://jira.codehaus.org/browse/MIDEA-35
Project: Maven 2.x Idea Plugin
Type: Bug
Versions: 2.0
Reporter: Manfred Geiler
Priority: Blocker
Attachments: idea-2.patch
Idea 5.x does not seem to support name attributes in module library definitions. At least it leads to buggy behavior when WebModule settings are involved.
There is no way to add a module library with a name from within IDEA. So what the plugin is using here is an undocumented feature that leads to strange results.
The solution is to add the module libraries without the name attribute and to add the WebModule containerElements without a name too. Instead the jar URL is added to the containerElement.
see applied patch
Cheers,
Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-35) Module Libraries and WebModule
libraries to package should not have a name attribute
Posted by "Manfred Geiler (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-35?page=comments#action_63299 ]
Manfred Geiler commented on MIDEA-35:
-------------------------------------
No, sorry for bringing you false hope ;-)
By "undocumented" I meant that it is not possible from with IDEA GUI to achieve that result. It's only possible to have named module lib definitions when you fiddle with iml files directly.
> Module Libraries and WebModule libraries to package should not have a name attribute
> ------------------------------------------------------------------------------------
>
> Key: MIDEA-35
> URL: http://jira.codehaus.org/browse/MIDEA-35
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Versions: 2.0
> Reporter: Manfred Geiler
> Assignee: Edwin Punzalan
> Priority: Blocker
> Fix For: 2.0
> Attachments: MIDEA-35.patch, idea-2.patch
>
>
> Idea 5.x does not seem to support name attributes in module library definitions. At least it leads to buggy behavior when WebModule settings are involved.
> There is no way to add a module library with a name from within IDEA. So what the plugin is using here is an undocumented feature that leads to strange results.
> The solution is to add the module libraries without the name attribute and to add the WebModule containerElements without a name too. Instead the jar URL is added to the containerElement.
> see applied patch
> Cheers,
> Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-35) Module Libraries and WebModule
libraries to package should not have a name attribute
Posted by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-35?page=comments#action_61005 ]
Geoffrey De Smet commented on MIDEA-35:
---------------------------------------
This might be the reason of the TODO in my patch (which is already applied):
IntelliJ would ignore the setting to copy a library to WEB-INF/lib.
> Module Libraries and WebModule libraries to package should not have a name attribute
> ------------------------------------------------------------------------------------
>
> Key: MIDEA-35
> URL: http://jira.codehaus.org/browse/MIDEA-35
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Versions: 2.0
> Reporter: Manfred Geiler
> Priority: Blocker
> Attachments: idea-2.patch
>
>
> Idea 5.x does not seem to support name attributes in module library definitions. At least it leads to buggy behavior when WebModule settings are involved.
> There is no way to add a module library with a name from within IDEA. So what the plugin is using here is an undocumented feature that leads to strange results.
> The solution is to add the module libraries without the name attribute and to add the WebModule containerElements without a name too. Instead the jar URL is added to the containerElement.
> see applied patch
> Cheers,
> Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (MIDEA-35) Module Libraries and WebModule libraries
to package should not have a name attribute
Posted by "Johann Reyes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-35?page=all ]
Johann Reyes updated MIDEA-35:
------------------------------
Attachment: MIDEA-35.patch
> Module Libraries and WebModule libraries to package should not have a name attribute
> ------------------------------------------------------------------------------------
>
> Key: MIDEA-35
> URL: http://jira.codehaus.org/browse/MIDEA-35
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Versions: 2.0
> Reporter: Manfred Geiler
> Priority: Blocker
> Attachments: MIDEA-35.patch, idea-2.patch
>
>
> Idea 5.x does not seem to support name attributes in module library definitions. At least it leads to buggy behavior when WebModule settings are involved.
> There is no way to add a module library with a name from within IDEA. So what the plugin is using here is an undocumented feature that leads to strange results.
> The solution is to add the module libraries without the name attribute and to add the WebModule containerElements without a name too. Instead the jar URL is added to the containerElement.
> see applied patch
> Cheers,
> Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MIDEA-35) Module Libraries and WebModule libraries
to package should not have a name attribute
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-35?page=all ]
Edwin Punzalan closed MIDEA-35:
-------------------------------
Assign To: Edwin Punzalan
Resolution: Fixed
Fix Version: 2.0
Patch applied. Thanks guys.
Btw, Manfred. Did I hear you say undocumented? Can I have a copy of the idea project files documentation? I can't seem to find them on the net. Thanks.
> Module Libraries and WebModule libraries to package should not have a name attribute
> ------------------------------------------------------------------------------------
>
> Key: MIDEA-35
> URL: http://jira.codehaus.org/browse/MIDEA-35
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Versions: 2.0
> Reporter: Manfred Geiler
> Assignee: Edwin Punzalan
> Priority: Blocker
> Fix For: 2.0
> Attachments: MIDEA-35.patch, idea-2.patch
>
>
> Idea 5.x does not seem to support name attributes in module library definitions. At least it leads to buggy behavior when WebModule settings are involved.
> There is no way to add a module library with a name from within IDEA. So what the plugin is using here is an undocumented feature that leads to strange results.
> The solution is to add the module libraries without the name attribute and to add the WebModule containerElements without a name too. Instead the jar URL is added to the containerElement.
> see applied patch
> Cheers,
> Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira