[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [orbit-dev] Lucene Advice Needed
|
Hi, Gunnar,
I think this approach ought to work. It sounds very much like the
refactoring of the Eclipse Run-time bundles when Equinox was introduced.
Basically, clients of the old Lucene bundle will get more now than
they needed before, but that's OK because it isn't relevant to them.
Just so long as the new Lucene bundle exports all of the core packages
that it did before, clients such as Help shouldn't notice the
difference.
In any case, I think it should be easy for you to test your hypothesis
using the Help system. If it works for Help, you should be alright.
Cheers,
Christian
On 11-Dec-08, at 2:35 AM, Gunnar Wagenknecht wrote:
Hi Orbit Developers,
I need an advice on how to proceed with the Apache Lucene bundle. I
have
create new bundles for additional Lucene contribution jars and want to
bring them into Orbit.
Unfortunately, Orbit already contains an "org.apache.lucene" bundle.
The
bundle name implies that this bundle would provide the full Lucene
package. But it doesn't. It only provides Lucene Core.
I also have to deal with split packages in the Lucene distribution.
There are some packages split across Lucene Core and its
contributions.
I'd propose the following changes to address the issues but I'm
uncertain if they are doable because Lucene has some prominent
consumers
(the Eclipse Help System).
1. Move Lucene Core into org.apache.lucene.core
2. Export the relevant packages with split packages properties
3. Turn org.apache.lucene into the global bundle
4. Add a required bundle dependency in o.a.lucene to o.a.lucene.core
5. Add optional bundle dependencies in o.a.lucene to the contribute
bundles (o.a.lucene.*)
Thoughts?
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
--
Christian W. Damus
Senior Software Developer, Zeligsoft Inc.
Component Lead, Eclipse MDT OCL and EMF-QTV
E-mail: cdamus@xxxxxxxxxxxxx