commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dIon Gillard <d...@multitask.com.au>
Subject Re: [httpclient] Addition to build.xml to produce .war and .ear test-webapp
Date Fri, 15 Feb 2002 05:00:07 GMT
Committed, thanks!

Marc Paquette wrote:

> Sorry, I forgot the application.xml referenced by the test-webapp-ear 
> below (goes into ${test-webapp.conf.home}).
>
> Marc Paquette wrote:
>
>> Hi all,
>>
>> I submit the following addition to 
>> jakarta-commons/httpclient/build.xml : two targets for producing WAR 
>> and EAR files for the test webapp.  This makes it easier to deploy 
>> the test webapp on other Servlet containers than Tomcat.
>>
>>  <target name="test-webapp-war" depends="compile.test-webapp">
>>     <war warfile="${test-webapp.dest}/httpclienttest.war"
>>      webxml="${test-webapp.conf.home}/web.xml"
>>      basedir="${test-webapp.dest}/httpclienttest/WEB-INF"
>>      excludes="classes/,*.xml">
>>
>>        <classes 
>> dir="${test-webapp.dest}/${httpclient.test.webappContext}/WEB-INF/classes"/> 
>>
>>     </war>
>>   </target>
>>
>>  <target name="test-webapp-ear" 
>> depends="compile.test-webapp,test-webapp-war">
>>     <ear earfile="${test-webapp.dest}/httpclienttest.ear"
>>      appxml="${test-webapp.conf.home}/application.xml">
>>    <fileset dir="${test-webapp.dest}" includes="*.jar,*.war"/>
>>     </ear>
>>  </target>
>>
>
-- 
dIon Gillard, Multitask Consulting
http://www.multitask.com.au/developers




--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message