cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dara kok <mrpc.cambo...@gmail.com>
Subject Re: can't generate war file from ant build
Date Wed, 24 Oct 2007 06:57:21 GMT

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
> 
> 

-- 
View this message in context: http://www.nabble.com/can%27t-generate-war-file-from-ant-build-tf4681559.html#a13380045
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message