> 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. What do you mean ? I don't really understand what you mean. It's not about maven filtering correclty or not. It's about the maven eclipse plugin that I don't want to fill in the exluded/included pattern in the .classpath file. It has to leave this alone. > 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. That's true for a simple project but I have several super pom's that doesn't appear in eclipse, but the sub projects have to appear in eclipse as projects. And I don't see a way to update the .classpath files with m2eclipse when updating the version of a library... :(.. Because my super pom does'n't appear in eclipse, neither can I update my .classpath files (about 10 of them) in one-go. That is: outside eclipse, I simple run mvn eclipse:eclipse and it updates all my .classpath files and also includes the other sub projects as eclipse projects and not as jars. Which works nice, but I want to configure it to leave my included/exluded alone...
> Date: Sat, 6 Sep 2008 10:25:15 -0700> From: [EMAIL PROTECTED]> To: > [email protected]> Subject: Re: eclipse:eclipse resource filtering ?> > > > > 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]> _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
