Hi there
Attached is the Eclipse project (I've had to change the extension). Hopefully you can make it work. I've been using Eclipse 3.2. To answer a question below about the name of the user... The only reason it asks for it, is to try out the user sending something to the server, and the server responding with it. We can obviously completely remove that, and make our home page look like whatever we would like it to look like.
I've used Eclipse myself, because that's what I've got. I know there are plugins on the internet for netbeans, but I'm not sure how good they are... Google develop the Eclipse plugin themselves and provide it. The Netbeans one is done by third party people. I quite like Eclipse, and it's what JSword and Crosswire more generally use for their development, but that shouldn't be an issue unless we start needing to make small patches to their code in order to make ours work.
As you'll see from the attachment, I've basically just linked it to jsword jars, and JavaDB jars and Jetty jar files, as provided online, so that we can hopefully just swap jars in and out for upgrades (with some testing). To run it you'll probably need the Google GWT elipse plugin installed first. I haven't packaged it up yet, and the code looks a bit messy (sorry - it was just a proof of concept!).
To make it work, I've had to use a proxy (through work), but I don't know about you so I've commented the lines out and I'll let you will them in. I think it should just work if you don't use a proxy.
Enjoy and let me know if you have issues.
Chris2009/8/19 Tyndale STEP Project <TyndaleSTEP@gmail.com>Chris - many congratulations on what you've done.
It looks like you have created something which installs itself, and
requires nothing more from the user except filling in their name.
Could you upload something self-extracting so David and I can
convince myself it really works?I think it is very useful to add a flexible database.
from what I understand about the JSword database, it is designed for
displaying Bible versions,
and I don't even know it it can use fields like dates (which we need).
From the way in which the Web Sword has difficulty displaying Josephus,
I suspect that the database design is tied very firmly to a
Bible-book structure.I'm fairly certain that we will be allowed to include in our
distribution any PD datasets which CrossWire have
(is that right Troy?).
But some things we think of PD actually aren't. In particular, ESV,
tagged NAS and NET,
but I think we will be able to get permission for these.Although we COULD take JSword apart and use their code, I think there
is a lot of value in using JSword as-is,
because they have cracked a lot of problems we will not anticipate,
such as different reference systems in Greek
and some modern languages, working with different styles of tagging, etc.So although it seems less tidy, I'd say we want to include JSword and
a separate database.
It looks like Java 1.6 is required - this is OK if we are allowed to
distribute a PC & Mac installation.
Other devices normally have a shorter shelf-life, so we can assume
that by the time we send things out, they'll have 1.6,
or they might be able to download an upgrade. But in any case, lets
go with Java 1.6Chris, am I right in thinking the programming will best be done in
Eclipse, because this has a GWT plugin?
David - are you happy working with the kind of model Chris is
suggesting? Or are you a Java Beans guy?Personally, I'm not really a Java programmer. I've done plenty by
necessity, but mainly adjusting other people's code, and then I tend
to use a fairly plain text editor. I've had a look at Beans, but not
Eclipse. So I'll defer to the expertise which you two have.David IB
--
Posted By Tyndale STEP Project to Tyndale STEP - Programming on 8/19/2009 05:21:00 AM
Wednesday, 19 August 2009
Re: [Tyndale STEP - Programming] JSword + database
Please can you let me know if the attachment doesn't work. My computer crashed and I'm not sure if it all went through...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment