https://bz.apache.org/bugzilla/show_bug.cgi?id=61936

            Bug ID: 61936
           Summary: Ant not picking the correct javac version
           Product: Ant
           Version: 1.9.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build Process
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I have multiple versions of java installed in my machine and I am changing the
JAVA_HOME and putting the following lines in build.xml

<javac srcdir="${JAVA_SRC_DIR}"    destdir="${JAVA_BUILD_DIR}"  
includeAntRuntime="no"   taskname ="javac1.6">
                 <classpath refid="class.path"/>


Whatever I put in the taskname is not shown in ant.java.version.The java
version what is defined in JAVA_HOME gets shown though on the command prompt I
can see that the compilation is going on with javac1.6,javac1.7,javac1.8

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to