Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] PDE Build Per-Bundle Debugging Options

The Java code, is in the rt.equinox.p2 repo, in
./bundles/org.eclipse.equinox.p2.jarprocessor

See bug 348166
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348166





From:        Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx>
To:        "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>, p2-dev@xxxxxxxxxxx,
Date:        08/07/2013 03:26 PM
Subject:        Re: [pde-dev] PDE Build Per-Bundle Debugging Options
Sent by:        pde-dev-bounces@xxxxxxxxxxx




I finally tracked down the issue to a single nested jar.  This was a jar created by an other team in our organization, so I am trying to track down who and how they created the jar.  (See if this may be related to the difference in jars between jdk7 vs. jdk6)

However, there is still (what I feel to be) an issue with the eclipse.jarsigner.  In this situation, when the jarsigner facility failed to sign a nested jar, it failed to sign the whole bundle.  The only issue being it did not produce any kind of log error/message.  When signing fails, there should be some kind of log statement that the bundle failed to be signed.  When signing fails due to the failure of a nested jar, there should be an additional message logged identifying the individual nested jar that failed (+why?).

I wanted to take a look at the <eclipse.jarsigner ... /> ant task that handles the signing, but I haven't been able to locate the source.  I see the binary-jar in p2.jarprocessor, but I do not see any associated source.

Could someone point me to the source?  I'll see if what I experienced really is a bug, and if so, I'll work something up that produces better log statements.

Thanks,

JD



On Tue, Aug 6, 2013 at 12:32 PM, Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx> wrote:
I am certain this has been asked somewhere/somehow but I am just not seeing it...  
How would I enable debug/trace output during a PDE build for a specific bundle?

I have a single bundle that suddenly decided it wasn't going to be signed any more and I am not seeing any errors in the logs. (Actually the logs don't seem to have anything in them, so that might be a separate issue).

Thanks,
JD
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Back to the top