Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] CBI Rebasing platform to M7

org.eclipse.help.base currently requires Lucene 2.9 at compile time. However, at runtime it is possible to use it with Lucene 3.5. There is only one help class that does not work with Lucene 3.5, and that code path can easily be avoided depending on how you configure Lucene. This is a short term situation for the Juno release. Eclipse Platform ships with Lucene 2.9, but the Orion project requires Lucene 3.5 for other reasons. They both use the help system so the wider runtime dependency was needed. After Juno we intend to move the platform up to the newer lucene version. Details are in bug 340563 [1].

So, if you could force the build to use Lucene 2.9 at compile time, while still allowing the wider runtime dependency, that would be the ideal solution for Juno.

John

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=340563




Thanh Ha <thanh.ha@xxxxxxxxxxx>
Sent by: cbi-dev-bounces@xxxxxxxxxxx

05/08/2012 02:26 PM

Please respond to
Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>

To
Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
cc
Subject
[cbi-dev] CBI Rebasing platform to M7





Hi Everyone,

I'm rebasing the CBI build to M7 and ran into an issue below. After doing some searching I discovered that newer versions of org.apache.lucene has a new function that needs to be implemented which org.eclipse.help.base is not implementing as far as I can tell. Doing a bit more searching I discovered a commit [1] where the upper bound for org.apache.lucene was removed. If I revert this change I can proceed with the build.

I guess the CBI build pulls from orbit a version of org.apache.lucene that is too new so commit [1] causes us to no longer be able to build.

I was wondering what the best course of action here should be?
Should platform upstream revert this change?


Thanh

[1]
http://git.eclipse.org/c/platform/eclipse.platform.ua.git/commit/?id=bded0bbb69f9a3dcb546d0f7e76296ebcfd7aa9c


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.eclipse.help.base: Compilation failure: Compilation failure:
[ERROR] /home/user/Downloads/eclipse2/R3_platform-aggregator/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/search/WordTokenStream.java:[24,0]
[ERROR] public final class WordTokenStream extends TokenStream {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] The type WordTokenStream must implement the inherited abstract method TokenStream.incrementToken()
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top