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>

-- 

Marc Paquette
Conseiller Principal, Architecture de solutions, WEI
Tel: 514-288-4680 x2028 (boite vocale: 8008)
[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to