Re: archetype-metadata optional filesets?

2009-04-10 Thread Lachlan Deck

Thanks.

On 09/04/2009, at 8:17 PM, Raphaël Piéroni wrote:


Hi Lachlan Deck,

Currently, the filesets are not optional.

Regards,

Raphaël

2009/4/9 Lachlan Deck lachlan.d...@gmail.com:

Anyone?

On 07/04/2009, at 8:56 AM, Lachlan Deck wrote:


Hi there,

Just a quick question: say I've got a fileset in the archetype  
descriptor

like so:

?xml version=1.0 encoding=UTF-8?
archetype-descriptor name=woapplication-archetype
   requiredProperties
   ...
   /requiredProperties
   fileSets
   fileSet filtered=true packaged=true  
encoding=UTF-8

   directorysrc/main/java/directory
   includes
   include**/*.java/include
   /includes
   /fileSet
   ...
   /fileSets
/archetype-descriptor

Is it possible to define either an include/exlude or an optional  
fileset

that's driven by the properties?
Otherwise, how do other people optionally include/exclude files  
during

arhcetype:generate?


i.e., based on requiredProperties?


Thanks.


with regards,
--

Lachlan Deck




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



with regards,
--

Lachlan Deck




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: archetype-metadata optional filesets?

2009-04-09 Thread Raphaël Piéroni
Hi Lachlan Deck,

Currently, the filesets are not optional.

Regards,

Raphaël

2009/4/9 Lachlan Deck lachlan.d...@gmail.com:
 Anyone?

 On 07/04/2009, at 8:56 AM, Lachlan Deck wrote:

 Hi there,

 Just a quick question: say I've got a fileset in the archetype descriptor
 like so:

 ?xml version=1.0 encoding=UTF-8?
 archetype-descriptor name=woapplication-archetype
        requiredProperties
                ...
        /requiredProperties
        fileSets
                fileSet filtered=true packaged=true encoding=UTF-8
                        directorysrc/main/java/directory
                        includes
                                include**/*.java/include
                        /includes
                /fileSet
                ...
        /fileSets
 /archetype-descriptor

 Is it possible to define either an include/exlude or an optional fileset
 that's driven by the properties?
 Otherwise, how do other people optionally include/exclude files during
 arhcetype:generate?

 i.e., based on requiredProperties?

 Thanks.

 with regards,
 --

 Lachlan Deck




 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: archetype-metadata optional filesets?

2009-04-08 Thread Lachlan Deck

Anyone?

On 07/04/2009, at 8:56 AM, Lachlan Deck wrote:


Hi there,

Just a quick question: say I've got a fileset in the archetype  
descriptor like so:


?xml version=1.0 encoding=UTF-8?
archetype-descriptor name=woapplication-archetype
requiredProperties
...
/requiredProperties
fileSets
fileSet filtered=true packaged=true encoding=UTF-8
directorysrc/main/java/directory
includes
include**/*.java/include
/includes
/fileSet
...
/fileSets
/archetype-descriptor

Is it possible to define either an include/exlude or an optional  
fileset that's driven by the properties?
Otherwise, how do other people optionally include/exclude files  
during arhcetype:generate?


i.e., based on requiredProperties?


Thanks.


with regards,
--

Lachlan Deck




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org