You said that archetype plugin can create custom directory structure. I trying to define my own source directories and test source directories in archetype.xml. My directories has different locations and names from standard. And I cann`t do this because "Embedded error: Template 'src/App.java' not in directory 'src/main/java'. In Jira I found task for empty directory creation. So I cann`t create empty directories and variants of my own directory structures decrease.
2006/10/5, Henrique Prange <[EMAIL PROTECTED]>:
Hi Eric, Yes, you can do that. Take a look at: http://maven.apache.org/guides/mini/guide-creating-archetypes.html But you really can't use the standard directory layout of Maven? Standard over configuration is one of the best values of Maven. Take a look at: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Cheers, Henrique eric.frigot wrote: > Hi All, > > I would like to create an archetype for my own project > structure. I made a framework with a lot of config files and > when i create a new project base on this framework, i must > copy all the files and directories structures. Is-it possible > to create such archetype ? > > Here is a typical directory structure : > project > | > +- JavaSource > | | > | + com.myentreprise.myproject > | | | > | | + /* sources files go here */ > | | > | + config /* files and sub-directories */ > | | > | + /* others config files */ > | > + TestSource > | > + WebContent > | > + /* directories and files, WEB-INF, META-INF, ... */ > > Can an archetype create such structure ? > I am using Eclipse, is-it possible to extend its archetype and > this way create the dependancies ? > > Thanks a lot for any information. > > Accédez au courrier électronique de La Poste > sur www.laposte.net ou sur 3615 LAPOSTENET (0,34€ TTC /mn) > 1 Giga de stockage gratuit – Antispam et antivirus intégrés > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- \o/ Henrique Prange, Moleque de Idéias Educação e Tecnologia Ltda | Phone: 55-21-2710-0178 E-mail: [EMAIL PROTECTED] / \ http://www.moleque.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- С уважением, Середенко Д.Н.
