On 7/17/07, benoit moraillon <[EMAIL PROTECTED]> wrote:
Hi appfusers; It would be interesting to have a project "war:inplace" archetype with all ressources and xml configuration files automatically dropped in src/main/ressources instead of having some configuration files in src/main/ressources and others in web-inf/classes It is boring to do the following things on each project : 1) mvn war:inplace 2) delete web-inf/classes/struts.xml, hibernate.cfg.xml etc.. 3) copy error.properties, displaytag.properties etc in src/main/ressources 4) delete target/* What could be the best way to improve this feature ?
If you do "appfuse:full-source", you won't have to do any of these steps. This feature basically copies all of AppFuse's source into your project and removes any merging that gets done. If there's files that get put into WEB-INF/classes that you think should be in src/main/resources by default, we can do that. The current files that get put into src/main/resources are the ones we think every user will have to change. Our assumption is that you won't need to change the other ones. If you're finding you do need to change them, maybe we should add them to the archetype by default? As far as preventing struts.xml from being put into WEB-INF/classes (and just reading it from src/main/resources - I'd *love* to find a solution for that too. Matt
In addition, i think there's a lack of documentation on "war:inplace" and how to set up this feature. Best regards, -- BenoƮt Moraillon
-- http://raibledesigns.com
