Hi list,
Just checked out eyeball trunk Revision 1125822 from new Apache SVN repository
but I'm having problems setting my classpath!
I've looked on the old Yahoo dev list but can't get an answer so I know it i
something stupid I'm doing. I get the following log output after adding jars as
instructed in classpath.text
lewis@lewis-01:~/trunk$ set
CLASSPATH=lib/antlr-2.7.5.jar;lib/arq-extra.jar;lib/arq.jar;lib/commons-logging-1.1.1.jar;lib/commons-logging.jar;lib/concurrent.jar;lib/eyeball.jar;lib/icu4j_3_4.jar;lib/iri.jar;lib/jazzy-core.jar;lib/jena.jar;lib/jenatest.jar;lib/json.jar;lib/junit4.jar;lib/log4j-1.2.12.jar;lib/slf4j-api-1.5.6.jar;lib/slf4j-log4j12-1.5.6.jar;lib/stax-api-1.0.jar;lib/wstx-asl-3.0.0.jar;lib/xercesImpl.jar;lib/xml-apis.jar;lib/xsdlib.jar
bash: lib/arq-extra.jar: Permission denied
bash: lib/arq.jar: Permission denied
bash: lib/commons-logging-1.1.1.jar: Permission denied
bash: lib/commons-logging.jar: Permission denied
bash: lib/concurrent.jar: Permission denied
bash: lib/eyeball.jar: Permission denied
bash: lib/icu4j_3_4.jar: Permission denied
bash: lib/iri.jar: Permission denied
bash: lib/jazzy-core.jar: Permission denied
bash: lib/jena.jar: Permission denied
bash: lib/jenatest.jar: Permission denied
bash: lib/json.jar: Permission denied
bash: lib/junit4.jar: Permission denied
bash: lib/log4j-1.2.12.jar: Permission denied
bash: lib/slf4j-api-1.5.6.jar: Permission denied
bash: lib/slf4j-log4j12-1.5.6.jar: Permission denied
bash: lib/stax-api-1.0.jar: Permission denied
bash: lib/wstx-asl-3.0.0.jar: Permission denied
bash: lib/xercesImpl.jar: Permission denied
bash: lib/xml-apis.jar: Permission denied
bash: lib/xsdlib.jar: Permission denied
lewis@lewis-01:~/trunk$
I then tried
lewis@lewis-01:~/trunk$ set CLASSPATH=lib/*
lewis@lewis-01:~/trunk$ ant test
Buildfile: /home/lewis/trunk/build.xml
It appears that I've added the jars in /lib to the classpath. I then test with
ant with the following failures
[junit] Null Test: Caused an ERROR
[junit] com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector
[junit] java.lang.ClassNotFoundException:
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector
[junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:186)
[junit]
[junit]
BUILD FAILED
/home/lewis/trunk/build.xml:146: Test
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector failed
Total time: 42 seconds
I hope that this has something to do with me not adding all jars to the
classpath but if not then can I get some pointers.
Any help to get me going with this would be appreciated. Thank you.
Lewis
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education’s Widening Participation Initiative of the Year
2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education’s Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html