I might have a similar usecase for netbeans platform based apps. There partial archetype would need to merge the netbeans' layer.xml file (also possibly finding the file in the existing sourcebase and do a merge with the one in the archetype.
another, a bit different usecase. I have 2 archetypes, one for a netbeans platform based app and one for single netbeans module. the pom and other files for the module shall be different when the project is created inside a platform based app or when created on it's own. MIlos On 5/8/07, Raphaël Piéroni <[EMAIL PROTECTED]> wrote:
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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
