<!-- 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to