You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2011/08/06 14:48:42 UTC

[jira] Closed: (MECLIPSE-664) Wrong classpath entry ordering for source and test folder

     [ https://jira.codehaus.org/browse/MECLIPSE-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MECLIPSE-664.
-----------------------------------

    Resolution: Not A Bug

This is intended, so Eclipse uses the same order as Maven does.
For instance: if there's a property file under {{src/test/resources}} with the same name and package as a property file under {{src/main/resources}} the first one should be used.
See MECLIPSE-561 on how to reorganize the folders.

> Wrong classpath entry ordering for source and test folder
> ---------------------------------------------------------
>
>                 Key: MECLIPSE-664
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-664
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.8
>         Environment: MacOS 10.6.3, Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version: 1.6.0_15
>            Reporter: Roman Pichlik
>
> The plugin sorts the source and the test folder in reverse order (not alphabetical) to .classpath file, so test folder as first and source folder as second. It makes using of a project very uncomfortable, because Eclipse generates the project layout where the source folder appears as the first entry in Package explorer by default.
> The plugin behavior has been changed, because older versions used to work correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira