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 2006/11/22 20:41:31 UTC

[jira] Updated: (MECLIPSE-104) Add the ability to specify source exclusions

     [ http://jira.codehaus.org/browse/MECLIPSE-104?page=all ]

Cameron Fieber updated MECLIPSE-104:
------------------------------------

    Attachment: fix-eclipse-classpaths.sh

I wouldn't mind seeing this one fixed if it's easy.

In the meantime I'm attaching a simple shell script I use to add the exclusion for the .svn directory to the generated .classpath files.  It should be easy enough to modify if you use CVS

> 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