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 - 02:31:48 EST