Need a way to specify the debug level
-------------------------------------

                 Key: MCOMPILER-52
                 URL: http://jira.codehaus.org/browse/MCOMPILER-52
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: Thomas Krammer


Currently there is no way to specify the debug level for the Java compiler 
(-g:{lines,vars,source}). We only want to include line number information in 
our jars to get line numbers in stack traces without bloating the jars.

I also tried

<configuration>
        <source>${jdk.version}</source>
        <target>${jdk.version}</target>
        <fork>true</fork>
        <maxmem>512m</maxmem>
        <compilerArgument>-g:lines</compilerArgument>
</configuration>

but that configuration doesn't include any debug information in the jar for 
some reason.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to