<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">So, did that work for you?<div><br></div><div>Also let us know what your plans are.&nbsp;<br><div><br></div><div>I’m working on getting it to run properly with Java 9 on the Mac.&nbsp;<br><br><div>— DM Smith</div><div><br>On Oct 6, 2017, at 2:10 AM, DM Smith &lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8">Hi Carrie,<div class="">I was concerned that something was wrong with the code. You only need to check out JSword and Bible Desktop into the same folder and then run ant to build the code. I just did the following and “it just worked”. I’ve got ant and JDK Java 8 installed and on the PATH. I’ve been at JavaOne this week and from what I learned, it probably won’t build under Java 9, because of the new module system (aka Jigsaw). You should be able to use Java 5, 6, 7 or 8 for building it.</div><div class=""><br class=""></div><div class="">Our fundamental and primary way to build and run is to use ant.</div><div class=""><br class=""></div><div class=""><div class="">#First create a folder</div><div class="">mkdir bd</div><div class="">#Then go into it</div><div class="">cd bd</div><div class="">#get the code for JSword</div><div class="">git clone <a href="https://github.com/crosswire/jsword.git" class="">https://github.com/crosswire/jsword.git</a></div><div class="">#Then go into the root of that checkout</div><div class="">cd jsword</div><div class=""># And build the code.</div><div class=""># Note: the default target will run all kinds of stuff besides tbe build, such as QA stuff</div><div class=""># Note: this will also get all the third-party dependencies using ivy</div><div class="">ant build</div><div class=""># Then get BibleDesktop into the same folder as you got JSword</div><div class="">cd ..</div><div class="">svn checkout <a href="https://crosswire.org/svn/jsword/trunk/bibledesktop" class="">https://crosswire.org/svn/jsword/trunk/bibledesktop</a> bibledesktop</div><div class=""># Go into the root of that checkout, just like we did for JSword</div><div class="">cd bibledesktop</div><div class=""># Then build it. Like JSword the default target will do more stuff like QA and packaging</div><div class="">ant build</div><div class=""># Then run the program</div><div class="">ant exec</div><div class=""><br class=""></div><div class="">The above should work on Linux or Mac from a terminal window. If you are on Windows you’ll probably have to install ant. And you’ll have to adjust the commands above.</div><div class=""><br class=""></div><div class="">As far as running it on the command line, bibledesktop/etc/bin/ has BibleDesktop.bat and BibleDesktop.sh will do that if you place all the jars in the proper folder structure. Just copy the appropriate one to bd/jsword/lib/jars. Go into that folder and execute it. For the Mac, I had to set JSWORD_HOME=/usr (which is wrong, but gets Mac to get the right Java.)</div><div class=""><br class=""></div><div class="">When you do run it from the command line, you’ll get all kinds of diagnostics which normally goes to the console.</div><div class=""><br class=""></div><div class="">Hope this helps.</div><div class=""><br class=""></div><div class="">BTW, I use Eclipse for development on a Mac. Others use NetBeans. Some use Maven instead of ant for builds.</div><div class=""><br class=""></div><div class="">Let us know if you have any other questions.</div><div class=""><br class=""></div><div class="">In Christ,</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>DM Smith</div><div class=""><br class=""></div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 5, 2017, at 7:30 PM, Carrie Steggerda &lt;<a href="mailto:carriesteggerda@gmail.com" class="">carriesteggerda@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi,<br class=""><br class=""></div>Thank you for your response. I have tried running the code, as I am interested in being able to actually run the software from the terminal. I was wondering how you guys compile and run it on your end? I've tried compiling it all, but I seem to always get errors, and my professor does as well when she attempts running it.<br class=""></div>Even if we get it to compile, which file is the run file? The closest file I've seen is perhaps running java Desktop.java (located in /trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop)<br class=""><br class=""></div>Could you help me with figuring this out?<br class=""></div><div class="">I'd also be interested where the run file for STEP is - I've looked through the code but can't seem to figure out where/how to run that from the terminal either.<br class=""></div>Thanks!<br class=""></div>Carrie<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Oct 2, 2017 at 10:26 AM, Sijo Cherian <span dir="ltr" class="">&lt;<a href="mailto:sijo.cherian@gmail.com" target="_blank" class="">sijo.cherian@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Carrie,<div class=""><br class=""></div><div class="">Bibledesktop code is not in git mirror , but only in subversion</div><div class=""><br class=""></div><div class="">see the svn checkout instruction at bottom of&nbsp;<a href="https://www.crosswire.org/jsword/svn.html" target="_blank" class="">https://www.crosswire.org/<wbr class="">jsword/svn.html</a></div><div class=""><br class=""></div><div class="">STEP frontend, also uses Jsword. It is built by Tyndale, code is at</div><div class=""><a href="https://github.com/tyndale/step" target="_blank" class="">https://github.com/tyndale/<wbr class="">step</a><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">/s</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">On Sun, Oct 1, 2017 at 2:51 PM, Carrie Steggerda <span dir="ltr" class="">&lt;<a href="mailto:carriesteggerda@gmail.com" target="_blank" class="">carriesteggerda@gmail.com</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="h5"><div dir="ltr" class="">Hi DM,<div class=""><br class=""></div><div class="">Thanks for the info. Where can I find the code for the BibleDesktop code in Swing? (or what is the name for it?) The only swing file I can find is jsword-1.6 called "jsword-common-swing-1.6.jar" and I can't seem to run that file. I'd love to be able to play around with the graphical interface and see the code behind it.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Carrie</div></div><div class="m_1366621766698441686HOEnZb"><div class="m_1366621766698441686h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Sep 28, 2017 at 7:54 PM, DM Smith <span dir="ltr" class="">&lt;<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Carrie,<div class=""><br class=""></div><div class="">Welcome!</div><div class=""><br class=""></div><div class="">I’ve added you to the jsword-devel mailing list. The password is mailed in clear text on the first of every month. So don’t using one that is important.</div><div class=""><br class=""></div><div class="">JSword is located at GitHub and BibleDesktop is hosted at CrossWire using SVN.</div><div class=""><br class=""></div><div class="">I use Eclipse to develop. Others use NetBeans or some other IDE. We’ve got Maven integration, which I don’t use, so I can’t vouch for it. Chris Burrell set that up. We do a nightly build on the CrossWire servers and run automated tests.</div><div class=""><br class=""></div><div class="">The BibleDesktop code is in Swing. It’d be great to replace the browser component with JavaFX. Perhaps more.</div><div class=""><br class=""></div><div class="">Also consider STEP from Tyndale. This is another frontend, more recent, that uses an embedded webserver to serve Books aka modules.</div><div class=""><br class=""></div><div class="">Start at <a href="http://www.crosswire.org/jsword" target="_blank" class="">www.crosswire.org/jsword</a>&nbsp;for more dev info.</div><div class=""><br class=""></div><div class="">In His Service,</div><div class=""><span class="m_1366621766698441686m_5053324610973322595m_4457967807315477502Apple-tab-span" style="white-space:pre-wrap">        </span>DM Smith</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="m_1366621766698441686m_5053324610973322595h5"><div class="">On Sep 28, 2017, at 12:50 PM, Carrie Steggerda &lt;<a href="mailto:carriesteggerda@gmail.com" target="_blank" class="">carriesteggerda@gmail.com</a>&gt; wrote:</div><br class="m_1366621766698441686m_5053324610973322595m_4457967807315477502Apple-interchange-newline"></div></div><div class=""><div class=""><div class="m_1366621766698441686m_5053324610973322595h5"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I am a computer science student currently learning about open source software, and have picked JSword as my class project to study on and contribute to. I'd like to subscribe to the mailing list for JSword Developers, and was wondering if I could get some more information on how the development for JSword works. I was wondering what system you use to run your nightly builds, and if you pull the code you have and test it every night, (or exactly how often you run nightly builds). I am also looking at the interface for BibleDesktop, and am wondering if you provide the code for the graphical interface, and where I could find it. I'd be interested in experimenting with the GUI code.</div><div class=""><br class=""></div><div class="">Thanks!</div><div class="">Carrie Steggerda</div></div></div></div>
______________________________<wbr class="">_________________<br class="">sword-support mailing list<br class=""><a href="mailto:sword-support@crosswire.org" target="_blank" class="">sword-support@crosswire.org</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></div><br class=""></div></div>______________________________<wbr class="">_________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/mailm<wbr class="">an/listinfo/jsword-devel</a><br class="">
<br class=""></blockquote></div><span class="HOEnZb"><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_1366621766698441686gmail_signature" data-smartmail="gmail_signature">Regards,<br class="">Sijo</div>
</font></span></div>
<br class="">______________________________<wbr class="">_________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/<wbr class="">mailman/listinfo/jsword-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>jsword-devel mailing list</span><br><span><a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a></span><br><span><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a></span><br></div></blockquote></div></div></body></html>