tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0 build.xml
Date Mon, 28 Aug 2000 00:37:05 GMT
craigmcc    00/08/27 17:37:05

  Modified:    .        build.xml
  Log:
  Refine "dist" commands to include all of the appropriate Javadoc, and the
  Tomcat 4.0 source code, in the binary distribution.
  
  Revision  Changes    Path
  1.2       +15 -1     jakarta-tomcat-4.0/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2000/08/26 01:18:07	1.1
  +++ build.xml	2000/08/28 00:37:05	1.2
  @@ -4,6 +4,8 @@
     <!-- ===================== Initialize Property Values =================== -->
     <property name="ant.home"        value="../jakarta-ant"/>
     <property name="build.compiler"  value="classic"/>
  +  <property name="catalina.build"  value="../build/catalina"/>
  +  <property name="jasper.build"    value="../build/jasper"/>
     <property name="jaxp.home"       value="../jaxp"/>
     <property name="jsse.home"       value="../jsse"/>
     <property name="regexp.home"     value="../jakarta-regexp"/>
  @@ -91,13 +93,25 @@
     <!-- ====================== DIST: Create Javadoc ======================== -->
     <target name="dist-javadoc">
       <ant dir="./catalina" target="javadoc"/>
  +    <copydir src="${catalina.build}/javadoc"
  +            dest="${tomcat.build}/webapps/ROOT/catalina-javadoc"/>
       <ant dir="./jasper" target="javadoc"/>
  +    <copydir src="${jasper.build}/javadoc"
  +            dest="${tomcat.build}/webapps/ROOT/jasper-javadoc"/>
       <copydir src="${servletapi.dist}/docs/api"
               dest="${tomcat.build}/webapps/ROOT/servletapi-javadoc"/>
     </target>
   
  +
  +  <!-- ====================== DIST: Copy Source Code ====================== -->
  +  <target name="dist-source">
  +    <mkdir dir="${tomcat.build}/src"/>
  +    <copydir src="." dest="${tomcat.build}/src"/>
  +  </target>
  +
  +
     <!-- ====================== DIST: Create Archives ======================= -->
  -  <target name="dist" depends="dist-javadoc,dist-static">
  +  <target name="dist" depends="dist-static,dist-javadoc,dist-source">
       <jar jarfile="${tomcat.dist}/webapps/ROOT.war"
            basedir="${tomcat.build}/webapps/ROOT" includes="**"/>
       <jar jarfile="${tomcat.dist}/webapps/examples.war"
  
  
  

Mime
View raw message