Re: build.xml
Re: build.xml
- Subject: Re: build.xml
- From: Mike Schrag <email@hidden>
- Date: Tue, 17 Jun 2008 12:32:59 -0400
<!-- fix the web.xml file to use a custom Servlet Adaptor that allows for Project Wonder initialization -->
<replaceregexp file="${dest.dir}/${project.name}/WEB-INF/web.xml" match="com.webobjects.jspservlet.WOServletAdaptor" replace="er.extensions.jspservlet.ERXServletAdaptor" byline="true" />
Actually: <woapplication name="${project.name}" stdFrameworks="false" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="${principalClass}" webXML="${webXML}" webXML_CustomContent="${webXML_CustomContent}" servletAdaptor = "er.extensions.jspservlet.ERXServletAdaptor">
note the last part of that line. This should be already included in your build.xml if you created a new "Wonder Application" instead of a "WebObjects Application". Now, if you "replace with latest build.xml" I have no idea how that selects which one to use. But passing in servletAdaptor = is the preferred way to do this.
ms |
_______________________________________________
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