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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to