On Tue, 2005-10-18 at 10:01 +0200, Jorg Heymans wrote: > Jason van Zyl wrote: > > > > Not right now, but I'm going to start using modello at which point I can > > generate an XSD. > >
All right, I've flipped Archetype over to using modello so I can now generate the XSD. > ok cool. > > Is is possible to define pom-style resources in archetype.xml eg > > <resource> > <directory>src/main/webapp/stylesheets</directory> > <includes> > <include>**/*.xslt</include> > </includes> > </resource> Maybe we can chat in IRC and go over scenarios for Cocoon as I would like to enhance Archetype deal with > I'm getting > Caused by: java.lang.NullPointerException > at java.io.File.<init>(File.java:220) > at org.apache.maven.archetype.DefaultArchetype.processTemplate(DefaultAr > chetype.java:437) > at org.apache.maven.archetype.DefaultArchetype.processResources(DefaultA > rchetype.java:411) > Velocity is trying to process a binary file which won't work very well so Archetype needs to allow for non-filtered resources. That's easy enough to fix. > Also, in archetype speak, what is the difference between the <sources>, > <testSources>, <resources> and <siteResources> section ? They all match up with the standard directory layout: sources = src/main/java resources = src/main/resources test-sources = src/test/java test-resources = src/test/resources site-resources = src/site I'm also working on a generator to make creating Archetypes really simple but there are a couple tricky bits there to figure out. I'd also like to specify the the parameters that can be used for interpolation as I want to integrate the Archetype mechanism into IDE so having some metadata about the parameters would help validate any input by the user. > I have a few other questions but i'll post these in separate threads. > > > Thanks > Jorg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org believe nothing, no matter where you read it, or who has said it, not even if i have said it, unless it agrees with your own reason and your own common sense. -- Buddha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]