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 35325] - javac: properties for default source and target version
Date Sat, 11 Jun 2005 06:46:04 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=35325>.
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=35325


jglick@netbeans.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@netbeans.org




------- Additional Comments From jglick@netbeans.org  2005-06-11 08:46 -------
IMHO people using <javac> should always specify source (which implies a
reasonable target as well). If you wrote the sources, you know what source level
they use, so you should declare it. There is no reason I can see to make this
variable dependent on system config. (Obviously if some project is using a
source level higher than that supported by the compiler Ant is running, you are
in trouble, but using a magic value for the source level would just give you
compiler errors anyway.)

BTW the <javac> doc page already recommends that source always be explicit.

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