If it helps, here's the build file that I use for wsdl2java WAR's:
http://www.jroller.com/gmazza/date/20071019#step5

Glen

Am Dienstag, den 23.10.2007, 23:57 -0700 schrieb dara kok:
> Thanks so much Jeff Yu.
> 
> You're so helpful.
> 
> 
> 
> Jeff Yu wrote:
> > 
> > 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
> > 
> > 
> 

Reply via email to