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 Thu, 24 Mar 2005 22:36:25 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 stevel@apache.org  2005-03-24 23:36 -------
TO be honest, we dont get any complaints about kaffe's non greediness, except at
bootstrap time, because we the shell scripts that boot ant arent kaffe-friendly.
you cant boot ant with kaffe, and its not something anyone is (currently)
motivated to fix.

We get a lot more complains about "ant compiled files I excluded", "javac
filesets broken", etc, etc, with compilers pulling in files that are needed, but
explicitly excluded. IMO, forced inclusion might actually be a good thing all
round, as it stops you accidentally importing app.view.* into app.model.* and so
break layering rules. 

I guess tomcat is a special issue, because it uses ant for javac, but isnt your
normal build file. other things may be similar (eg Axis).

This leads me to another thought. Could we have a new compiler adapter
"best-effort" that does the right thing, perhaps with an ordered list of
preferred tools: apt,modern javac, classic javac, jikes, kjc, ... ). So if
tomcat and axis ask for the  best-effort compiler they get whatever is around,
not just classic javac.

So we would be putting the smartness into ant, but hiding it in a compiler
adapter that could be switched in or out.

-- 
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