Sravan K Lakkimsetti | 22 Jun 17:34 2016
Picon

Announcing the Release of Eclipse (4.6) and Equinox (Neon)

Hi Everyone,

We are pleased to announce that Neon is available for download and updates.
The bits are obtainable from the URLs below, but you can also read about it in the New and Noteworthy document for this release.
If you are interested in some technical details, please see the Eclipse Project 4.6 Readme.

While it is hard to thank everyone, by name, who has helped us with this release, we have made our best attempt at that in our Acknowledgements

Eclipse downloads:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.6-201606061100/

Update existing (non-production) installs:
http://download.eclipse.org/eclipse/updates/4.6/

Specific repository good for building against:
http://download.eclipse.org/eclipse/updates/4.6/R-4.6-201606061100/

Equinox specific downloads:
http://download.eclipse.org/equinox/drops/R-Neon-201606061100/

Our deliverables serve as the foundation for the all-in-one packages available from the main Eclipse Foundation's download site.

Thank you to everyone who made this Neon release possible.


Thanks and Regards,
Sravan

Sravan Kumar Lakkimsetti
IBM India Pvt Ltd,
Embassy Golf Links Business Park, D Block,
Off Indiranagar-Kormangla Inner Ring Road,
Bangalore - 560071, India
Phone: 91-80-41776858

<div><p>Hi Everyone,<br><br>We are pleased to announce that Neon is available for download and updates.<br>The bits are obtainable from the URLs below, but you can also read about it in the<a href="http://www.eclipse.org/eclipse/news/4.6/"></a> <a href="http://www.eclipse.org/eclipse/news/4.6/">New and Noteworthy</a> document for this release. <br>If you are interested in some technical details, please see the<a href="http://www.eclipse.org/eclipse/development/readme_eclipse_4.6.php"></a> <a href="http://www.eclipse.org/eclipse/development/readme_eclipse_4.6.php">Eclipse Project 4.6 Readme</a><a href="http://www.eclipse.org/eclipse/development/readme_eclipse_4.6.php"></a>.<br><br>While it is hard to thank everyone, by name, who has helped us with this release, we have made our best attempt at that in our <a href="http://www.eclipse.org/eclipse/development/acknowledgements_4.6.php">Acknowledgements</a><br><br>                 Eclipse downloads:<br><a href="http://download.eclipse.org/eclipse/downloads/drops4/R-4.6-201606061100/">http://download.eclipse.org/eclipse/downloads/drops4/R-4.6-201606061100/</a><br><br>                 Update existing (non-production) installs:<br><a href="http://download.eclipse.org/eclipse/updates/4.6/">http://download.eclipse.org/eclipse/updates/4.6/</a><br><br>                 Specific repository good for building against:<br><a href="http://download.eclipse.org/eclipse/updates/4.6/R-4.6-201606061100/">http://download.eclipse.org/eclipse/updates/4.6/R-4.6-201606061100/</a><br><br>                 Equinox specific downloads:<br><a href="http://download.eclipse.org/equinox/drops/R-Neon-201606061100/">http://download.eclipse.org/equinox/drops/R-Neon-201606061100/</a><br><br>Our deliverables serve as the foundation for the all-in-one packages available from the <a href="https://www.eclipse.org/downloads/">main Eclipse Foundation's download site</a>. <br><br>Thank you to everyone who made this Neon release possible.<br><br><br>Thanks and Regards,<br>Sravan <br><br>Sravan Kumar Lakkimsetti<br>IBM India Pvt Ltd,<br>Embassy Golf Links Business Park, D Block,<br>Off Indiranagar-Kormangla Inner Ring Road,<br>Bangalore - 560071, India<br>Phone: 91-80-41776858<br></p></div>
Christian Schneider | 21 Jun 11:32 2016
Picon
Gravatar

How to find the newest equinox release?

I currently have problems with Apache Karaf when switching to equinox.

See:
http://apaste.info/btL

It happens with the default equinox that karaf ships which is 3.10.2 provided by birt in maven central.

