Last change
on this file since 23971 was 23929, checked in by davidb, 13 years ago |
README file explaining how the jar files in this directory were modified/tweaked to help the Android versin run successfully on Android.
|
-
Property svn:executable
set to
*
|
File size:
997 bytes
|
Line | |
---|
1 |
|
---|
2 | ====
|
---|
3 |
|
---|
4 | LuceneWrapper.jar has been regenerated for the Android version of Greenstone-3.
|
---|
5 | The key issue was that the version being used in Greenstone:
|
---|
6 |
|
---|
7 | gs2build/common-src/indexers/lucene-gs
|
---|
8 |
|
---|
9 | uses lucene-core-2.3.2.jar
|
---|
10 |
|
---|
11 | In this version of Lucene, IndexSearcher ultimately inherits from Remote/RMI.
|
---|
12 | This isn't supported in Android's version of Java that it converts to Dex format.
|
---|
13 | Shifting to a newer version (2.9.4, the newest version of the 2.x series) moves
|
---|
14 | the code beyond this reliance.
|
---|
15 |
|
---|
16 | Command to compile:
|
---|
17 |
|
---|
18 | ant common.compile-core
|
---|
19 | ant common.jar-cor
|
---|
20 |
|
---|
21 | (result in build needs to be renamed, and copied to a couples of spots so it
|
---|
22 | is then included/unjar'd in the Greenstone wrapper code for Lucene)
|
---|
23 |
|
---|
24 | Another (optional) improvmenent was to compile the lucene, targetted at 1.6.
|
---|
25 | This is to eliminate 'dx' warning about anonymous classes. In:
|
---|
26 |
|
---|
27 | common-build.xml
|
---|
28 |
|
---|
29 | locate the source and target 1.4 values, and change to 1.6
|
---|
30 |
|
---|
31 | ====
|
---|
32 |
|
---|
33 | xalan.jar needs to be changed
|
---|
Note:
See
TracBrowser
for help on using the repository browser.