jakarta-servletapi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-servletapi-4 build.xml
Date Fri, 20 Jul 2001 19:51:05 GMT
craigmcc    01/07/20 12:51:05

  Modified:    .        build.xml
  Log:
  Add some Ant properties for javac compilation options so that you can
  modify the behavior from the "ant" command line.
  
  Revision  Changes    Path
  1.5       +9 -4      jakarta-servletapi-4/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	2001/07/20 19:19:48	1.4
  +++ build.xml	2001/07/20 19:51:05	1.5
  @@ -8,11 +8,15 @@
     <property file="${user.home}/build.properties"/>
   
     <!-- Establish property definition defaults -->
  -  <property name="servletapi.build" value="build"/>
  -  <property name="servletapi.dist"  value="dist"/>
  -  <property name="servletapi.lib"   value="lib"/>
  +  <property name="compile.debug"       value="true"/>
  +  <property name="compile.deprecation" value="false"/>
  +  <property name="compile.optimize"    value="true"/>
  +  <property name="servletapi.build"    value="build"/>
  +  <property name="servletapi.dist"     value="dist"/>
  +  <property name="servletapi.lib"      value="lib"/>
   
   
  +
     <!-- ===================== Prepare Directories ========================= -->
     <target name="prepare">
   
  @@ -54,7 +58,8 @@
   
       <!-- Java classes -->
       <javac srcdir="src/share" destdir="${servletapi.build}/classes"
  -           debug="on" optimize="on" deprecation="on"/>
  +           debug="${compile.debug}" deprecation="${compile.deprecation}"
  +        optimize="${compile.optimize}"/>
   
       <!-- Associated property files -->
       <copy todir="${servletapi.build}/classes">
  
  
  

Mime
View raw message