[jsword-devel] JSword version and Indexing Jobs

DM Smith dmsmith555 at yahoo.com
Sat Jan 26 22:04:32 MST 2008


On Jan 26, 2008, at 10:41 PM, Brian Fernandes wrote:

> DM Smith wrote:
>> On Jan 26, 2008, at 1:03 AM, Brian Fernandes wrote:
>>
>>
>>> DM,
>>>
>>> 1) Is it possible to query the JSword version through API? I did  
>>> try a
>>> brief search but that drew a blank.
>>>
>>
>>
>> Yes. It should be. I'm assuming that you mean a Lucene search rather
>> than a Sword lookup. Give me more to go on and and perhaps I can  
>> point
>> you in the right direction or work up and example.
>>
> I actually did mean the JSword version (and not the Lucene version,
> sorry for confusing matters). I intend to allow users to hook the
> Firefox extension up to an existing JSword installation and when  
> they do
> this, I should know what version of JSword that is for a compatibility
> check. For instance, I know the index progress text is going to be too
> long in JSword 1.0.7 and so I will either disallow that version or  
> work
> around it.

Try org.crosswire.bibledesktop.desktop.Msg.APP_VERSION.toString();
Be aware that this is localized/internationalized and may be different  
from what you expect.



More information about the jsword-devel mailing list