Re: Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread nicolas de loof
What differs between the plexus-utils DirectoryScanner and the ant one ?

Nico.

2007/10/8, Manos Batsis <[EMAIL PROTECTED]>:
>
> Tim Kettler wrote:
> > the plugins provided by the maven team use plexus-utils for this [1].
> > The relevant classes are DirectoryScanner and FileUtils. Have a look at
> > the resources-plugin for how it's done.
>
>
> Thanks Tim, looks like DirectoryScanner is the perfect util class for
> this.
>
> >
> > [1] http://svn.codehaus.org/plexus/plexus-utils/trunk/
> >
>
>
> Manos
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread Manos Batsis

Tim Kettler wrote:
the plugins provided by the maven team use plexus-utils for this [1]. 
The relevant classes are DirectoryScanner and FileUtils. Have a look at 
the resources-plugin for how it's done.



Thanks Tim, looks like DirectoryScanner is the perfect util class for this.



[1] http://svn.codehaus.org/plexus/plexus-utils/trunk/




Manos

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



Re: Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread Tim Kettler

Hi,

the plugins provided by the maven team use plexus-utils for this [1]. 
The relevant classes are DirectoryScanner and FileUtils. Have a look at 
the resources-plugin for how it's done.


-Tim

[1] http://svn.codehaus.org/plexus/plexus-utils/trunk/

Manos Batsis schrieb:


What would be the best approach to implement something like Ant's 
includes/excludes in M2 mojos? Currently i'm only using a very basic 
subclass of DirectoryWalker + Commons IO FileFilterUtils.



   my.groupId
   my.artifactId
   
  src/main
  **/*.ext1
  **/*.ext2
   


Many thanks,

Manos

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



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



Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread Manos Batsis


What would be the best approach to implement something like Ant's 
includes/excludes in M2 mojos? Currently i'm only using a very basic 
subclass of DirectoryWalker + Commons IO FileFilterUtils.



   my.groupId
   my.artifactId
   
  src/main
  **/*.ext1
  **/*.ext2
   


Many thanks,

Manos

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