• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: War deploy; maven archetypes problems; web.xml filtering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: War deploy; maven archetypes problems; web.xml filtering


  • Subject: Re: War deploy; maven archetypes problems; web.xml filtering
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 21 Oct 2009 15:27:46 +1100

http://lmgtfy.com/?q=maven+pom+model

<resource>
	<directory>src/main/foo</directory>
	<filtering>true</filtering>
	...
</resource>

:)

On 21/10/2009, at 2:05 PM, Mr. G Brown wrote:

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

with regards, --

Lachlan Deck



_______________________________________________
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


  • Follow-Ups:
    • Re: War deploy; maven archetypes problems; web.xml filtering
      • From: Henrique Prange <email@hidden>
References: 
 >War deploy; maven archetypes problems; web.xml filtering (From: "Mr. G Brown" <email@hidden>)

  • Prev by Date: War deploy; maven archetypes problems; web.xml filtering
  • Next by Date: Stoping internal WOComponent processes
  • Previous by thread: War deploy; maven archetypes problems; web.xml filtering
  • Next by thread: Re: War deploy; maven archetypes problems; web.xml filtering
  • Index(es):
    • Date
    • Thread