Hi Mark!<div>Thanks a lot!</div><div><br></div><div>I've been playing and notice a couple of things.</div><div><br></div><div>1) Added jscheme.jar as my jss code uses that</div><div><br></div><div>2) Fixed a couple of jss bootstrappy things to make it happy</div>

<div><br></div><div>3) Does load bind the readtable? I can't seem to side-effect it when loading jss and so have to type </div><div> (set-dispatch-macro-character #\# #\" 'read-invoke) to get it to take effect</div>

<div><br></div><div>4) Having some kind of classpath issues still. When I try (show-classtree "<a href="http://purl.obolibrary.org/obo/iao.owl">http://purl.obolibrary.org/obo/iao.owl</a>") (after loading my ow2 package sucessfully), which should exercise a bunch of stuff, I get a class not found error in the OWLAPI code. </div>

<div><br></div><div>owlxmlparser/src/main/java/org/coode/owlapi/owlxmlparser/OWLXMLParserFactory.java</div><div><div>"java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>at org.coode.owlapi.owlxmlparser.OWLXMLParserFactory.createParser(OWLXMLParserFactory.java:39)</div>

<div><span class="Apple-tab-span" style="white-space:pre">      </span>at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.getParsers(ParsableOWLOntologyFactory.java:82)</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.loadOWLOntology(ParsableOWLOntologyFactory.java:158)</div>

<div><span class="Apple-tab-span" style="white-space:pre">      </span>at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:633)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntologyFromOntologyDocument(OWLOntologyManagerImpl.java:591)</div>

<div><span class="Apple-tab-span" style="white-space:pre">      </span>"</div><div><br></div><div>This is code that uses jss for the jar management and I have no idea how this interacts with the classpath management of OSGI. I guess OSGI is doing various kinds of isolation and I want to blow all the isolation away :)</div>

<div><br></div><div>I guess I'm bound to lose somehow - I'm dynamically loading the OWLAPI jar, for instance, but protege has it loaded? I guess I can skip loading them with jss if I can figure out how to use the ones that protege has loaded. They are in various plugins.</div>

<div><br></div><div>Right now the jss code looks at the classpath to figure out what jars it should parse to get class names. I suppose by analogy I would look through the bundles for classnames. Is there a way to programmatically determine which bundles are available? To add them programmatically? Or do I need to recompile the plugin to get access to a new plugin?</div>

<div><br></div><div>e.g. I see that I can get a protege editor class:</div><div><div>(jclass "org.protege.editor.core.FileUtils")</div><div>-> #<java class org.protege.editor.core.FileUtils {39C7}></div>

<div><br></div><div>But jss doesn't know about it:</div><div><br></div><div>(find-java-class 'core.fileutils)</div><div><div>-> NIL</div><div>#<ERROR {5D08B1}></div></div></div><div><br></div><div>If you have a pointer to your favorite doc about how the OSGI classloading works, please let me know.</div>

<div><br></div></div><div>-Alan</div><div><br><div class="gmail_quote">On Thu, May 20, 2010 at 3:01 PM, Mark Evenson <span dir="ltr"><<a href="mailto:evenson@panix.com">evenson@panix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Alan granted me commit rights, so I have updated the org.sciencecommons.lisp.protege plugin to a (hopefully) fully working version.  Instead of breaking ABCL out in a separate OSGi bundle, I included it in the org.sciecommons.lisp.protege bundle directly as a) I'd like to get ABCL out to the Protege community for use who probably couldn't care less as long as they have a Common Lisp plugin, and b) working through the threading/isolation issues doesn't look like a quick task.<br>


<br>
Attached to this mail is a tentative README cobbled together from Alan's initial emails.<br><font color="#888888">
<br>
<br>
-- <br>
"A screaming comes across the sky.  It has happened before, but there<br>
is nothing to compare to it now."<br>
</font></blockquote></div><br></div>