I looked into the equinox project pages to find a newer release:
http://download.eclipse.org/equinox/

The latest stable release seems to be mars2 which leads to:
http://download.eclipse.org/equinox/drops/R-Mars.2-201602121500/download.php?dropFile=org.eclipse.osgi_3.10.102.v20160118-1700.jar

Unfortunately this release does not seem to be available in maven central at all.
The latest release there seems to be
<dependency>
    <groupId>org.eclipse.tycho</groupId>
    <artifactId>org.eclipse.osgi</artifactId>
    <version>3.10.101.v20150820-1432</version>
</dependency>

So this one seems to be provided by tycho now? Are these releases by birt and tycho guaranteed to reflect the real equinox releases or are they maybe patching equinox?
Is there any better way? Does equinox have any maven repo where it puts its official releases? I think there were discussions about that a while ago but the discussion was kind of stuck at some point.

Another question is about the included felix resolver. The last time I looked into this the resolver sources were copied into the equinox sources. They were not equal to any
release of the felix resolver. Instead as far as I can remember the changes were cherry picked from some of the resolver commits. This makes it really difficult to tell how equinox behaves.
Is there any improvement in sight?

Christian

-- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com
<div>
    I currently have problems with Apache Karaf when switching to
    equinox.<br><br>
    See:<br><a class="moz-txt-link-freetext" href="http://apaste.info/btL">http://apaste.info/btL</a><br><br>
    It happens with the default equinox that karaf ships which is 3.10.2
    provided by birt in maven central.<br><br>
    I looked into the equinox project pages to find a newer release:<br><a class="moz-txt-link-freetext" href="http://download.eclipse.org/equinox/">http://download.eclipse.org/equinox/</a><br><br>
    The latest stable release seems to be mars2 which leads to:<br><a class="moz-txt-link-freetext" href="http://download.eclipse.org/equinox/drops/R-Mars.2-201602121500/download.php?dropFile=org.eclipse.osgi_3.10.102.v20160118-1700.jar">http://download.eclipse.org/equinox/drops/R-Mars.2-201602121500/download.php?dropFile=org.eclipse.osgi_3.10.102.v20160118-1700.jar</a><br><br>
    Unfortunately this release does not seem to be available in maven
    central at all.<br>
    The latest release there seems to be <br><div class="container">
      <div class="line number1 index0 alt2">&lt;dependency&gt;</div>
      <div class="line number2 index1 alt1">&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;</div>
      <div class="line number3 index2 alt2">&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;org.eclipse.osgi&lt;/artifactId&gt;</div>
      <div class="line number4 index3 alt1">&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;3.10.101.v20150820-1432&lt;/version&gt;</div>
      <div class="line number5 index4 alt2">&lt;/dependency&gt;</div>
    </div>
    <br>
    So this one seems to be provided by tycho now? Are these releases by
    birt and tycho guaranteed to reflect the real equinox releases or
    are they maybe patching equinox?<br>
    Is there any better way? Does equinox have any maven repo where it
    puts its official releases? I think there were discussions about
    that a while ago but the discussion was kind of stuck at some point.<br><br>
    Another question is about the included felix resolver. The last time
    I looked into this the resolver sources were copied into the equinox
    sources. They were not equal to any<br>
    release of the felix resolver. Instead as far as I can remember the
    changes were cherry picked from some of the resolver commits. This
    makes it really difficult to tell how equinox behaves.<br>
    Is there any improvement in sight? <br><br>
    Christian<br><br>-- 
Christian Schneider
<a class="moz-txt-link-freetext" href="http://www.liquid-reality.de">http://www.liquid-reality.de</a>

Open Source Architect
<a class="moz-txt-link-freetext" href="http://www.talend.com">http://www.talend.com</a>

  </div>
Brian de Alwis | 17 Jun 19:00 2016
Picon

Force particular bundle wirings to deal with split packages?

I've hit a situation where I have three bundles providing classes in javax.annotation and of course a key
bundle is being wired up to the wrong provider of javax.annotation.

All of these bundles are out in the wild and can't be rebuilt.

