[
http://jira.codehaus.org/browse/MCOMPILER-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MCOMPILER-52.
---------------------------------
Assignee: Olivier Lamy
Resolution: Fixed
comiited in rev 629628.
Thanks!
> 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
> Assignee: Olivier Lamy
> Fix For: 2.1
>
> Attachments: MCOMPILER-52.diff
>
>
> 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