org.crosswire.jsword.index.query (.properties)<div>org.crosswire.jsword.index (.plugin)</div><div><br><br><div class="gmail_quote">On 17 February 2011 19:57, DM Smith <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div bgcolor="#ffffff" text="#000000"><div class="im">
    On 02/17/2011 02:30 PM, Chris Burrell wrote:
    <blockquote type="cite">Mind if i move the properties files as well?
      <div>Chris</div>
    </blockquote></div>
    I thought they were. Which ones have not been moved?<br><font color="#888888">
    -- DM</font><div><div></div><div class="h5"><br>
    <br>
    <blockquote type="cite">
      <div><br>
        <br>
        <div class="gmail_quote">On 17 February 2011 02:16, DM Smith <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
            <div bgcolor="#FFFFFF">
              <div>Feel free to move it. <br>
                <br>
                Cent from my fone so theer mite be tipos. ;)</div>
              <div>
                <div>
                </div>
                <div>
                  <div><br>
                    On Feb 16, 2011, at 2:50 PM, Chris Burrell &lt;<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>&gt;
                    wrote:<br>
                    <br>
                  </div>
                  <blockquote type="cite">
                    <div>Could be because it&#39;s currently under
                      src/main/java as opposed to src/main/resources...
                      <div>
                        <br>
                      </div>
                      <div>Indeed it is that, since the compiled version
                        of the JAR has that missing. I could add a
                        workaround to the Maven build (although it
                        breaks the fundamental maven convention of it
                        being under src/main/resources). That is one
                        option. My preferred option would be to move it
                        to the resources folder - however I don&#39;t want
                        to break an ant build or anything...</div>
                      <div><br>
                      </div>
                      <div>Any ideas?</div>
                      <div>Chris</div>
                      <div><br>
                      </div>
                      <div><br>
                        <br>
                        <div class="gmail_quote">On 15 February 2011
                          14:46, DM Smith <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
                            <div bgcolor="#ffffff" text="#000000">
                              <div> On 02/14/2011 03:20 PM, Chris
                                Burrell wrote:
                                <blockquote type="cite">Hi
                                  <div><br>
                                  </div>
                                  <div>Still trying to get the maven
                                    build to work. I&#39;m hitting some sort
                                    of ClassNotFound issue, and thought
                                    I&#39;d float the stack trace in case
                                    anyone has any ideas. Something to
                                    do with the IndexManager not being
                                    found, but having a look at that, it
                                    looks like an interface...</div>
                                </blockquote>
                                <br>
                              </div>
                              Some guesses:<br>
                              The IndexManager is defined via a *.plugin
                              file, which has moved to
                              src/main/resources. Could that be the
                              problem?<br>
                              Or is it that maven uses it&#39;s own class
                              loader where we rely on the JSword class
                              loader to find resources? (This is a known
                              problem.)<br>
                              <br>
                              <blockquote type="cite">
                                <div>
                                  <div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>
                                      <div>java.lang.ExceptionInInitializerError</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:114)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:78)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.crosswire.jsword.book.Books.registerDriver(Books.java:271)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.crosswire.jsword.book.Books.autoRegister(Books.java:404)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.crosswire.jsword.book.Books.initialize(Books.java:384)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.crosswire.jsword.book.Books.&lt;init&gt;(Books.java:58)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.crosswire.jsword.book.Books.&lt;clinit&gt;(Books.java:450)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
com.tyndalehouse.step.core.service.impl.JSwordServiceImpl.isInstalled(JSwordServiceImpl.java:244)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
com.tyndalehouse.step.core.prebuild.DownloadJSwordBiblesPreReq.installDefaultJSwordDefaultBibleVersions(DownloadJSwordBiblesPreReq.java:47)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        sun.reflect.NativeMethodAccessorImpl.invoke0(Native
                                        Method)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        java.lang.reflect.Method.invoke(Method.java:597)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
                                        org.junit.runners.ParentRunner.run(ParentRunner.java:236)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)</div>
                                      <div><span style="white-space:pre-wrap"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</div>
                                      <div><b>Caused by:
                                          java.lang.NullPointerException</b></div>
                                      <div> <b><span style="white-space:pre-wrap"> </span>at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>at
                                          java.lang.ClassLoader.loadClass(ClassLoader.java:248)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>at
                                          org.crosswire.common.util.ClassUtil.forName(ClassUtil.java:53)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>at
                                          org.crosswire.common.util.PluginUtil.getImplementor(PluginUtil.java:148)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>at
org.crosswire.common.util.PluginUtil.getImplementation(PluginUtil.java:182)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>at
org.crosswire.jsword.index.IndexManagerFactory.&lt;clinit&gt;(IndexManagerFactory.java:65)</b></div>
                                      <div><b><span style="white-space:pre-wrap"><br>
                                          </span>... 32 more</b></div>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                  </div>
                                </div>
                                <pre><fieldset></fieldset>
_______________________________________________
jsword-devel mailing list
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
</pre>
                              </blockquote>
                              <br>
                            </div>
                            <br>
_______________________________________________<br>
                            jsword-devel mailing list<br>
                            <a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
                            <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>