Is there any way for me, as an integrator, to force particular wirings? I've yet to start looking at the
wiring APIs. I thought I could create a start-level 1 bundle to force the wiring?

Brian. 
Tom Schindl | 9 Jun 14:50 2016
Picon
Gravatar

Where is the launcher source-code?

Hi,

I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=495783 and now
I wanted to look myself into the launcher code but i'm unable to find it.

http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.equinox.launcher.cocoa.macosx.x86_64
is empty and
http://git.eclipse.org/c/equinox/rt.equinox.binaries.git/tree/org.eclipse.equinox.launcher.cocoa.macosx.x86_64
only contains the binary.

Can anyone point me to the source?

Tom

--

-- 
Thomas Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
http://www.bestsolution.at/
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
David M Williams | 7 Jun 03:45 2016
Picon

Eclipse (4.6RC4a) and Equinox (NeonRC4a) are available


We are pleased to announce that Neon RC4a is available for download and updates.

                Eclipse downloads:
                http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4a-201606061100/

                Update existing (non-production) installs:
                http://download.eclipse.org/eclipse/updates/4.6milestones/

                Specific repository good for building against:
                http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4a-201606061100/

                Equinox specific downloads:
                http://download.eclipse.org/equinox/drops/S-NeonRC4a-201606061100/

Thank you to everyone who made this checkpoint possible.
<div>
<br>We are pleased to announce that Neon RC4a is available for download and
updates.<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Eclipse downloads:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4a-201606061100/">http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4a-201606061100/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Update existing (non-production) installs:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/updates/4.6milestones/">http://download.eclipse.org/eclipse/updates/4.6milestones/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Specific repository good for building against:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4a-201606061100/">http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4a-201606061100/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Equinox specific downloads:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/equinox/drops/S-NeonRC4a-201606061100/">http://download.eclipse.org/equinox/drops/S-NeonRC4a-201606061100/</a><br><br>Thank you to everyone who made this checkpoint possible.<br>
</div>
David M Williams | 4 Jun 23:11 2016
Picon

Eclipse (4.6RC4) and Equinox (NeonRC4) are available


We are pleased to announce that Neon RC4 is available for download and updates. Assuming no blocking defects or regressions found these bits will become our final release on June 22.

There is a preliminary draft of our "New and Noteworthy" document available at
https://www.eclipse.org/eclipse/news/4.6/
From what I hear, two popular entries will be one for "High Resolution Displays"
https://www.eclipse.org/eclipse/news/4.6/platform.php
and the Eclipse Foundation requested UUIDs
https://www.eclipse.org/eclipse/news/4.6/platform.php#uuid
But there is a LOT in there! Enjoy reading about -- and then using! -- all the new features and improvements.


                Eclipse downloads:
                http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4-201606031000/

                Update existing (non-production) installs:
                http://download.eclipse.org/eclipse/updates/4.6milestones/

                Specific repository good for building against:
                http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4-201606031000/

                Equinox specific downloads:
                http://download.eclipse.org/equinox/drops/S-NeonRC4-201606031000/

Thank you to everyone who made this checkpoint possible.


<div>
<br>We are pleased to announce that Neon RC4 is available for download and
updates. Assuming no blocking defects or regressions found these bits will
become our final release on June 22. <br><br>There is a preliminary draft of our "New and
Noteworthy" document available at <br><a href="https://www.eclipse.org/eclipse/news/4.6/">https://www.eclipse.org/eclipse/news/4.6/</a><br>From what I hear, two popular entries will be one
for "High Resolution Displays"<br><a href="https://www.eclipse.org/eclipse/news/4.6/platform.php">https://www.eclipse.org/eclipse/news/4.6/platform.php</a><br>and the Eclipse Foundation requested UUIDs<br><a href="https://www.eclipse.org/eclipse/news/4.6/platform.php#uuid">https://www.eclipse.org/eclipse/news/4.6/platform.php#uuid</a><br>But there is a LOT in there! Enjoy reading about --
and then using! -- all the new features and improvements.<br><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Eclipse downloads:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4-201606031000/">http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4-201606031000/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Update existing (non-production) installs:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/updates/4.6milestones/">http://download.eclipse.org/eclipse/updates/4.6milestones/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Specific repository good for building against:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4-201606031000/">http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC4-201606031000/</a><br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Equinox specific downloads:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://download.eclipse.org/equinox/drops/S-NeonRC4-201606031000/">http://download.eclipse.org/equinox/drops/S-NeonRC4-201606031000/</a><br><br>Thank you to everyone who made this checkpoint possible.<br><br><br>
</div>
Lars Vogel | 30 May 23:57 2016
Gravatar

