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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]