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 5167] New: - javac default behavior different w/ ant for debug
Date Wed, 28 Nov 2001 17:12: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=5167>.
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=5167

javac default behavior different w/ ant for debug

           Summary: javac default behavior different w/ ant for debug
           Product: Ant
           Version: 1.4.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: brauneis@us.ibm.com


The default behavior of javac (outside of ant) is to compile with no -g flag, 
thereby building w/ lines and source debug information. The default behavior of 
javac (inside of ant) is to build w/ -g:none, which builds no debug information.

I would like to propose that the default behavior of javac in ant is the same 
as the default behavior of javac in the jdk. Futhermore, it would be useful to 
add an additional tag for "debug flags" so if debug="on" you can specify what 
debug flags you would like to be built with.

Debug is being set to values in DefaultCompilerAdapter.java

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


Mime
View raw message