[sword-devel] I want to port the API to Java

Mike Dougherty sword-devel@crosswire.org
05 Dec 2001 15:25:17 -0800

On Wed, 2001-12-05 at 12:55, Troy A. Griffitts wrote:
> Hey guys.  Just to clear up a few things:
> 	jsword is indeed all of java code related to sword.  It included out
> jsp support classes, but also includes the beginnings of a port of the
> entire api.  You can check it out like any other cvs module from our cvs
> server with the module name jsword.
> 	There probably are a number of classes that are half complete.  I
> copied the c++ classes from the api about 2 years ago and started a
> fairly direct port, changing only to standard java method names and
> constructs, but leaving the functionality for each class intact.
> 	jsword currently requires the jgl container api.  The current, standard
> java container library is not extensive enough to contain a multimap
> equivelant of the c++ stl.  The primary difference between a map and
> multimap is that a multimap has the ability to iterate thru duplicate
> key values, whereas a map does not allow duplicate key values.
> 	I remember stopping at versekey.cpp.  I wanted to rewrite versekey.cpp
> internals in c++ anyway and didn't want to port poor code :)  Never
> rewrote it. :)
> 	I also have been meaning to get the project B drivers into the jsword
> library.  I would love for us to work together.  I think our main issue
> is that project B probably doesn't want to give up their interface, and
> I feel a crosswire port of our api should probably be similar to our c++
> api, so developers can switch between both worlds easily and have all
> the same concepts available to them.
> 	Let me know what you guys think.  I don't remember the state of
> things.  I believe just the Managers (reading installed module sets,
> etc.) are working, as we use them extensively on the website.
> 	Please spend some time reviewing the jsword cvs module and let me know
> how bad of shape it's in and I'd be happy to help you out with more
> direction and information!  This is exciting!  I would love to see you
> guys make an awesome java framework for java developers!
> 	In Him,
> 		-Troy.

Thanks Troy, this just the kind of information we needed. I don't know
why but I never thought to look in CVS on Crosswire, just Source Forge.

I have it checked out now. I'll see if I can get it to compile, and then
come asking questions, which I am (also) sure there will be.

Darrell, et all, just holler if you have a particular passion/interest
and we'll see what we can get going here.


 Mike Dougherty -- Java Software Engineer
 Life may have no meaning, or, even worse, it may have a meaning of
 you disapprove.