[Hebmorph-thinktank] classpath and hspell-data-files?
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Efraim F. <efr...@gm...> - 2013-04-21 19:51:55
|
Hi, I recently tried a newer commit of hebmorph than the very old one I had been using and I'm having issues with the classpath loading of hspell-data-files. As far as I can tell, they used to be included in lucene.hebrew.jar, but are now not included by default in either the built hebmorph-core or hebmorph-lucene. I tried making a new jar containing hspell-data-files and putting it in a directory in the classpath. As far as I can tell, Loader.java, line 35 now succeeds in finding a URL (jar:file:/usr/local/opensiddur/extensions/indexes/lucene/lib/hspell-data-files.jar!/hspell-data-files), but line 59 fails because both hspellFolder.exists() and hspellFolder.isDirectory() return False. Is there anything special I need to do to make sure the hspell-data-files can be found? (Note: I'm not usually a Java coder, so it might be something very simple) I am using commit 9298a8c71a62af06cac7a8001066b6387020a6b2 (Jan 9, 2013) because it is the last one before the change to Lucene 4 and other dependencies use still use Lucene 3. Thanks for any help you can give! -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |