It would be nice in designing archetypes if you could make use of package structure under the java directories, e.g. Having something like foo/bar/baz.java and specifying a package of a.b.c would yield the file a/b/c/foo/bar/baz.java instead of foo/bar/a/b/c/baz.java.
-- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of Information Services The University of Kansas On 4/6/06 4:13 AM, "Christopher Cudennec" <[EMAIL PROTECTED]> wrote: > Hey, > > thanks for the answer. I got to it by thinking and reading the > documentation in the meantime as well ;). Archetypes are not what I was > really looking for to tell the truth. I prefer copying my pom.xml in my > existing projects. It's really poor that you need to define any kind of > file for a folder to be created. Just giving a folder name for "source" > does nothing... Using "allowPartial" didn't work out as well, so I'm > quite annoyed by the archetype. The main stuff (packaging, ...) worked > fine nevertheless... > > Thanks, > Christopher > > Napoleon Esmundo Ramirez schrieb: >> Hello, >> >> The archetype plugin gives you a kick to start on projects immediately. It >> creates the template of your project as far as sources and resources are >> concerned. The target is defined in the project's pom.xml and it doesn't >> need to be in the archetype as it frequently gets cleaned in the file >> system. :) >> >> Cheers! >> Nap >> >> On 4/5/06, Christopher Cudennec <[EMAIL PROTECTED]> wrote: >> >>> Hello everyone, >>> >>> I try to get to know what I can do by the archetype plugin. The guide to >>> creating archetypes is alright for the basics but I would like to know >>> how to set more variables by the archetype.xml. The documentation talks >>> about setting the source and test-source-directory. But what about the >>> target directory? In order to be able to adjust my own archetype to my >>> existing project structure I would like to be able to set this one as >>> well. I would appreciate any comments or a DTD ;). >>> >>> Thanks, >>> >>> Christopher >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> >> ------------------------------------------------------------------------ >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 05.04.2006 >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
