• 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: Where is web.xml.template?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is web.xml.template?


  • Subject: Re: Where is web.xml.template?
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 5 Jun 2008 20:32:47 +0930

On 05/06/2008, at 12:11 PM, Paul Hoadley wrote:

On 05/06/2008, at 11:58 AM, Andrew Lindesay wrote:

That article is quite out of date as is basically centric around the X-Code toolset.  I have not had to deploy into servlet for 2+ years so have not had to do this from the wolips/ant/maven environments sorry.  I might take another look at this later in 2008.

No problem.  I skipped around the parts that were obviously out of date, just picking pieces of useful information.  I take it you mean that maybe the WOLips build process doesn't pick up web.xml.template from /Resources/ServletResources/WEB-INF anyway?  I haven't tested that.  Can anyone tell me?

I've tested it.  It doesn't.

So I'm still looking for the default web.xml.template file that's being used when I build a servlet,

I don't think there is one.  I assume it's being generated wholly within the WOApplication Ant task.

and any information on where to put a customized version.

In any case, with a bit of RTFMing (http://wiki.objectstyle.org/confluence/display/WOL/WOApplication) I've solved the problem I wanted to solve: having the WOAppMode parameter output as "Deployment" rather than the default "Development".  All it requires is:

<woapplication name="${project.name}"
   ...
  webxml_WOAppMode="${webXML_WOAppMode}">

in build.xml, and then I can alternate between "Development" and "Deployment" at will in build.properties.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
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

References: 
 >RE: Where is web.xml.template? (From: Andrew Lindesay <email@hidden>)
 >Re: Where is web.xml.template? (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Basic HTML parsing for input?
  • Next by Date: Method 'PUT' is not supported
  • Previous by thread: Re: Where is web.xml.template?
  • Next by thread: Basic HTML parsing for input?
  • Index(es):
    • Date
    • Thread