[Attempto] Testing ACE editor from sources

Jean-Marc Vanel jeanmarc.vanel at gmail.com
Tue Jun 15 17:24:45 CEST 2010


Testing ACE editor again from sources

ACE crashes, due a bad update in the trunk, but happily ACE editor works.

Here is a complete shell session that started the web application on Ubuntu
10.4 :

cd ~/src/acewiki/
bzr pull
ant createwebapps
ln -s /home/jmv/src/ape/ape.exe .
# After looking at run_preloaded in the SWI Prolog distribution in :
# pl-5.8.3/packages/jpl/examples/java/env.sh
# I came with this shell fragment that works for me :
eval `swipl -dump-runtime-variables`
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$PLARCH:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$PLARCH/server:$LD_LIBRARY_PATH
export LD_PRELOAD=$PLBASE/lib/$PLARCH/libjpl.so
java -Djava.library.path=$PLBASE/lib/$PLARCH \
     -jar $HOME/apps/jetty-runner*.jar webapps/war &

Then access http://localhost:8080/acewiki/

Alas ! AceWiki does not start :

2010-06-15 16:12:08.860:WARN::Error for /acewiki/
java.lang.NoClassDefFoundError:
org/semanticweb/owl/inference/OWLReasonerException
        at ch.uzh.ifi.attempto.acewiki.Wiki.<init>(Unknown Source)
        at ch.uzh.ifi.attempto.acewiki.AceWikiApp.init(Unknown Source)
        at nextapp.echo2.app.ApplicationInstance.doInit(ApplicationInstance.java:247)

The reason is that the OWL API jar is not in accordance with the
acewiki.Wiki class :

unzip -l webapps/war/WEB-INF/lib/owlapi-bin.jar | grep OWLReasonerException
      725  2010-01-28 12:51
org/semanticweb/owlapi/reasoner/OWLReasonerException.class

-- 
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ifi.uzh.ch/pipermail/attempto/attachments/20100615/b6433f96/attachment.htm>


More information about the attempto mailing list