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 JavacExternal.java
Date Tue, 07 May 2002 13:43:34 GMT
bodewig     02/05/07 06:43:34

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers Tag:
                        ANT_15_BRANCH JavacExternal.java
  Log:
  Base decision for/against @files on the compiler the user wants to use
  instead of the current JDK.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.2   +1 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/JavacExternal.java
  
  Index: JavacExternal.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/JavacExternal.java,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- JavacExternal.java	7 May 2002 13:40:10 -0000	1.6.2.1
  +++ JavacExternal.java	7 May 2002 13:43:34 -0000	1.6.2.2
  @@ -57,7 +57,6 @@
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.types.Commandline;
  -import org.apache.tools.ant.util.JavaEnvUtils;
   
   /**
    * Performs a compile using javac externally.
  @@ -76,8 +75,7 @@
           Commandline cmd = new Commandline();
           cmd.setExecutable(getJavac().getJavacExecutable());
           setupModernJavacCommandlineSwitches(cmd);
  -        int firstFileName = JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1) 
  -            ? -1 : cmd.size();
  +        int firstFileName = assumeJava11() ? -1 : cmd.size();
           logAndAddFilesToCompile(cmd);
   
           return 
  
  
  

--
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