Re: JBoss deployment

From: Pierre Frisch (pierre.frisc..pearway.com)
Date: Wed Dec 03 2003 - 07:33:44 EST

  • Next message: Ian McDougall: "RE: Frameworks, Incremental Builder, and how we should develop."

    Hi Ulrich,

    Thanks for the information. With WO5.2.2 and XCode there is a new
    option for frameworks BUNDLE_AS_JAR that produce a jar file that is
    equivalent to the complete framework i.e. it includes all the
    resources. The script that does this CoaxBundleIntoJar.sh. I can create
    an ant task manually to do something similar, but I was wondering if
    woframework had a similar option?

    Pierre

    On Tuesday, December 2, 2003, at 11:31 PM, Ulrich Köster wrote:

    > Hi Pierre,
    >
    > the woapplication task has some new options:
    >
    > http://objectstyle.org/woproject/ant/woapplication.html
    >
    >
    > The build.xml generated by WOLips:
    >
    > <!-- add webXML="true" to generate a web.xml file -->
    > <woapplication name="${project.name}" stdFrameworks="false"
    > destDir="${dest.dir}">
    >
    > <!-- optional targets -->
    >
    > <!-- war target-->
    > <!-- To use this target remove the if="${never}" statement and
    > create the LICENSE in your project
    > and create the web.xml file with the woapplication task.-->
    > <target name="war" if="${never}">
    > <war destfile="${dest.dir}/${project.name}.war"
    > webxml="${dest.dir}/${project.name}.woa/Contents/web.xml">
    > <fileset dir="${dest.dir}">
    > <include name="${project.name}.woa/**"/>
    > </fileset>
    > <fileset dir="..">
    > <include name="LICENSE"/>
    > </fileset>
    > <lib
    > dir="${wo.wosystemroot}/Library/Frameworks/JavaWOJSPServlet.framework/
    > WebServerResources/Java/">
    > <include name="JavaWOJSPServlet_client.jar"/>
    > </lib>
    > <zipfileset
    > dir="${wo.wosystemroot}/Library/Frameworks/JavaWOJSPServlet.framework/
    > Resources/" prefix="tlds">
    > <include name="WOtaglib_1_0.tld"/>
    > </zipfileset>
    > </war>
    > </target>
    >
    > <!-- ssdd target-->
    > <!-- To use this target remove the if="${never}" statement and
    > create the LICENSE in your project
    > and create the web.xml file with the woapplication task.-->
    > <target name="ssdd" if="${never}">
    > <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>
    >
    > I would also recommend that you embed your frameworks:
    >
    > <frameworks root="${wo.wosystemroot}" embed="true">
    > .
    > .
    > </frameworks>
    >
    > Please report your problems with it.
    >
    >
    > Ulrich
    >
    >
    > Am 02.12.2003 um 22:24 schrieb Pierre Frisch:
    >
    >> I have a fairly large project (4 apps and 10 frameworks) that build
    >> with WOProject and XCode. I would like to try deploying with JBoss
    >> under Panther instead of JavaManitor that don't appears to work
    >> properly. Has anyone done it already? How do you package the
    >> application for JBoss with WOProject?
    >>
    >> Pierre
    >>
    >>



    This archive was generated by hypermail 2.0.0 : Wed Dec 03 2003 - 07:33:45 EST