maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lightbody (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MIDEA-46) Macros in reactor projects aren't added to the IDEA project
Date Sun, 02 Apr 2006 02:44:44 GMT
    [ http://jira.codehaus.org/browse/MIDEA-46?page=comments#action_62557 ] 

Patrick Lightbody commented on MIDEA-46:
----------------------------------------

Whoops, forgot to set the priority of this down - it's far from Major. Very low priority.

> Macros in reactor projects aren't added to the IDEA project
> -----------------------------------------------------------
>
>          Key: MIDEA-46
>          URL: http://jira.codehaus.org/browse/MIDEA-46
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Reporter: Patrick Lightbody

>
>
> This is a bug in a previous patch I supplied. Basically, the feature that lets you define
a Library source dir works great for single-project maven builds, but for reactor builds there
is a small bug.
> Basically, there is a Set that is passed in to the IdeaModuleMojo that gets populated
with names of path mappings when any source dir contains the pattern $foo$. That Set is then
used to populate the ipr file like so:
>   <UsedPathMacros>
>     <macro name="foo"/>
>   </UsedPathMacros>
> The problem with my implementation is multiple macro Sets are created, one for each module
that gets build. Except for the root maven project, that Set is immediately discarded since
the project file is only built once. I don't have a patch for this because I don't have a
good suggested fix.
> On the plus side, it's not a critical issue. The only problem is that IDEA won't prompt
the user to provide path mappings for those macros. Instead, you have to do them by hand.

-- 
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


Mime
View raw message