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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>