[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Can I get logging corresponding to 'diag'?

Tom,

I can do that.

Thanks.



On Thu, Jul 9, 2015 at 2:58 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
I suggest you open a bug against Equinox with step you used to launch the framework and install/start the bundles. ÂI'm still a bit confused by how the errors are being logged. Clearly a better error message should be getting logged that describes the unsatisfied requirement.

Tom





From: Â Â Â ÂBenson Margulies <benson@xxxxxxxxxxxxx>
To: Â Â Â ÂEquinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date: Â Â Â Â07/09/2015 01:46 PM
Subject: Â Â Â ÂRe: [equinox-dev] Can I get logging corresponding to 'diag'?
Sent by: Â Â Â Âequinox-dev-bounces@xxxxxxxxxxx






On Thu, Jul 9, 2015 at 2:39 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
What version of Equinox are you using? ÂCan you give the example of the error message equinox does give you?
Tom


I'm embarrassed to Âreport that I've misplaced the log. I can, however, try to surround the question, as follows.


I am using, in Maven terms:

org.eclipse:osgi:jar:3.10.0-v20140606-1445

The problem was the following.

ÂBundle 'fred' imports com.basistech.george;version=[34.0.0,35.0.0)

I stupidly included bundle 'george' with version 35.0.0.

The error message simply said that 'fred' could not be resolved, and cited a number in [] brackets.

Later on I can reconstruct this stupidity by checking out from the right (wrong) commit and running the build, but perhaps this is helpful?

In comparison, when I swapped in Felix, I got a lengthy diagnosis that the problem was the lack of com.basistech.george at the required version.









From: Â Â Â Â
Benson Margulies <benson@xxxxxxxxxxxxx>
To: Â Â Â Â
equinox-dev@xxxxxxxxxxx
Date: Â Â Â Â
07/09/2015 12:31 PM
Subject: Â Â Â Â
[equinox-dev] Can I get logging corresponding to 'diag'?
Sent by: Â Â Â Â
equinox-dev-bounces@xxxxxxxxxxx




When I make a mistake in a manifest, and a bundle has unresolvable dependencies, the error message logged is not detailed. (For comparison purposes, felix will log the whole story.) The shell command does not help me; the situation is failing pax-exam tests, and while I could load up in the shell, I'd rather just get the sad story when the test fails.

_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev