War deploy; maven archetypes problems; web.xml filtering
War deploy; maven archetypes problems; web.xml filtering
- Subject: War deploy; maven archetypes problems; web.xml filtering
- From: "Mr. G Brown" <email@hidden>
- Date: Tue, 20 Oct 2009 23:05:41 -0400
Hi,
I used the woapp-servlet 2.1 archetype to create a simple no wonder
project. If I look in the produced .war file, the web.xml file has
lines lilke:
<web-app>
<display-name>${project.build.finalName}</display-name>
<context-param>
<param-name>WOJarBundle</param-name>
<param-value>YES</param-value>
<description>
Whether this app is a "true" WAR, rather than a "stub" WAR
or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT,
WOClassPath are ignored if this is true However, if this is
true, WOMainBundle must be set to the main bundle name
</description>
</context-param>
<context-param>
<param-name>WOMainBundle</param-name>
<param-value>${project.build.finalName}</param-value>
<description>
Sets the name of the main bundle. Only used if WOJarBundle
is true
</description>
</context-param>
I will guess that the ${project.build.finalName} should be working
with the .pom file to supply a value for that variable.
Is the pom not quite right? That file needs 'filtering'; but what
path is the WEB-INF/web.xml file on?
How does one specify filtering for the web.xml file?
It looks like the Info.plist file gets filtered ok with the 2.1
archetype projects, but not the web.xml file.
Thanks,
gb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden