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 15:42:29 UTC

[jira] Created: (MIDEA-34) Add resources to source folders instead of module libraries

Add resources to source folders instead of module libraries
-----------------------------------------------------------

         Key: MIDEA-34
         URL: http://jira.codehaus.org/browse/MIDEA-34
     Project: Maven 2.x Idea Plugin
        Type: Bug

    Versions: 2.0    
    Reporter: Manfred Geiler
    Priority: Critical
 Attachments: idea-1.patch

Having the resources as module libraries does not make much sense.
Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.

see applied patch

Regards,
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-34) Add resources to source folders instead of module libraries

Posted by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-34?page=comments#action_61372 ] 

Geoffrey De Smet commented on MIDEA-34:
---------------------------------------

1)One problem with setting resources as a source filter was that IntelliJ filters it's source dirs and doesn't include png etc by default.
But that was fixed in
http://jira.codehaus.org/browse/MIDEA-18

2) Another problem is the order of who copies the resources, but if you set Intellij to save on windows deactivation and synch on window activition (as you should if you 're using it combined with maven), that does't matter.

3) Another problem might be filtered resources.
But I strongly believe this is a maven design flaw: resources that are filtered/transformed should be in a different directly then normal resources that aren't filtered/transformed.


> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Priority: Critical
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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-34) Add resources to source folders instead of module libraries

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-34?page=comments#action_62567 ] 

Brett Porter commented on MIDEA-34:
-----------------------------------

skipping resources with filtering or target paths

> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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-34) Add resources to source folders instead of module libraries

Posted by "Aleksandr Tarutin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-34?page=comments#action_61037 ] 

Aleksandr Tarutin commented on MIDEA-34:
----------------------------------------

Nice!
It works for me.

> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Priority: Critical
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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-34) Add resources to source folders instead of module libraries

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MIDEA-34?page=all ]
     
Brett Porter closed MIDEA-34:
-----------------------------

     Assign To: Brett Porter
    Resolution: Fixed

> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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-34) Add resources to source folders instead of module libraries

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-34?page=comments#action_61039 ] 

Brett Porter commented on MIDEA-34:
-----------------------------------

this seems to be an age old debate and patches seem to keep changing the behaviour.

I hate the resources-as-a-library, but I want to research why it was made that way and document it once and for all before changing it back. I seem to remember it addresses some limitation in using as a source folder as it used to be.

> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Priority: Critical
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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-34) Add resources to source folders instead of module libraries

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MIDEA-34?page=all ]

Brett Porter updated MIDEA-34:
------------------------------

    Fix Version: 2.0

> Add resources to source folders instead of module libraries
> -----------------------------------------------------------
>
>          Key: MIDEA-34
>          URL: http://jira.codehaus.org/browse/MIDEA-34
>      Project: Maven 2.x Idea Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Manfred Geiler
>     Priority: Critical
>      Fix For: 2.0
>  Attachments: idea-1.patch
>
>
> Having the resources as module libraries does not make much sense.
> Instead the resources dir(s) should be added as normal idea source folders, so that editing of properties files, xml files, etc. is possible.
> see applied patch
> Regards,
> 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