struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-struts build.xml
Date Thu, 28 Dec 2000 00:17:54 GMT
craigmcc    00/12/27 16:17:54

  Modified:    .        build.xml
  Log:
  Parameterize the compiler options for debug, deprecation, and optimize.
  Default values remain true, false, and true respectively.
  
  Revision  Changes    Path
  1.24      +15 -8     jakarta-struts/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/build.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- build.xml	2000/12/19 19:23:00	1.23
  +++ build.xml	2000/12/28 00:17:54	1.24
  @@ -4,7 +4,10 @@
     <property name="app.name"       value="struts"/>
     <property name="build.home"     value="../build/${app.name}"/>
     <property name="catalina.home"  value="../build/tomcat-4.0"/>
  +  <property name="debug"          value="true"/>
  +  <property name="deprecation"    value="false"/>
     <property name="dist.home"      value="../dist/${app.name}"/>
  +  <property name="optimize"       value="true"/>
     <property name="project.name"   value="jakarta-struts"/>
     <property name="project.version" value="1.0-dev"/>
     <property name="tomcat.home"    value="../build/tomcat"/>
  @@ -26,7 +29,7 @@
         <fileset dir="src/conf" includes="**/*.dtd"/>
       </copy>
     </target>
  -
  +
     <!-- BUILD:  Create directories and copy files for documentation app -->
     <target name="prepare.documentation">
       <mkdir   dir="${build.home}"/>
  @@ -107,7 +110,8 @@
     <target name="compile.library" depends="prepare.library">
       <javac srcdir="src/share"     destdir="${build.home}/library/classes"
              classpath="${servlet.jar}"
  -	   debug="true" optimize="false" deprecation="false"/>
  +	   debug="${debug}" optimize="${optimize}"
  +     deprecation="${deprecation}"/>
       <copy   todir="${build.home}/library/classes">
         <fileset dir="src/share" includes="**/*.properties"/>
       </copy>
  @@ -132,7 +136,8 @@
       <javac srcdir="src/documentation"
             destdir="${build.home}/documentation/WEB-INF/classes"
           classpath="${build.home}/library/classes:${servlet.jar}"
  -            debug="true" optimize="false" deprecation="false"/>
  +            debug="${debug}" optimize="${optimize}"
  +      deprecation="${deprecation}"/>
   -->
   
       <!-- Copy Struts JAR file and TLDs to the documentation app -->
  @@ -168,7 +173,8 @@
       <javac srcdir="src/example"
             destdir="${build.home}/example/WEB-INF/classes"
           classpath="${build.home}/library/classes:${servlet.jar}"
  -            debug="true" optimize="false" deprecation="false"/>
  +            debug="${debug}" optimize="${optimize}"
  +      deprecation="${deprecation}"/>
       <copy   todir="${build.home}/example/WEB-INF/classes">
         <fileset dir="src/example" includes="**/*.properties"/>
       </copy>
  @@ -202,13 +208,14 @@
         <javac srcdir="web/upload"
                destdir="${build.home}/upload/WEB-INF/classes"
                classpath="${build.home}/library/classes:${servlet.jar}"
  -             debug="true" optimize="false" deprecation="false"/>
  +             debug="${debug}" optimize="${optimize}"
  +       deprecation="${deprecation}"/>
         <copy todir="${build.home}/upload">
           <fileset dir="web/upload" />
         </copy>
         <copy file="${dist.home}/lib/${app.name}.jar"
               tofile="${build.home}/upload/WEB-INF/lib/${app.name}.jar"/>
  -      <copy file="${dist.home}/lib/${app.name}-form.tld"
  +      <copy file="${dist.home}/lib/${app.name}-form.tld"
               todir="${build.home}/upload/WEB-INF" />
     </target>
   
  @@ -218,7 +225,8 @@
       <javac srcdir="src/test"
             destdir="${build.home}/test/WEB-INF/classes"
           classpath="${build.home}/library/classes:${servlet.jar}"
  -            debug="true" optimize="false" deprecation="false"/>
  +            debug="${debug}" optimize="${optimize}"
  +      deprecation="${deprecation}"/>
       <copy  todir="${build.home}/test/WEB-INF/classes">
         <fileset dir="src/test" includes="**/*.properties"/>
       </copy>
  @@ -282,7 +290,6 @@
       <jar jarfile="${dist.home}/webapps/${app.name}-upload.war"
            basedir="${build.home}/upload" includes="**"/>
     </target>
  -
   
     <!-- DIST:  Construct test distributables -->
     <target name="dist.test" depends="dist.library,compile.test">
  
  
  

Mime
View raw message