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 34231] - options in compilerarg silently overridden by defaults or ignored.
Date Wed, 30 Mar 2005 09:42:06 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=34231>.
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=34231





------- Additional Comments From stevel@apache.org  2005-03-30 11:42 -------
I this is probably invalid, 

First,

<compilerarg value="-Xlint:-unchecked -target 1.4" compiler="java1.5"/>

is wrong. that is setting one single argument to the compiler,
"-Xlint:-unchecked -target 1.4" . Split it into two targets.

Second, there is no java1.5 compiler. We dont do versioning like that. The
compilers that are listed are named in the <javac> docs; something like "modern"
or "jikes" are what we expect. 

This means
1. your option was silently ignored because it wasnt the appropriate compiler
setting
2. if it hadnt been ignored, it would have been an error. 

As with bug #21101, we dont have any plans to do consistency checking of
arguments. Once you start adding manual arguments, you are on your own, I am
afraid. 

What we could do is improve diagnostics in -verbose mode, describing which
<compilerargs> are being dropped as the compiler doesnt match. 



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