jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Eclipse Plugin
  • MECLIPSE-48

eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.3
  • Component/s: None
  • Labels:
    None

Description

The maven-compiler-plugin allows a configuration such as:

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/idl/*Factory.java</exclude>
</excludes>
</configuration>
</plugin>

the generated .classpath file currently does not mention the excluded part:

<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="target/generated-sources/idl"/>

which should be:

<classpathentry excluding="**/idl/*Factory.java" kind="src" path="src/main/java"/>
<classpathentry excluding="**/idl/*Factory.java" kind="src" path="target/generated-sources/idl"/>

Issue Links

is depended upon by

Improvement - An improvement or enhancement to an existing feature or task. MECLIPSE-232 excluding / including attribute classpathentry

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.
is related to

New Feature - A new feature of the product, which has yet to be developed. MECLIPSE-165 Ability to exclude filtered resources from eclipse's source directories

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Wish - General wishlist item MECLIPSE-162 Ability to exclude a resource / source path from being added to the classpath file

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.
relates to

Bug - A problem which impairs or prevents the functions of the product. MECLIPSE-444 Included Resources break the classpath file and prevent eclipse from building

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Berlanger added a comment - 01/Dec/05 5:03 AM

It's also useful to be able to specify direclty an exclude pattern for the plugin.
We have currntly problems with subversion directories (**/.svn/) which are correctly ignored (by default) by compilers but causes nasty warnings when eclipse manages resources.

Show
Olivier Berlanger added a comment - 01/Dec/05 5:03 AM It's also useful to be able to specify direclty an exclude pattern for the plugin. We have currntly problems with subversion directories (**/.svn/) which are correctly ignored (by default) by compilers but causes nasty warnings when eclipse manages resources.
Hide
Permalink
Andrea Aime added a comment - 20/Aug/06 2:59 AM

Having eclipse copying over .svn folder for projects that are not shared with subversive or subclipse is cause big slowdowns here. Please do add the ability to filter out unwanted resources.

Show
Andrea Aime added a comment - 20/Aug/06 2:59 AM Having eclipse copying over .svn folder for projects that are not shared with subversive or subclipse is cause big slowdowns here. Please do add the ability to filter out unwanted resources.
Hide
Permalink
fabrizio giustina added a comment - 25/Oct/06 2:43 AM

handling of exclude/include pattern added for 2.3

Show
fabrizio giustina added a comment - 25/Oct/06 2:43 AM handling of exclude/include pattern added for 2.3
Hide
Permalink
Richard van der Hoff added a comment - 03/Jan/07 3:06 PM

fabrizio, your changes seem to fix this problem nicely for resources, but there's still no means for excluding source files afaict. Are you certain this bug can be closed?

Show
Richard van der Hoff added a comment - 03/Jan/07 3:06 PM fabrizio, your changes seem to fix this problem nicely for resources, but there's still no means for excluding source files afaict. Are you certain this bug can be closed?
Hide
Permalink
Steffen Pingel added a comment - 16/Jan/07 1:12 PM

Looking at the corresponding commit for this issue (svn diff -r 467576:467577) excludes have been only implemented for resources but not for source directories. Could this issue be reopened so the actual issue can be addressed?

Show
Steffen Pingel added a comment - 16/Jan/07 1:12 PM Looking at the corresponding commit for this issue (svn diff -r 467576:467577) excludes have been only implemented for resources but not for source directories. Could this issue be reopened so the actual issue can be addressed?
Hide
Permalink
Richard van der Hoff added a comment - 17/Jan/07 6:03 AM

That's what I said

Steffen, if you have a usecase for this, it may be best to file a new issue, with a "related to" link, such that it gets back on the maintainers' radar.

Show
Richard van der Hoff added a comment - 17/Jan/07 6:03 AM That's what I said Steffen, if you have a usecase for this, it may be best to file a new issue, with a "related to" link, such that it gets back on the maintainers' radar.

People

  • Assignee:
    fabrizio giustina
    Reporter:
    Mark Donszelmann
Vote (6)
Watch (4)

Dates

  • Created:
    29/Nov/05 12:48 PM
    Updated:
    25/Apr/08 7:09 AM
    Resolved:
    25/Oct/06 2:43 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.