You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pierre++ <pi...@patent-organizer.com> on 2007/07/27 11:22:49 UTC
Re: AW: Excluding attribute for eclipse maven 2 plugin
Dear all,
Do you know if this issue will be fixed soon?
It may be a modification within EclipseClasspathWriter.java to add
"|**/.sn/*" to the excludes string:
>> excludes = StringUtils.isEmpty( excludes ) ? "**/*.java|**/.svn/*"
: excludes + "|**/*.java|**/.svn/*";
But I don't know the procedure to integrate this modification.....
Regards,
Pierre
Wilko.kempa wrote:
>
> Done - please see http://jira.codehaus.org/browse/MECLIPSE-232
> Wilko
>
> -----Ursprüngliche Nachricht-----
> Von: franz see [mailto:franz.see@gmail.com]
> Gesendet: Donnerstag, 15. Februar 2007 13:00
> An: users@maven.apache.org
> Betreff: Re: [m2] Excluding attribute for eclipse maven 2 plugin
>
> Good day to you, Wilko,
> I don't think that's supported. You may want to file a jira issue for that
> in [1].
> Cheers,
> Franz
>
> [1] http://jira.codehaus.org/browse/MECLIPSE
>
>
> Wilko.kempa wrote:
>>
>> Hi
>>
>> we are using the maven 2 eclipse plugin with eclipse:eclipse to create
>> our eclipse project files. Unfortunately there seems to be no way to
>> create a classpath entry with an excluding attribute. This would be
>> very helpful to exclude ".svn" files form source path.
>>
>> Has anybody an idea on how to create the excluding attribute?
>>
>> Now generated (first entry within .classpath file):
>> <classpathentry kind="src" path="src/main/java"/>
>>
>> Should be:
>> <classpathentry kind="src" excluding="**/.svn/*"
>> path="src/main/java"/>
>>
>> Without this we get a lot of duplicate ".svn.. file" warnings within
>> the j2ee perspective of eclipse callisto
>>
>> I found this request
>> http://mail-archives.apache.org/mod_mbox/maven-dev/200306.mbox/%3COFA4
>> 09C5EC.03A60E5E-ONCA256D3A.00031339-CA256D3A.00037B46@multitask.com.au
>> %3E
>> but this seems to be on maven 1.0.
>>
>> Thx
>> Wilko
>
--
View this message in context: http://www.nabble.com/Excluding-attribute-for-eclipse-maven-2-plugin-tf3233144s177.html#a11825531
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org