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/06/07 22:23:50 UTC

DO NOT REPLY [Bug 20580] New: - "target" not working if build.compiler property set to "jikes"

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

<javac>  "target" not working if build.compiler property set to "jikes"

           Summary: <javac>  "target" not working if build.compiler property
                    set to "jikes"
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: aaron@idiscovery.com


When using jikes as the compiler (specified using build.compiler), the "target" 
attribute of the <javac> tag is not being picked up, nor sent to the compiler.

ie. 

<javac srcdir="${src}" destdir="${build}" target="1.1">
...
</javac>

The verbose output below shows that the -target is not being used, as it should.

    [javac] Using jikes compiler
    [javac] Compilation arguments:
    [javac] '-d'
    [javac] '/home/ahughes/projects/opensource/vnc/build'
    [javac] '-classpath'
    [javac] ...
    [javac] '-g'
    [javac]

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