[OS-JIRA] Created: (WOL-951) Servlet Deployment when using Project Wonder

From: David Avendasora (JIRA) ("David)
Date: Thu Jan 22 2009 - 17:18:28 EST

  • Next message: David Avendasora: "Re: Referenced Libraries in Project Frameworks"

    Servlet Deployment when using Project Wonder
    --------------------------------------------

                     Key: WOL-951
                     URL: http://issues.objectstyle.org/jira/browse/WOL-951
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: woproject
        Affects Versions: AgentJ
             Environment: WO 5.3, Eclipse 3.4.1, WOLips 5630
                Reporter: David Avendasora

    When deploying a wonder project as a Servlet, you need to use Wonder's Servlet Adaptor. Currently I just modify the build.xml file to fix the web.xml file after it has been generated, but it would be better if the web.xml were generated correctly in the first place. Here's the code that I add to the "ssdd" target in the build.xml file:

                    <!-- 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" />

    Somehow WOLips will need to know that it is a WOnder project. Maybe a check box next to the Servlet Deployment checkbox in the project properties.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Thu Jan 22 2009 - 17:19:18 EST