Hi, The filtering of the files in the archetype plugin is done using Velocity. This means that ech filtered file is a Velocity template. # is a comment char in velocity.
If your file has no filtering to be done on it (don't use properties asked by the plugin), consider putting it in a non-filtered fileset in your archetype-metadata. Another option could be to create your archetype from a sample project, see what is automatically done then hack the created archetype where the automatic creation don't fit your needs. Regards, Raphaël 2009/4/22 Lachlan Deck <[email protected]> > On 22/04/2009, at 7:15 PM, Nick Stolwijk wrote: > > Could you try it with the debug option (-X). Maybe that shows what jar >> file gets extracted. >> > > I just identified the problem. In a properties file I had the following in > the archetype: > > ########################## > # Some section heading > ########################## > some.java.property = foo > > And in the generated project the '##################' were getting > stripped. > > Not sure why. Is this documented somewhere? > (These were the only lines I'd added. By adding a bogus java property I see > that the file is certainly being used.) > > > with regards, > -- > > Lachlan Deck > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
