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 2002/03/01 16:09:46 UTC

DO NOT REPLY [Bug 6787] New: - Jikes compiler used even compiler.build property is set to "javac1.3"

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=6787>.
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=6787

Jikes compiler used even compiler.build property is set to "javac1.3"

           Summary: Jikes compiler used even compiler.build property is set
                    to "javac1.3"
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: karpov@ispras.ru


build.xml:

<?xml version="1.0"?>
<project name="test" default="compile">
    <property name="build.compiler" value="javac1.3"/>

    <property name="src" value="./src"/>
    <property name="classes" value="./classes"/>

    <target name="init">
        <mkdir dir="${classes}"/>
    </target>

    <target name="compile" depends="init">
        <javac srcdir="${src}" destdir="${classes}" debug="on"/>
    </target>
</project>

But I've received:

Ant version 1.4.1 compiled on November 20 2001
Buildfile: build.xml
Detected Java version: 1.3 in: /soft/opt/j2sdk1.3.1/jre
Detected OS: Linux
parsing buildfile /home/karpov/temp/ant_test/build.xml with URI = file:/home/karpov/temp/ant_test/build.xml
Project base dir set to: /home/karpov/temp/ant_test
 [property] Override ignored for build.compiler
Build sequence for target `compile' is [init, compile]
Complete build sequence is [init, compile]

init:
    [mkdir] Created dir: /home/karpov/temp/ant_test/classes

compile:
    [javac] Test.java added as /home/karpov/temp/ant_test/classes/Test.class doesn't exist.
    [javac] Compiling 1 source file to /home/karpov/temp/ant_test/classes
    [javac] Using jikes compiler
    [javac] Compilation args: jikes -d /home/karpov/temp/ant_test/classes -classpath 
/home/karpov/temp/ant_test/classes:/usr/share/java/ant.jar:/usr/share/java/ant-optional.jar:/usr/share/java/jaxp_parser.jar:/soft/opt/j2sdk1.3.1/lib/tools.jar:/soft/opt/j2sdk1.3.1/jre/lib/rt.jar:/home/karpov/temp/ant_test/src 
-g
    [javac] File to be compiled:
    /home/karpov/temp/ant_test/src/Test.java

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>