ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers DefaultCompilerAdapter.java
Date Fri, 19 Apr 2002 12:12:57 GMT
bodewig     02/04/19 05:12:57

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers
                        DefaultCompilerAdapter.java
  Log:
  I've forgotten that one can set <javac>'s fork option via
  build.compiler as well.
  
  Revision  Changes    Path
  1.27      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  
  Index: DefaultCompilerAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- DefaultCompilerAdapter.java	18 Apr 2002 14:18:59 -0000	1.26
  +++ DefaultCompilerAdapter.java	19 Apr 2002 12:12:57 -0000	1.27
  @@ -472,6 +472,8 @@
       protected boolean assumeJava11() {
           return "javac1.1".equals(attributes.getCompilerVersion()) ||
               ("classic".equals(attributes.getCompilerVersion()) 
  +             && JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) ||
  +            ("extJavac".equals(attributes.getCompilerVersion()) 
                && JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1));
       }
   
  @@ -482,6 +484,8 @@
       protected boolean assumeJava12() {
           return "javac1.2".equals(attributes.getCompilerVersion()) ||
               ("classic".equals(attributes.getCompilerVersion()) 
  +             && JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_2)) ||
  +            ("extJavac".equals(attributes.getCompilerVersion()) 
                && JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_2));
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message