You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/07/21 23:57:41 UTC

DO NOT REPLY [Bug 21783] New: - ANT 1.5.3 doesn't allow use of classic compiler on j2se 1.4.1_02

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21783>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21783

ANT 1.5.3 doesn't allow use of classic compiler on j2se 1.4.1_02

           Summary: ANT 1.5.3 doesn't allow use of classic compiler on j2se
                    1.4.1_02
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: zacjacobson@hotmail.com


I have an ant script with this property set in it:
        <property name="build.compiler" value="classic"/>
and when I upgraded from ANT 1.4.1 to 1.5.3, this started causing problems.

Here's some output from ant -verbose with ANT 1.4.1

Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Detected Java version: 1.4 in: c:\Java\j2sdk1.4.1_02\jre
Detected OS: Windows 2000
...
    [javac] Using classic compiler
...
    [javac] Note: sun.tools.javac.Main has been deprecated.

And here's some from ANT 1.5.3:

Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build.xml
Detected Java version: 1.4 in: c:\Java\j2sdk1.4.1_02\jre
Detected OS: Windows 2000
...
    [javac] This version of java does not support the classic compiler;
upgrading to modern
    [javac] Using modern compiler

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