bodewig     2004/10/28 00:58:56

  Modified:    src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Removed too much with my last patch
  
  Revision  Changes    Path
  1.123     +4 -2      ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- Javac.java        26 Oct 2004 14:18:39 -0000      1.122
  +++ Javac.java        28 Oct 2004 07:58:56 -0000      1.123
  @@ -849,7 +849,9 @@
       public String getCompiler() {
           String compilerImpl = getCompilerVersion();
           if (fork) {
  -            if (!isJdkCompiler(compilerImpl)) {
  +            if (isJdkCompiler(compilerImpl)) {
  +                compilerImpl = "extJavac";
  +            } else {
                   log("Since compiler setting isn't classic or modern,"
                       + "ignoring fork setting.", Project.MSG_WARN);
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to