You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Butler <cb...@mateso.com> on 2003/02/26 21:04:57 UTC
web.xml, war plugin, much head banging
Heya folks,
Got a bothersome issue. I get xdoclet:webdoclet to nicely build me a
web.xml from my struts components and maven is happy to move it
around... however, when I go to use a "war" related goal, the web.xml
is not copied from the file specified in my ${maven.war.webxml}
variable...
My hunch is that (pre-Ant task) web.xml to (post-war task) web.xml is
the problem. XDoclet automatically creates the web.xml file, so I don't
think I can rename it... or I could rename it in a preGoal somehow
sandwiches post-xdoclet:webdoclet goal call...
Ideas? I've been banging away on this for some time.
What I do know:
- the war-plugin does exclude "WEB-INF/web.xml" from it file roundup for
the war.
- xdoclet:webdoclet does create a file named "web.xml" with my struts
blurbs correctly placed in it.
Thnx.
C