Avoid usage of RuntimeLog.log

Hi,

in Platform UI we use in several places RuntimeLog.log which is internal API.

Does Equinox provide an official logging API which we should switch to?

Best regards, Lars

--

-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel <at> vogella.com, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev <at> eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev
David M Williams | 27 May 17:35 2016
Picon

Eclipse (4.6RC3) and Equinox (NeonRC3) deliverables are available

I am pleased to announce our RC3 deliverables are available for download or updates.

        Eclipse downloads:
        http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC3-201605252000/

        Update existing (non-production) installs:
        http://download.eclipse.org/eclipse/updates/4.6milestones/

        Specific repository good for building against:
        http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC3-201605252000/

        Equinox specific downloads:
        http://download.eclipse.org/equinox/drops/S-NeonRC3-201605252000/


Thanks to everyone for all the difficult bugs fixed in this RC!


<div>I am pleased to announce our RC3 deliverables
are available for download or updates. <br><br>&nbsp; &nbsp; &nbsp; &nbsp; Eclipse
downloads:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC3-201605252000/">http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC3-201605252000/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Update existing
(non-production) installs:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/updates/4.6milestones/">http://download.eclipse.org/eclipse/updates/4.6milestones/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Specific
repository good for building against:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC3-201605252000/">http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC3-201605252000/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Equinox
specific downloads:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/equinox/drops/S-NeonRC3-201605252000/">http://download.eclipse.org/equinox/drops/S-NeonRC3-201605252000/</a><br><br><br>Thanks to everyone for all the difficult
bugs fixed in this RC! <br><br><br>
</div>
David M Williams | 20 May 21:40 2016
Picon

Eclipse (4.6RC2) and Equinox (NeonRC2) Release Candidates are available

I am happy to announce our second release candidate for Neon. Two more to go!

        Eclipse downloads:
        http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC2-201605191730/

        Update existing (non-production) installs:
        http://download.eclipse.org/eclipse/updates/4.6milestones/

        Specific repository good for building against:
        http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC2-201605191730/

        Equinox specific downloads:
        http://download.eclipse.org/equinox/drops/S-NeonRC2-201605191730/

Thanks everyone who contributed to this RC2.

<div>I am happy to announce our second release
candidate for Neon. Two more to go! <br><br>&nbsp; &nbsp; &nbsp; &nbsp; Eclipse
downloads:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC2-201605191730/">http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC2-201605191730/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Update existing
(non-production) installs:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/updates/4.6milestones/">http://download.eclipse.org/eclipse/updates/4.6milestones/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Specific
repository good for building against:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC2-201605191730/">http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6RC2-201605191730/</a><br><br>&nbsp; &nbsp; &nbsp; &nbsp; Equinox
specific downloads:<br>&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://download.eclipse.org/equinox/drops/S-NeonRC2-201605191730/">http://download.eclipse.org/equinox/drops/S-NeonRC2-201605191730/</a><br><br>Thanks everyone who contributed to this
RC2. <br><br>
</div>
Thomas Watson | 18 May 17:02 2016
Picon

Fw: [eclipse-dev] Reminders for RC2 and RC3

Reminders that we are near the end of the Neon release and are locking down the changes that go in.

Tom


----- Forwarded by Thomas Watson/Austin/IBM on 05/18/2016 10:02 AM -----

