ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56617] New: documented magic property ant.build.javac.target not set
Date Thu, 12 Jun 2014 19:46:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56617

            Bug ID: 56617
           Summary: documented magic property ant.build.javac.target not
                    set
           Product: Ant
           Version: 1.9.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: jonathan_gifford@yahoo.com

The two properties ant.build.javac.target and ant.build.javac.source are not
set as documented.    This appears to be confirmed by a quick scan of the
source code for ant.build.javac.target and BUILD_JAVAC_TARGET.

C:\temp>more javac.target.xml
<project name="build-common" default="show.props">

    <target name="show.props">
        <echo>
    ant version:     ${ant.version}
    JDK version:     ${ant.java.version}
    javac.source  ${ant.build.javac.source}
          target  ${ant.build.javac.target}
        </echo>
    </target>

</project>

C:\temp>ant -f javac.target.xml
Buildfile: C:\temp\javac.target.xml

show.props:
     [echo]
     [echo]     ant version:     Apache Ant(TM) version 1.9.4 compiled on April
29 2014
     [echo]     JDK version:     1.6
     [echo]     javac.source  ${ant.build.javac.source}
     [echo]           target  ${ant.build.javac.target}
     [echo]

BUILD SUCCESSFUL
Total time: 0 seconds

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

Mime
View raw message