tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Wed, 29 Dec 1999 19:05:19 GMT
rubys       99/12/29 11:05:19

  Modified:    ant/src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Add support for the optimize flag in Javac
  Submitted by: Arnout Kuiper <Arnout.Kuiper@nl.origin-it.com>
  
  Revision  Changes    Path
  1.15      +14 -0     jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Javac.java	1999/12/13 20:13:07	1.14
  +++ Javac.java	1999/12/29 19:05:19	1.15
  @@ -176,6 +176,20 @@
       }
   
       /**
  +     * Set the optimize flag. Valid strings are "on", "off", "true", and
  +     * "false".
  +     */
  +
  +     public void setOptimize(String optimizeString) {
  +	 if (optimizeString.equalsIgnoreCase("on") ||
  +	     optimizeString.equalsIgnoreCase("true")) {
  +	     optimize = true;
  +	 } else {
  +	     optimize = false;
  +	 }
  +     }
  +
  +    /**
        * Sets the target VM that the classes will be compiled for. Valid
        * strings are "1.1", "1.2", and "1.3".
        */
  
  
  

Mime
View raw message