I suppose exclude is added for you, so JDT won't overwrite them and you
could run Maven from the command line to get those resource filtered.

  By the way, out of curiosity, why you are not using Maven integration for
Eclipse, such as m2eclipse?  http://m2eclipse.codehaus.org/  It would import
your project automatically and also configure filtering in the IDE.

  regards,
  Eugene



edbras wrote:
> 
> Please some advice on the usage of the eclipse:eclipse command to generate
> the correct eclipse classpath file:
> I have the following filtering in my pom.xml:
>         <resources>
>             <resource>
>                 <directory>src/main/resources</directory>
>                 <filtering>true</filtering>
>                 <includes>
>                     <include>**/application.properties</include>
>                 </includes>
>             </resource>
> 
>             <resource>
>                 <directory>src/main/resources</directory>
>                 <filtering>false</filtering>
>             </resource>
>         </resources>
> 
> If I run eclipse:eclipse it generates the .classpath  file that has the
> following entry:
>     <classpathentry excluding="**/*.java"
> including="**/*.application.properties" kind="src"
> path="src/main/resources"/>
> 
> Question: how can I configure the eclipse:eclipse goal to to not generate
> this including part ?
> 
> I see the relation with the maven config above, but I dont' want this
> :(... I can't find a way that the eclipse:eclipse goal "ignores" the
> filter....:(
> 
> Please some advice?
> 
> I am using maven 2.0.9 and not have any extra eclipse plugin
> configuration.
> 
> -- Ed
> 
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 

-- 
View this message in context: 
http://www.nabble.com/eclipse%3Aeclipse-resource-filtering---tp19344600p19348973.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to