I tried to build Zekr using OpenJDK 6 (version 6b16-1.6.1-2) in Debian.
The compilation fails because the exception InvalidTokenOffsetsException
was not catched, nor declared to be thrown.
Please find attached a patch to fix the issue. I did a minimal change
but maybe you want to catch the exception to do something smarter.
Best regards,
--
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/
On Sun, Dec 27, 2009 at 10:19:13PM +0100, Mehdi Dogguy wrote:
> I tried to build Zekr using OpenJDK 6 (version 6b16-1.6.1-2) in Debian.
> The compilation fails because the exception InvalidTokenOffsetsException
> was not catched, nor declared to be thrown.
>
> Please find attached a patch to fix the issue. I did a minimal change
> but maybe you want to catch the exception to do something smarter.
---end quoted text---
This patch caused build failure on Ubuntu !
--
أحمد المحمودي (Ahmed El-Mahmoudy)
Digital design engineer
GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
Can you paste the error message so that I understand what happens?
Cheers,
--
You received this message because you are subscribed to the Google Groups "zekr-dev" group.
To post to this group, send email to zekr...@googlegroups.com.
To unsubscribe from this group, send email to zekr-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zekr-dev?hl=en.
Well, it seems to work fine with the patch. You'll also face the same
issue in Ubuntu Lucid since it ships liblucene2-java 2.9.1.
Regards,
I'm using the Debian package for lucene2. They don't seem to have done
intrusive changes in the source.
> Are you able to run Zekr and use advanced search with Lucene 2.9?
>
The advanced search works fine only for english text search, but doesn't
produce any error when looking for an arabic text, only 0 results. I
don't know if it was the case using former versions. The regular search
(and Root search) works fine even for arabic text.