| Author |
Maven Archtype - Solutions / idea needed
|
Ganesh Gowtham
Ranch Hand
Joined: Mar 30, 2005
Posts: 223
|
|
Hi Friends ,
I would to create the maven archtype for my project .
1. Only Webservices
2 . web project + web services
on seeing the below page , i got some idea how to kick start .
Maven Archtype
I know that maven archtype when given ${xx.dd} will ask the user , based on which files at the target folder gets changed ( exmple package , name of files ....)
my scenario is like user should be questioned like do you need only webservices (or) webapp + ws , based on which i need to create the target webapp . ( i know for single webapp we maintain archtype.xml which has list of files to be included ....)
Question
Is it possible to ask question , do you need ws (or) webapp + ws ? if so how ?
|
Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
I think you're trying to turn the archetype builder into a wizard, and that's stretching its intended purpose. The archetypes are supposed to essentially template out model projects of particular generic types, so you'd typically have a web archetype and a non-web archetype, for example. You can enhance this process with specialized goals, such as the Eclipse and IntelliJ plugins, which will upgrade an existing project to add in support for their respective IDEs.
On the other hand, for an example of a much more sophisticated approach, take a look at Spring Roo. It's a command-line tool that lays out a prototype, then allows extensive round-trip modifications of the project.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Maven Archtype - Solutions / idea needed
|
|
|