From:        "Daniel Megert" <daniel_megert-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
To:        "General development mailing list of the Eclipse project." <eclipse-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>, "Eclipse Platform UI component developers list." <platform-ui-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
Date:        05/18/2016 08:40 AM
Subject:        [eclipse-dev] Reminders for RC2 and RC3
Sent by:        eclipse-dev-bounces <at> eclipse.org



Tonight 20:00 EDT will be our RC2 candidate build. This means, no further changes must be committed or merged after that. If you find a critical issue that requires a rebuild, send a note to the platform-releng-dev mailing list with a link to the bug report.

You can start to work on RC3 fixes via Gerrit but must not merge them until RC2 is declared. Please make sure to read and follow the RC3 rules.

On Monday, please join us testing the RC2 release candidate and verifying all RC2 fixes.

Thanks!
Dani_______________________________________________
eclipse-dev mailing list
eclipse-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev

<div>Reminders that we are near the end of the
Neon release and are locking down the changes that go in.<br><br>Tom<br><br><br>----- Forwarded by Thomas
Watson/Austin/IBM on 05/18/2016 10:02 AM -----<br><br>From: &nbsp; &nbsp; &nbsp;
&nbsp;"Daniel Megert"
&lt;daniel_megert@...&gt;<br>To: &nbsp; &nbsp; &nbsp;
&nbsp;"General development
mailing list of the Eclipse project." &lt;eclipse-dev@...&gt;,
"Eclipse Platform UI component developers list." &lt;platform-ui-dev@...&gt;<br>Date: &nbsp; &nbsp; &nbsp;
&nbsp;05/18/2016 08:40 AM<br>Subject: &nbsp; &nbsp;
&nbsp; &nbsp;[eclipse-dev]
Reminders for RC2 and RC3<br>Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;eclipse-dev-bounces <at> eclipse.org<br><br><br><br>Tonight 20:00 EDT will be our RC2 candidate
build. This means, no further changes must be committed or merged after
that. If you find a critical issue that requires a rebuild, send a note
to the platform-releng-dev mailing list with a link to the bug report.<br><br>You can start to work on RC3 fixes via Gerrit but must not merge them until
RC2 is declared. Please make sure to read and follow the <a href="https://www.eclipse.org/eclipse/development/plans/freeze_plan_4_6.php#FixPassAfterRC2">RC3
rules</a>.<br><br>On Monday, please join us testing the RC2 release candidate and verifying
all RC2 fixes.<br><br>Thanks!<br>Dani_______________________________________________<br>eclipse-dev mailing list<br>eclipse-dev@...<br>To change your delivery options, retrieve your password, or unsubscribe
from this list, visit<br><a href="https://dev.eclipse.org/mailman/listinfo/eclipse-dev">https://dev.eclipse.org/mailman/listinfo/eclipse-dev</a><br><br>
</div>
Stephan Herrmann | 15 May 14:03 2016
Picon
Gravatar

Safe logging from a WeavingHook?

Hi,

When implementing a WeavingHook, is there a safe way to perform logging?

I'm asking because my current strategy recently broke when adding
the AERI error reporter to the mix:

I'm acquiring a log basically from
    Platform.getLog(bundleContext.getBundle())
(with extra caution to see if the platform is ready).

This works well until others register log listeners of their own.
Such breakage is tracked in https://bugs.eclipse.org/493566
showing a stack trace of what looks like deadly re-entrance,
causing NoClassDefFoundError.

I know that the Equinox framework uses a logger of its own,
which - I assume - does not support any log listeners, right?
Is it possible for a weaving hook implementation to log into
the framework log?

If no safe log is available, are there any points in the hook
protocol, where it is safe to log using a platform log?
I'm thinking of queueing log events until modified(WovenClass),
but even during that method I don't know if any class loading
is active further down the stack that may cause the same problem.
Do I have to maintain my own thread-local stack of classes
being defined to wait for a point when this stack is empty?
Or is it possible to get this information from the framework?

Interesting, how such a basic functionality like logging can blow
up a system, if both class loading and logging are extensible ...

thanks,
Stephan

Gmane