You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lachlan Deck <la...@gmail.com> on 2009/04/07 00:56:29 UTC
archetype-metadata optional filesets?
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">
<directory>src/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?
Thanks.
with regards,
--
Lachlan Deck
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: archetype-metadata optional filesets?
Posted by Lachlan Deck <la...@gmail.com>.
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 <la...@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">
>>> <directory>src/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-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
>
with regards,
--
Lachlan Deck
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: archetype-metadata optional filesets?
Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi Lachlan Deck,
Currently, the filesets are not optional.
Regards,
Raphaël
2009/4/9 Lachlan Deck <la...@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">
>> <directory>src/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-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
Re: archetype-metadata optional filesets?
Posted by Lachlan Deck <la...@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">
> <directory>src/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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org