[jsword-svn] r1401 - in trunk/biblemapper/src/main: java/org/crosswire/biblemapper/model java/org/crosswire/biblemapper/swing resources

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Wed Jun 13 09:15:11 MST 2007


Author: dmsmith
Date: 2007-06-13 09:15:10 -0700 (Wed, 13 Jun 2007)
New Revision: 1401

Added:
   trunk/biblemapper/src/main/resources/config.properties
   trunk/biblemapper/src/main/resources/config.xml
Modified:
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/AbstractRule.java
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/LinkArray.java
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/BookChooser.java
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/CliMapper.java
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java
   trunk/biblemapper/src/main/resources/mapper.properties
Log:
Fixed some bugs in Bible Mapper. Pretty cool stuff. Still more bugs, but at least it comes up.

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/AbstractRule.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/AbstractRule.java	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/AbstractRule.java	2007-06-13 16:15:10 UTC (rev 1401)
@@ -37,15 +37,16 @@
      */
     public Position[] getScaledPosition(Map map, int book, int chapter)
     {
-        if (scale == 0)
+        // get a copy of scale, since it can change out from under
+        int size = scale;
+        if (size == 0)
         {
             return new Position[0];
         }
 
         Position single = getDesiredPosition(map, book, chapter);
-
-        Position[] reply = new Position[scale];
-        for (int i=0; i<scale; i++)
+        Position[] reply = new Position[size];
+        for (int i=0; i<size; i++)
         {
             reply[i] = single;
         }

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/LinkArray.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/LinkArray.java	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/model/LinkArray.java	2007-06-13 16:15:10 UTC (rev 1401)
@@ -33,6 +33,8 @@
 import org.crosswire.jsword.book.Book;
 import org.crosswire.jsword.book.BookData;
 import org.crosswire.jsword.book.OSISUtil;
+import org.crosswire.jsword.index.search.DefaultSearchModifier;
+import org.crosswire.jsword.index.search.DefaultSearchRequest;
 import org.crosswire.jsword.passage.NoSuchVerseException;
 import org.crosswire.jsword.passage.PassageTally;
 import org.crosswire.jsword.passage.Verse;
@@ -230,8 +232,11 @@
             {
                 Verse find = new Verse(b, c, v);
                 BookData bdata = new BookData(book, find);
-                String text = OSISUtil.getPlainText(bdata.getOsis());
-                PassageTally temp = (PassageTally) book.find(text);
+                String text = OSISUtil.getCanonicalText(bdata.getOsisFragment());
+                DefaultSearchModifier modifier = new DefaultSearchModifier();
+                modifier.setRanked(true);
+
+                PassageTally temp = (PassageTally) book.find(new DefaultSearchRequest(text, modifier));
                 temp.setOrdering(PassageTally.ORDER_TALLY);
                 total.addAll(temp);
             }

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/BookChooser.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/BookChooser.java	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/BookChooser.java	2007-06-13 16:15:10 UTC (rev 1401)
@@ -189,7 +189,8 @@
      */
     public void selection()
     {
-        selected = (String) lstBibles.getSelectedValue();
+        Book book = (Book) lstBibles.getSelectedValue();
+        selected = book.getName();
         btnOk.setEnabled(selected != null);
     }
 

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/CliMapper.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/CliMapper.java	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/CliMapper.java	2007-06-13 16:15:10 UTC (rev 1401)
@@ -103,7 +103,7 @@
                     {
                         Verse find = new Verse(b, c, v);
                         BookData bdata = new BookData(book, find);
-                        String text = OSISUtil.getPlainText(bdata.getOsis());
+                        String text = OSISUtil.getPlainText(bdata.getOsisFragment());
                         String quote = IndexSearcher.getPreferredSyntax(PhraseParamWord.class);
                         text = quote + text + quote;
                         PassageTally temp = (PassageTally) book.find(text);

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java	2007-06-13 16:15:10 UTC (rev 1401)
@@ -38,7 +38,9 @@
 import java.io.ObjectOutputStream;
 import java.io.PrintWriter;
 import java.util.List;
+import java.util.Locale;
 import java.util.Properties;
+import java.util.ResourceBundle;
 
 import javax.swing.BorderFactory;
 import javax.swing.JButton;
@@ -70,6 +72,7 @@
 import org.crosswire.common.config.Config;
 import org.crosswire.common.swing.ExceptionPane;
 import org.crosswire.common.swing.GuiUtil;
+import org.crosswire.common.util.CWClassLoader;
 import org.crosswire.common.util.Reporter;
 import org.crosswire.common.util.ResourceUtil;
 import org.crosswire.common.xml.XMLUtil;
@@ -146,8 +149,11 @@
         try
         {
             Document xmlconfig = XMLUtil.getDocument("config");
-            config.add(xmlconfig, null);
+            Locale defaultLocale = Locale.getDefault();
+            ResourceBundle configResources = ResourceBundle.getBundle("config", defaultLocale, CWClassLoader.instance(Mapper.class));
 
+            config.add(xmlconfig, configResources);
+
             Properties prop = ResourceUtil.getProperties("mapper");
             if (prop != null)
             {

Added: trunk/biblemapper/src/main/resources/config.properties
===================================================================
--- trunk/biblemapper/src/main/resources/config.properties	                        (rev 0)
+++ trunk/biblemapper/src/main/resources/config.properties	2007-06-13 16:15:10 UTC (rev 1401)
@@ -0,0 +1,88 @@
+# The naming convention for the keys in the file is to match that of the
+# keys of the options in the config.xml file.
+# Since the keys may have spaces these need to be escaped here.
+
+Bibles.RetainCurrent.path=Bibles.Use Current Bible
+Bibles.RetainCurrent.help=New Bible Views use the last chosen Bible. Otherwise, use the default Bible.
+Bibles.DefaultBible.path=Bibles.Default Bible
+Bibles.DefaultBible.help=Which of the available Bibles is the default.
+Bibles.DefaultDictionary.path=Bibles.Default Dictionary
+Bibles.DefaultDictionary.help=Which of the available Dictionaries is the default.
+Bibles.DefaultCommentary.path=Bibles.Default Commentary
+Bibles.DefaultCommentary.help=Which of the available Commentaries is the default.
+Bibles.DefaultDailyDevotional.path=Bibles.Default Daily Devotional
+Bibles.DefaultDailyDevotional.help=Which of the available Daily Devotionals is the default.
+Bibles.DefaultGreekDefinitions.path=Bibles.Default Greek Definitions (Strongs)
+Bibles.DefaultGreekDefinitions.help=Which of the available Greek Definitions (Strongs) is the default.
+Bibles.DefaultHebrewDefinitions.path=Bibles.Default Hebrew Definitions (Strongs)
+Bibles.DefaultHebrewDefinitions.help=Which of the available Hebrew Definitions (Strongs) is the default.
+Bibles.DefaultGreekParse.path=Bibles.Default Greek Morphology/Parsing Guides
+Bibles.DefaultGreekParse.help=Which of the available Greek Morphology/Parsing Guides is the default.
+Bibles.DefaultHebrewParse.path=Bibles.Default Hebrew Morphology/Parsing Guides
+Bibles.DefaultHebrewParse.help=Which of the available Hebrew Morphology/Parsing Guides is the default.
+BibleDisplay.Reuse.path=Bible Display.Open links in same Bible View
+BibleDisplay.Reuse.help=Reuse Bible View for links.
+BibleDisplay.MaxPickers.path=Bible Display.Parallel Bible Limit
+BibleDisplay.MaxPickers.help=Limit the number of Bibles to show at once.
+BibleDisplay.Commentaries.path=Bible Display.List Commentaries with Bibles
+BibleDisplay.Commentaries.help=List Commentaries with Bibles
+BibleDisplay.Sidebar.path=Bible Display.Show the Passage Sidebar
+BibleDisplay.Sidebar.help=Show the Passage Sidebar
+BibleDisplay.VersesPerTab.path=Bible Display.Verses Per Tab
+BibleDisplay.VersesPerTab.help=How many verses do you want to display on a page before spilling to tabbed mode.
+BibleDisplay.RankedVerses.path=Bible Display.Default Number of Matched Verses
+BibleDisplay.RankedVerses.help=How many verses do you want to return from a Matched search.
+BibleDisplay.ConfigurableFont.path=Bible Display.Select Font
+BibleDisplay.ConfigurableFont.help=The font to be used to display books.
+BibleDisplay.AntiAliasDisplay.path=Bible Display.Font Smoothing
+BibleDisplay.AntiAliasDisplay.help=Font smoothing can be slow, but can help the appearance of some fonts.
+SwordBook.BookSearchPath.path=Sword Books.Additional Book locations
+SwordBook.BookSearchPath.help=Additional places to look for SWORD books.
+SwordBook.DownloadDirectory.path=Sword Books.Download Directory
+SwordBook.DownloadDirectory.help=Where should we store newly downloaded books.
+Passages.PersistentNaming.path=Passages.Persistent Naming
+Passages.PersistentNaming.help=Should your input of names .
+Passages.FullBookName.path=Passages.Use Full Book Names
+Passages.FullBookName.help=Should full Bible book names or abbreviations be used.
+Passages.BlurringRules.path=Passages.Passage Expansion Rules
+Passages.BlurringRules.help=What is the default expansion - Stay within chapter boundaries or not.
+Passages.BlurringRules.alternative.0=None
+Passages.BlurringRules.alternative.1=Chapter
+#Passages.BlurringRules.alternative.2=Book
+Passages.BookCase.path=Passages.Book Case
+Passages.BookCase.help=What case should we use to display the Bible book names.
+Passages.BookCase.alternative.0=lower
+Passages.BookCase.alternative.1=Sentence
+Passages.BookCase.alternative.2=UPPER
+Application.Language.path=Application.Language
+Application.Language.help=The language of the application. (Requires restart)
+Application.InitialLayout.path=Application.Initial Layout
+Application.InitialLayout.help=Do you want to start in Tabbed or Multiple Document view mode (Requires restart)
+Application.InitialLayout.alternative.0=Tabbed Document Interface
+Application.InitialLayout.alternative.1=Multiple Document Interface
+Application.MaxHeight.path=Application.Maximum Window Height
+Application.MaxHeight.help=The maximum height you want the window to be
+Application.MaxWidth.path=Application.Maximum Window Width
+Application.MaxWidth.help=The maximum width you want the window to be
+Application.UIFont.path=Application.General Font
+Application.UIFont.help=The font for the application (Requires restart)
+
+# The following are not for general use and are hidden from view
+BibleDisplay.CSSOverride.path=Bible Display.CSS Override
+BibleDisplay.CSSOverride.help=Use an alternate CSS Stylesheet.
+BibleDisplay.Converter.path=Bible Display.Converter
+BibleDisplay.Converter.help=The engine used to genterate the book display
+BibleDisplay.ConfigurableStylesheet.path=Bible Display.Configurable Stylesheet
+BibleDisplay.ConfigurableStylesheet.help=The style applied to displayed Books when using the configurable styler.
+Application.LookAndFeel.path=Application.Look and Feel
+Application.LookAndFeel.help=The look and feel of the application.
+Advanced.SourcePath.path=Advanced.Source Path
+Advanced.SourcePath.help=The directories to search for source code in when investigating an exception.
+Advanced.DefaultPassageType.path=Advanced.Default Passage Type
+Advanced.DefaultPassageType.help=What type of passage does the PassageFactory create by default.
+Advanced.DefaultPassageType.alternative.0=Speed (Rocket)
+Advanced.DefaultPassageType.alternative.1=Write Speed (Bitwise)
+Advanced.DefaultPassageType.alternative.2=Size (Distinct)
+Advanced.DefaultPassageType.alternative.3=Mix (Ranged)
+Advanced.IncludeAdvancedTabs.path=Advanced.Include Advanced Tabs
+Advanced.IncludeAdvancedTabs.help=Are the advanced tabs visible in the "About ..." Dialog. (Requires restart)

Added: trunk/biblemapper/src/main/resources/config.xml
===================================================================
--- trunk/biblemapper/src/main/resources/config.xml	                        (rev 0)
+++ trunk/biblemapper/src/main/resources/config.xml	2007-06-13 16:15:10 UTC (rev 1401)
@@ -0,0 +1,284 @@
+<?xml version="1.0"?>
+
+<!--
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License, version 2.1 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * The License is available on the internet at:
+ *       http://www.gnu.org/copyleft/lgpl.html
+ * or by writing to:
+ *      Free Software Foundation, Inc.
+ *      59 Temple Place - Suite 330
+ *      Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ *     The copyright to this program is held by it's authors.
+ *
+ * ID: $Id: config.xml 1393 2007-06-07 18:37:44Z dmsmith $
+ -->
+ <!--
+ * Transforms OSIS to HTML for viewing within JSword browsers.
+ * Note: There are custom protocols which the browser must handle.
+ * 
+ * @see gnu.lgpl.License for license details.
+ *      The copyright to this program is held by it's authors.
+ * @author Joe Walker [joe at eireneh dot com]
+ * @author DM Smith [dmsmith555 at yahoo dot com]
+ -->
+<!DOCTYPE config [
+<!ELEMENT config (option)+>
+<!ELEMENT option (introspect?, map?, alternative*, custom?)>
+<!ATTLIST option
+  key CDATA #REQUIRED
+  static (true|false) 'true'
+  hidden (true|false) 'false'
+  priority NMTOKEN '5'
+  type (string|boolean|int-options|string-options|string-array|file|path|directory|number|font|class|custom|password) #REQUIRED
+  class CDATA #IMPLIED
+  separator CDATA #IMPLIED
+>
+<!ELEMENT introspect EMPTY>
+<!ATTLIST introspect
+  class CDATA #REQUIRED
+  property CDATA #REQUIRED
+>
+
+<!ELEMENT map EMPTY>
+<!ATTLIST map
+  name CDATA #REQUIRED
+>
+<!ELEMENT custom EMPTY>
+<!ATTLIST custom
+  class CDATA #REQUIRED
+>
+<!ELEMENT alternative (#PCDATA)>
+<!ATTLIST alternative
+  number NMTOKEN #REQUIRED
+>
+]>
+
+<config>
+
+  <option key="Bibles.RetainCurrent" type="boolean">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="CurrentBible"/>
+  </option>
+
+  <option key="Bibles.DefaultBible" type="string-options">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="BibleByName"/>
+    <map name="bible-names"/>
+    <!-- set up in OptionsAction.refreshBooks() along with dict and commentary versions -->
+  </option>
+
+  <option key="Bibles.DefaultDailyDevotional" type="string-options">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="DailyDevotionalByName"/>
+    <map name="daily-devotional-names"/>
+  </option>
+
+<!-- Does not mean anything right now -->
+  <option key="Bibles.DefaultDictionary" type="string-options" hidden="true">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="DictionaryByName"/>
+    <map name="dictionary-names"/>
+  </option>
+
+<!-- Does not mean anything right now -->
+  <option key="Bibles.DefaultCommentary" type="string-options" hidden="true">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="CommentaryByName"/>
+    <map name="commentary-names"/>
+  </option>
+
+  <option key="Bibles.DefaultGreekDefinitions" type="string-options">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="GreekDefinitionsByName"/>
+    <map name="greekdef-names"/>
+  </option>
+
+  <option key="Bibles.DefaultHebrewDefinitions" type="string-options">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="HebrewDefinitionsByName"/>
+    <map name="hebrewdef-names"/>
+  </option>
+
+  <option key="Bibles.DefaultGreekParse" type="string-options">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="GreekParseByName"/>
+    <map name="greekparse-names"/>
+  </option>
+
+<!-- There are no Hebrew parsing guides at this time. -->
+  <option key="Bibles.DefaultHebrewParse" type="string-options" hidden="true">
+    <introspect class="org.crosswire.jsword.book.Defaults" property="HebrewParseByName"/>
+    <map name="hebrewparse-names"/>
+  </option>
+
+<!-- At this time we only have one converter -->
+  <option key="BibleDisplay.Converter" type="string-options" hidden="true">
+    <introspect class="org.crosswire.jsword.util.ConverterFactory" property="CurrentConverterName"/>
+    <map name="converters"/>
+  </option>
+
+<!-- We only provide one style sheet at this time -->
+  <option key="BibleDisplay.ConfigurableStylesheet" type="string-options" hidden="true">
+    <introspect class="org.crosswire.bibledesktop.util.ConfigurableSwingConverter" property="ResourceName"/>
+    <map name="cswing-styles"/>
+  </option>
+
+<!-- This really only useful for developers -->
+  <option key="BibleDisplay.CSSOverride" type="string" hidden="false">
+    <introspect class="org.crosswire.bibledesktop.desktop.Desktop" property="CSSOverride"/>
+  </option>
+
+  <option key="BibleDisplay.Reuse" type="boolean">
+    <introspect class="org.crosswire.bibledesktop.desktop.Desktop" property="BibleViewReused"/>
+  </option>
+
+  <option key="BibleDisplay.MaxPickers" type="number">
+    <introspect class="org.crosswire.bibledesktop.book.ParallelBookPicker" property="MaxPickers"/>
+  </option>
+
+  <option key="BibleDisplay.Commentaries" type="boolean">
+    <introspect class="org.crosswire.jsword.book.BookFilters" property="CommentariesWithBibles"/>
+  </option>
+
+  <option key="BibleDisplay.Sidebar" type="boolean">
+    <introspect class="org.crosswire.bibledesktop.desktop.Desktop" property="SidebarShowing"/>
+  </option>
+
+  <option key="BibleDisplay.VersesPerTab" type="number">
+    <introspect class="org.crosswire.bibledesktop.display.basic.TabbedBookDataDisplay" property="PageSize"/>
+  </option>
+
+  <option key="BibleDisplay.RankedVerses" type="number">
+    <introspect class="org.crosswire.bibledesktop.book.DisplaySelectPane" property="NumRankedVerses"/>
+  </option>
+
+  <option key="BibleDisplay.AntiAliasDisplay" type="boolean">
+    <introspect class="org.crosswire.common.swing.AntiAliasedTextPane" property="AntiAliasing"/>
+  </option>
+
+  <option key="BibleDisplay.ConfigurableFont" type="font">
+    <introspect class="org.crosswire.bibledesktop.util.ConfigurableSwingConverter" property="Font"/>
+  </option>
+
+  <option key="SwordBook.BookSearchPath" type="path">
+    <introspect class="org.crosswire.jsword.book.sword.SwordBookPath" property="AugmentPath"/>
+  </option>
+
+  <option key="SwordBook.DownloadDirectory" type="directory">
+    <introspect class="org.crosswire.jsword.book.sword.SwordBookPath" property="DownloadDir"/>
+  </option>
+
+<!-- Limbo: Currently not used
+  <option key="Remote.RemoteHost" type="string-array" separator=" ">
+    <introspect class="org.crosswire.jsword.book.remote.HttpRemoteBookDriver" property="URLs"/>
+  </option>
+-->
+
+  <option key="Passages.PersistentNaming" type="boolean">
+    <introspect class="org.crosswire.jsword.passage.PassageUtil" property="PersistentNaming"/>
+  </option>
+
+  <option key="Passages.FullBookName" type="boolean">
+    <introspect class="org.crosswire.jsword.versification.BibleInfo" property="FullBookName"/>
+  </option>
+
+  <option key="Passages.BlurringRules" type="int-options">
+    <introspect class="org.crosswire.jsword.passage.RestrictionType" property="BlurRestriction"/>
+    <alternative number="0"/>
+    <alternative number="1"/>
+    <!-- Remove Book for now <alternative number="2"/> -->
+  </option>
+
+  <option key="Passages.BookCase" type="int-options">
+    <introspect class="org.crosswire.jsword.versification.BibleInfo" property="Case"/>
+    <alternative number="0"/>
+    <alternative number="1"/>
+    <alternative number="2"/>
+  </option>
+
+<!-- This really only useful for developers -->
+  <option key="Application.LookAndFeel" type="class" hidden="true">
+    <introspect class="org.crosswire.common.swing.LookAndFeelUtil" property="LookAndFeel"/>
+  </option>
+
+  <option key="Application.Language" type="string-options">
+    <introspect class="org.crosswire.bibledesktop.desktop.Translations" property="CurrentTranslation"/>
+    <map name="translation-codes"/>
+  </option>
+
+  <option key="Application.InitialLayout" type="int-options">
+    <introspect class="org.crosswire.common.swing.desktop.ViewManager" property="InitialLayoutType"/>
+    <alternative number="0"/>
+    <alternative number="1"/>
+  </option>
+
+  <option key="Application.MaxWidth" type="number">
+    <introspect class="org.crosswire.bibledesktop.desktop.Desktop" property="MaxWidth"/>
+  </option>
+
+  <option key="Application.MaxHeight" type="number">
+    <introspect class="org.crosswire.bibledesktop.desktop.Desktop" property="MaxHeight"/>
+  </option>
+
+  <option key="Application.UIFont" type="font">
+    <introspect class="org.crosswire.common.swing.LookAndFeelUtil" property="Font"/>
+  </option>
+
+<!-- This really only useful for developers -->
+  <option key="Advanced.SourcePath" type="path" priority="9" hidden="false">
+    <introspect class="org.crosswire.common.swing.ExceptionPane" property="SourcePath"/>
+  </option>
+
+<!-- This really only useful for developers -->
+  <option key="Advanced.DefaultPassageType" type="int-options" hidden="false">
+    <introspect class="org.crosswire.jsword.passage.PassageKeyFactory" property="DefaultPassage"/>
+    <alternative number="0"/>
+    <alternative number="1"/>
+    <alternative number="2"/>
+    <alternative number="3"/>
+  </option>
+
+<!-- Limbo: Currently not used
+  <option key="Advanced.Raw.CacheData" type="boolean">
+    <introspect class="org.crosswire.jsword.book.raw.RawBook" property="DefaultCacheData"/>
+  </option>
+-->
+
+<!-- Limbo: This really only useful for developers
+  <option key="Advanced.Reports.ShowErrorsInDialogBox" type="boolean" priority="8">
+    <introspect class="org.crosswire.common.swing.ExceptionPane" property="HelpDeskListener"/>
+  </option>
+-->
+
+<!-- Limbo: This really only useful for developers
+  <option key="Advanced.Reports.LogErrorsInLogWindow" type="boolean" priority="8">
+    <introspect class="org.crosswire.common.swing.ExceptionShelf" property="HelpDeskListener"/>
+  </option>
+-->
+
+<!-- This really only useful for developers -->
+  <option key="Advanced.IncludeAdvancedTabs" type="boolean" hidden="true">
+    <introspect class="org.crosswire.bibledesktop.desktop.AboutPane" property="Advanced"/>
+  </option>
+
+<!-- Limbo: Temporarily remove Blog code
+  <option key="WebJournal.Url" type="string" priority="1">
+    <introspect class="org.crosswire.bibledesktop.journal.BlogClientFrame" property="Url"/>
+  </option>
+
+  <option key="WebJournal.UserName" type="string">
+    <introspect class="org.crosswire.bibledesktop.journal.BlogClientFrame" property="UserName"/>
+  </option>
+  
+  <option key="WebJournal.Password" type="password">
+    <introspect class="org.crosswire.bibledesktop.journal.BlogClientFrame" property="Password"/>
+  </option>
+  
+  <option key="WebJournal.Type" type="int-options">
+    <introspect class="org.crosswire.bibledesktop.journal.BlogClientFrame" property="Type"/>
+    <alternative number="0" />
+    <alternative number="1" />
+  </option>
+ -->
+</config>

Modified: trunk/biblemapper/src/main/resources/mapper.properties
===================================================================
--- trunk/biblemapper/src/main/resources/mapper.properties	2007-06-13 15:28:09 UTC (rev 1400)
+++ trunk/biblemapper/src/main/resources/mapper.properties	2007-06-13 16:15:10 UTC (rev 1401)
@@ -1,17 +1 @@
-#Tool Shed Options
-#Sun Oct 06 11:52:20 BST 2002
-Bibles.Display.Blurring\ Rules=Chapter
-Bibles.Default=av-ser
-Looks.Look\ and\ Feel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
-Reports.Exceptions\ to\ Dialog\ Box=False
-Bibles.Display.Book\ Case=Sentence
-Bibles.Raw.Cache\ Data=True
-Reports.Exceptions\ to\ System\ Logger=False
-Bibles.Display.Persistent\ Naming=False
-Advanced.User\ Level=Advanced
-Reports.Exceptions\ to\ Log\ Window=True
-Bibles.Sword.Base\ Directory=C\:\\Program\ Files\\CrossWire\\The\ SWORD\ Project
-Bibles.Cache\ Versions=True
-Advanced.Source\ Path=C\:\\Home\\Joe\\Devt\\jsword\\java\\jsword
-DONE
-
+# This file is deliberately empty
\ No newline at end of file




More information about the jsword-svn mailing list