ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31258] New: - add build.compiler.executable default property
Date Thu, 16 Sep 2004 05:14:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31258>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31258

add build.compiler.executable default property

           Summary: add build.compiler.executable default property
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jkristian@openharbor.com


Please enhance the implementation of <javac> to run the compiler program named 
by the Ant property ${build.compiler.executable} if <javac> has no executable 
attribute.

This would enable adjacent definitions of the compiler and its version.  For 
example (in a .properties file):

build.compiler=jikes

build.compiler.executable=T:/tools/jikes/1.20/bin/jikes

This would be better than setting the PATH environment variable so that `jikes` 
resolves to the desired version, in two ways: it eases maintenance, by placing 
related parameters together; and it's less apt to have undesired side-effects 
such as causing child scripts or <ant> invocations to run a different compiler.

This could be implemented in Javac.getExecutable, but perhaps that's a bad idea.

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


Mime
View raw message