You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by davis <da...@gmail.com> on 2007/06/13 05:16:55 UTC
eclipse plugin - exclude pattern for source
Hi,
If you have eclipse open, it is often convenient to right click
/src/test/java and say "Run as JUnit test" -- which creates a dynamic test
suite on the fly and runs all the tests.
However, I'd really like the ability to add an exclusion pattern to avoid
certain tests that may be integration tests (and take a long time).
In Eclipse, you can do this by right-clicking /src/test/java -> Build Path
-> Configure Inclusion / Exclusion Filters
This ends up editing the .classpath file to add the exclusion patterns you
type in.
What I would really like to do is add this info to the pom.xml, and when I
run mvn eclipse:eclipse, this is automatically added to the .classpath file,
but I can't figure out how to do it.
Is this possible?
Thx,
Davis
--
View this message in context: http://www.nabble.com/eclipse-plugin---exclude-pattern-for-source-tf3912333s177.html#a11092104
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
Re: eclipse plugin - exclude pattern for source
Posted by Wayne Fay <wa...@gmail.com>.
I'm not sure if this specific functionality is supported today, but it
sounds like a reasonable thing to add to the eclipse plugin. So if you
verify its not currently available, file a bug against the plugin in
JIRA, and perhaps someone will implement it for you. Or go ahead and
implement it yourself and contribute the code back to the project. ;-)
Wayne
On 6/12/07, davis <da...@gmail.com> wrote:
>
> Hi,
> If you have eclipse open, it is often convenient to right click
> /src/test/java and say "Run as JUnit test" -- which creates a dynamic test
> suite on the fly and runs all the tests.
>
> However, I'd really like the ability to add an exclusion pattern to avoid
> certain tests that may be integration tests (and take a long time).
>
> In Eclipse, you can do this by right-clicking /src/test/java -> Build Path
> -> Configure Inclusion / Exclusion Filters
>
> This ends up editing the .classpath file to add the exclusion patterns you
> type in.
>
> What I would really like to do is add this info to the pom.xml, and when I
> run mvn eclipse:eclipse, this is automatically added to the .classpath file,
> but I can't figure out how to do it.
>
> Is this possible?
>
> Thx,
> Davis
> --
> View this message in context: http://www.nabble.com/eclipse-plugin---exclude-pattern-for-source-tf3912333s177.html#a11092104
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org