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 21785] New: - need away to set <javac> comiler JAVA_HOME outside build script
Date Mon, 21 Jul 2003 22:28:16 GMT
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=21785>.
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=21785

need away to set <javac> comiler JAVA_HOME outside build script

           Summary: need away to set <javac> comiler JAVA_HOME outside build
                    script
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: zacjacobson@hotmail.com


I want to be able to use
<property name="build.compiler" value="classic"/>
in a build script without having to change my system JAVA_HOME. It would be nice
if it was possible to put "build.compiler.classic.home=/wherever" in .antrc .
For other compiler types, the path the executable or whatever similar
information is needed could be supplied similarily.

Compiler locatations are system-dependant, not project dependant in many cases,
like where I develop on a Windows machine but deploy on an AIX machine. I can't
put compiler specific directives in my build script because those values are
different on different machines.

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


Mime
View raw message