[
https://issues.apache.org/jira/browse/DERBY-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226106#comment-16226106
]
Trejkaz edited comment on DERBY-5543 at 10/31/17 1:44 AM:
----------------------------------------------------------
Since there is already a lib-debug release being built, couldn't those jars be
published on Maven as a different artifact, with "debug" as the "classifier"?
That should remove any objections people might have about security or file size
or whatever while still allowing the rest of us to get work done, but I figure
anyone who actually cares about file size will already have something in their
build to strip the line numbers from _all_ jars, not just Derby's.
was (Author: trejkaz):
Since there is already a lib-debug release being built, couldn't those jars be
published on Maven as a different artifact, with "debug" would become the
"classifier"?
That should remove any objections people might have about security or file size
or whatever while still allowing the rest of us to get work done, but I figure
anyone who actually cares about file size will already have something in their
build to strip the line numbers from _all_ jars, not just Derby's.
> include debug info in derby builds uploaded to maven
> ----------------------------------------------------
>
> Key: DERBY-5543
> URL: https://issues.apache.org/jira/browse/DERBY-5543
> Project: Derby
> Issue Type: Improvement
> Components: Build tools
> Affects Versions: 10.8.2.2
> Reporter: Sean Bridges
> Priority: Minor
>
> Looking at a strack trace from derby retrieved through maven, I see that
> derby is compiled without debug information, this means line numbers are not
> available in stack traces,
> Caused by: java.lang.NullPointerException
> at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown
> Source)
> at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openDroppedContainer(Unknown
> Source)
> at
> org.apache.derby.impl.store.raw.xact.Xact.openDroppedContainer(Unknown Source)
> at
> org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown
> Source)
> at
> org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown
> Source)
> and it is harder to debug code by setting breakpoints within derby. Derby
> deployed to maven should have debug information included.
> I'm not sure how this is controlled, but looking at pom.xml I see,
> <!-- Specifies whether to package the sane (debug) or insane jar.
> Valid values: sane|insane
> -->
> <sanity>insane</sanity>
> The default should be sane.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)