Re: Servlet Single Directory Deployment

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Mon Dec 22 2003 - 05:09:58 EST

  • Next message: Kamal Shah: "WOBuilder keys in Panther"

    Hi Jonathan,

    the first step for ssdd is the web.xml. Just add webXML="true" to the
    WOApplication task. A lot of optional parameter for the web.xml:
    http://objectstyle.org/woproject/ant/woapplication.html
    In the second step you have to create a LICENSE file. You can take the
    one generated by PB(X).

    The final step is ssdd:

         <target name="ssdd">
                 <mkdir dir="${dest.dir}/${project.name}/WEB-INF/tlds"/>
                 <copy todir="${dest.dir}/${project.name}/WEB-INF/">
                 <fileset dir="${dest.dir}/${project.name}.woa/Contents/">
                     <include name="web.xml"/>
                 </fileset>
             </copy>
                 <copy todir="${dest.dir}/${project.name}/WEB-INF/">
                 <fileset dir="..">
                     <include name="LICENSE"/>
                 </fileset>
             </copy>
             <copy todir="${dest.dir}/${project.name}/WEB-INF/">
                 <fileset dir="${dest.dir}">
                     <include name="${project.name}.woa/**"/>
                 </fileset>
             </copy>
                 <copy todir="${dest.dir}/${project.name}/WEB-INF/tlds">
                 <fileset
    dir="${wo.wosystemroot}/Library/Frameworks/JavaWOJSPServlet.framework/
    Resources/">
                     <include name="WOtaglib_1_0.tld"/>
                 </fileset>
             </copy>
          </target>

    The target generates a ssdd from a standard woa.

    Ulrich

    Am 22.12.2003 um 05:45 schrieb Jonathan 'Wolf' Rentzsch:

    > Greetings all,
    >
    > All of a sudden, I care about SSDD. ;)
    >
    > I'm upgrading my server to Panther Server, and see that I have to
    > manually uncomment a shell script line in
    > /System/Library/StartupItems/WebObjects/WebObjects in order for it to
    > start javawoservices correctly, while "Application Server" (java
    > servlets) has a GUI panel in the "Server Admin" program. I get the hint
    > SSDD is becoming the "modern" way to deploy WOApps.
    >
    > Where does WOProject stand in terms of SSDD support? I see chunks of
    > servlet output support, but no coherent picture. Does it work today? If
    > so, can anyone share a sample ant build.xml file that builds both a
    > servlet and a .woa? If the support isn't there, am I correct this would
    > be an addition welcomed to the project?
    >
    > I don't use WOLips, so maybe it has servlet support that I don't know
    > about...
    >
    > .......................................................
    > Jonathan 'Wolf' Rentzsch http://rentzsch.com
    > Red Shed Software http://redshed.net (847) 584-7465
    > PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2
    >
    > "better" necessarily means "different"
    >



    This archive was generated by hypermail 2.0.0 : Mon Dec 22 2003 - 05:09:44 EST