Hi,

Last week, i talk with Nicolas de Loof
who tells me about an archetype feature
he need:
modify (read merge) the generated web.xml
file from a webapp archetype (when using
that archetype in a partial creation (read
using an archetype in an existing project to
enhance its features).

I wonder if hooking the behaviour in a way like
this is a correct feature:
<fileset>
 <directory>src/webapp</directory>
 <behaviour>ClassName</behaviour>
 <includes>...</includes>
</fileset>

with ClassName the FQN of a class located
in the archetype's artifact.

Some other tough i have is to have a groovy
script instead of the class.
Both the class or the script is called with the
java.io.File object for each generated file from
the fileset.

WDYT?

Raphaël

Reply via email to