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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to