Bug#272295: kaffe CVS HEAD successfully compiles rmi class for lucene; passes unit tests

Barry Hawkins barry at bytemason.org
Sat Sep 17 23:58:13 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Today I completed a test build of lucene-1.4.3 using an installation of
kaffe build from CVS HEAD as of 2005-09-17 22:36 UTC.  The problematic
RMI class org.apache.lucene.search.RemoteSearchable successfully
compiles with the rmic functionality merged into kaffe from GNU
Classpath.  There is now a problem with
org.apache.lucene.analysis.ru.TestRussianStem, but it should be easier
to remediate than the RMI compilation issue has been.  Pertinent output
for the resolution of the RMI issue and the appearance of the
RussianStem Unicode issue are included below.

[...]
     [rmic] org/apache/lucene/search/RemoteSearchable.class added as
org/apache/lucene/search/RemoteSearchable_Stub.class doesn't exist.
     [rmic] RMI Compiling 1 class to
/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/java
     [rmic] Using Kaffe rmic
     [rmic] Compilation arguments:
     [rmic] '-d'
     [rmic]
'/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/java'
     [rmic] '-classpath'
     [rmic]
'/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/java:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/lib/junit-3.8.1.jar:/usr/share/java/gnujaxp.jar:/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/ant1.6/lib/ant-junit.jar:/usr/share/java/junit.jar:/usr/local/kaffe/lib/tools.jar:/usr/share/kaffe/Klasses.jar'
     [rmic]
     [rmic] The ' characters around the executable and arguments are
     [rmic] not part of the command.
     [rmic] File to be compiled:
org.apache.lucene.search.RemoteSearchable
[...]
    [junit] Executing '/usr/local/kaffe/bin/java' with arguments:
    [junit]
'-DdataDir=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/src/test'
    [junit]
'-DtempDir=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/test'
    [junit] '-classpath'
    [junit]
'/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/test:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/java:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/demo:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/lib/junit-3.8.1.jar:/usr/share/java/gnujaxp.jar:/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/ant1.6/lib/ant-junit.jar:/usr/share/java/junit.jar:/usr/local/kaffe/lib/tools.jar:/usr/share/kaffe/Klasses.jar'
    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
    [junit] 'org.apache.lucene.search.TestRemoteSearchable'
    [junit] 'filtertrace=true'
    [junit] 'haltOnError=false'
    [junit] 'haltOnFailure=false'
    [junit] 'showoutput=false'
    [junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/test/TEST-org.apache.lucene.search.TestRemoteSearchable.xml'
    [junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter'
    [junit]
'propsfile=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/junit779069847.properties'
    [junit]
    [junit] The ' characters around the executable and arguments are
    [junit] not part of the command.
    [junit] Testsuite: org.apache.lucene.search.TestRemoteSearchable
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.685 sec
[...]

The problem with RussianStem shows up in its unit test:
[...]
    [junit] Executing '/usr/local/kaffe/bin/java' with arguments:
    [junit]
'-DdataDir=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/src/test'
    [junit]
'-DtempDir=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/test'
    [junit] '-classpath'
    [junit]
'/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/test:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/java:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/classes/demo:/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/lib/junit-3.8.1.jar:/usr/share/java/gnujaxp.jar:/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/ant1.6/lib/ant-junit.jar:/usr/share/java/junit.jar:/usr/local/kaffe/lib/tools.jar:/usr/share/kaffe/Klasses.jar'
    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
    [junit] 'org.apache.lucene.analysis.ru.TestRussianStem'
    [junit] 'filtertrace=true'
    [junit] 'haltOnError=false'
    [junit] 'haltOnFailure=false'
    [junit] 'showoutput=false'
    [junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/build/test/TEST-org.apache.lucene.analysis.ru.TestRussianStem.xml'
    [junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter'
    [junit]
'propsfile=/home/barryh/packages/lucene/1.4.3/lucene-1.4.3/junit715661075.properties'
    [junit]
    [junit] The ' characters around the executable and arguments are
    [junit] not part of the command.
    [junit] Testsuite: org.apache.lucene.analysis.ru.TestRussianStem
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.564 sec

    [junit] Testcase:
testStem(org.apache.lucene.analysis.ru.TestRussianStem):	FAILED
    [junit] unicode expected:<???????> but was:<?????????????????????????
[...]

Pressing forward,
- --
Barry Hawkins
site: www.bytemason.org
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDLK2VHuKcDICy0QoRAl4QAJ0enLLAWrBNrF2zHl6yOmO9lJvMQACeMkLA
S4oFajk2QqS0OW2OXQSxcXc=
=8pBc
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list