You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Krammer (JIRA)" <ji...@codehaus.org> on 2007/04/18 14:07:46 UTC

[jira] Created: (MCOMPILER-52) Need a way to specify the debug level

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

        

[jira] Updated: (MCOMPILER-52) Need a way to specify the debug level

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MCOMPILER-52:
-------------------------------------

    Fix Version/s: 2.1

> 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
>             Fix For: 2.1
>
>
> 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

        

[jira] Closed: (MCOMPILER-52) Need a way to specify the debug level

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MCOMPILER-52) Need a way to specify the debug level

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MCOMPILER-52:
-------------------------------------

    Attachment: MCOMPILER-52.diff

This patch depends on PLXCOMP-90 

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