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 34138] - Ant should use other compilers when Sun's Javac can not be found
Date Fri, 29 Apr 2005 18:45:42 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=34138>.
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=34138





------- Additional Comments From fitzsim@redhat.com  2005-04-29 20:45 -------
I satisfied Ant's requirements in java-gcj-compat by using the Eclipse Compiler
for Java (which is very similar in behaviour to Sun's javac) and creating a
tools.jar that contains a com.sun.tools.javac.Main wrapper around ecj. 
Unfortunately this class is not publicly-specified, so it's not really
appropriate for inclusion in free runtimes.

Long term, I'd like to see all free runtimes agree on a standard package for
in-process tools instantiation.  For example, in GNU Classpath we could create a
gnu.tools package and have all free runtime installations agree to implement
that.  Included in the specification of gnu.tools would be the behavior
charateristics that Ant expects of a Java compiler.

In the short term this would be one extra code path in ant's decision making
process.  In the long term, I would hope that all free compilers aspire to match
the capabilities of Sun's javac, and in doing so eliminate the behavioral
differences that Ant currently has to negotiate.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message