dara kok wrote:
I build a custom application not the one from the sample directory.
So please tell me how to generate war file from my custom application so i
can deploy it in tomcat?
Thanks,
Hi,
You need to write "war" target by yourself, you can refer to ANT manual
for this target
and also you can see how cxf does in the "common_build.xml" file.
<war destfile="@{dir}/@{filename}" webxml="@{webxml}">
<classes dir="@{classesdir}"/>
<webinf dir="${wsdl.dir}">
<include name="cxf-servlet.xml"/>
</webinf>
<webinf dir="${wsdl.dir}/..">
<include name="wsdl/@{wsdl}"/>
</webinf>
<webinf dir="${config.dir}">
<include name="*.*" />
</webinf>
<lib dir="${war-lib}">
<include name="*.jar"/>
</lib>
</war>
Thanks
Jeff