[jsword-devel] zText4

DM Smith dmsmith at crosswire.org
Mon Jan 30 20:26:03 MST 2017


I’ve checked in zText4 and zCom4 support.
3 files were changed in o.c.j.book.sword
BookType.java
ConfigEntryType.java
ZVerseBackend.java

If you have forked, it should be easy to use.

My test was minimal. I first tested that I didn’t break zText, using the KJV. And then rebuilt KJV with -s 4. It worked as well.

Note, it didn’t have any entries that exceeded 64K.

I also check in a pull request for Bible book names.

I should check in some new versifications as well. Maybe tomorrow.

In Him,
	DM

> On Jan 30, 2017, at 7:14 AM, DM Smith <dmsmith at crosswire.org> wrote:
> 
> It wasn’t hard. But more than what I thought. I’m testing it now. I’m curious why we haven’t run into this problem with commentaries before as we also don’t support commentaries with entries > 64K.
> 
> In Him,
> DM
> 
>> On Jan 25, 2017, at 4:15 AM, John Austin <gpl.programs.info at gmail.com <mailto:gpl.programs.info at gmail.com>> wrote:
>> 
>> Thank you!! IBT will be publishing the complete Uzbek Bible in SWORD, within a couple weeks, possibly. We must use zText4 for this one, because some introductions are too long for zText and are being truncated without zText4. So glad it's not a hard fix.
>> -john
>> 
>> On 01/24/2017 08:01 AM, DM Smith wrote:
>>> I'll add it. Won't be hard. The com4 is the same format.
>>> 
>>> Cent from my fone so theer mite be tipos. ;)
>>> 
>>> On Jan 23, 2017, at 9:32 AM, Martin Denham <mjdenham at gmail.com <mailto:mjdenham at gmail.com>
>>> <mailto:mjdenham at gmail.com <mailto:mjdenham at gmail.com>>> wrote:
>>> 
>>>> IBT have changed the zText4 file to zText for now, but it would be
>>>> good to consider adding zText4 support in JSword.  IBT believe they
>>>> will probably need to use it in the near future.
>>>> 
>>>> Martin
>>>> 
>>>> On 22 January 2017 at 23:14, Martin Denham <mjdenham at gmail.com <mailto:mjdenham at gmail.com>
>>>> <mailto:mjdenham at gmail.com <mailto:mjdenham at gmail.com>>> wrote:
>>>> 
>>>>    Is there something called zText4 which is supported by sword but
>>>>    not JSword?
>>>> 
>>>>    Today we started receiving the following error when accessing the
>>>>    IBT repo from And Bible.  Have you started using zText4?  Maybe it
>>>>    is not yet supported by JSword:
>>>> 
>>>>    E/net.bible.service.download.DownloadManager: Fatal error
>>>>    downloading books from IBT
>>>> 
>>>>    java.lang.ClassCastException: *DataType zText4 is not defined!*
>>>>                                                      at
>>>>    org.crosswire.jsword.book.sword.BookType.fromString(BookType.java:324)
>>>>                                                      at
>>>>    org.crosswire.jsword.book.sword.SwordBookMetaData.adjustBookType(SwordBookMetaData.java:882)
>>>>                                                      at
>>>>    org.crosswire.jsword.book.sword.SwordBookMetaData.adjustConfig(SwordBookMetaData.java:818)
>>>>                                                      at
>>>>    org.crosswire.jsword.book.sword.SwordBookMetaData.<init>(SwordBookMetaData.java:221)
>>>>                                                      at
>>>>    org.crosswire.jsword.book.install.sword.AbstractSwordInstaller.loadCachedIndex(AbstractSwordInstaller.java:491)
>>>>                                                      at
>>>>    org.crosswire.jsword.book.install.sword.AbstractSwordInstaller.getBooks(AbstractSwordInstaller.java:146)
>>>>                                                      at
>>>>    net.bible.service.download.DownloadManager$override.getDownloadableBooks(DownloadManager.java:81)
>>>>                                                      at
>>>>    net.bible.service.download.DownloadManager$override.access$dispatch(DownloadManager.java)
>>>>                                                      at
>>>>    net.bible.service.download.DownloadManager.getDownloadableBooks(DownloadManager.java:0)
>>>>                                                      at
>>>>    net.bible.service.download.RepoBase.getBookList(RepoBase.java:27)
>>>>                                                      at
>>>>    net.bible.service.download.IBTRepo.getRepoBooks(IBTRepo.java:28)
>>>>                                                      at
>>>>    net.bible.service.sword.SwordDocumentFacade.getDownloadableDocuments(SwordDocumentFacade.java:213)
>>>> 
>>>>    Regards
>>>>    Martin
>>>> 
>>>> 
>>>> _______________________________________________
>>>> jsword-devel mailing list
>>>> jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org> <mailto:jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>>
>>>> http://www.crosswire.org/mailman/listinfo/jsword-devel <http://www.crosswire.org/mailman/listinfo/jsword-devel>
>>> 
>>> 
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel <http://www.crosswire.org/mailman/listinfo/jsword-devel>
>>> 
>> 
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/jsword-devel <http://www.crosswire.org/mailman/listinfo/jsword-devel>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20170130/932b48bd/attachment.html>


More information about the jsword-devel mailing list