You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cameron Fieber (JIRA)" <ji...@codehaus.org> on 2007/02/17 22:42:18 UTC
[jira] Commented: (MECLIPSE-104) Add the ability to specify source
exclusions
[ http://jira.codehaus.org/browse/MECLIPSE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87759 ]
Cameron Fieber commented on MECLIPSE-104:
-----------------------------------------
Two things:
1) the script I provided will bork your .classpath files by adding an extra excluding= attribute on the classpathentry elements for resource directories. I could fix that but..
2) Under Window/Preferences... Java>Compiler>Building there is an Output folder expandable section. Under there there is an entry for Filtered resources. Just add the appropriate filter for your SCM.
> Add the ability to specify source exclusions
> --------------------------------------------
>
> Key: MECLIPSE-104
> URL: http://jira.codehaus.org/browse/MECLIPSE-104
> Project: Maven 2.x Eclipse Plugin
> Issue Type: New Feature
> Reporter: James Mitchell
> Priority: Minor
> Attachments: fix-eclipse-classpaths.sh, srcExclusions-patch.zip
>
>
> When source files contain scm information (**/.svn/** or **/CVS/**), which is pretty much a given, there's currently no way to specify that those directories be excluded except through the GUI. This isn't so much of a problem except that the next time a change is needed and this plugin is ran, it will overwrite this exclusion and will force me to exclude it, by hand, again.
> The above case is the driving reason why I decided to get involved and help out. So, I have written everything (I think) that is needed for this enhancement including, adding to the javadoc, creating a new test that verifies this enhancement, and fully testing this with my own projects (many of them @ Struts). If there is anything else I need to do as far as site documentation, please tell me where it is and I'll add it.
> This is my first patch to Maven. If this sucks, please don't ignore it, just say 'it sucks, no thanks" and I'll go about working on something else.
> Thanks so much for your attention.
> --
> James Mitchell
--
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