Some additional output on the failing class
[junit] Running
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector
[junit] Testsuite:
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.003 sec
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.003 sec
[junit]
[junit] Testcase: warning(junit.framework.TestSuite$1): FAILED
[junit] Class
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector has no
public constructor TestCase(String name) or TestCase()
[junit] junit.framework.AssertionFailedError: Class
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector has no
public constructor TestCase(String name) or TestCase()
[junit]
[junit]
________________________________________
From: McGibbney, Lewis John [[email protected]]
Sent: 23 May 2011 13:30
To: [email protected]
Subject: RE: Setting classpath in Eyeball
Hi Dave thanks for your comments.
I run any build test and get
BUILD FAILED
/home/lewis/trunk/build.xml:146: Test
com.hp.hpl.jena.eyeball.inspectors.test.TestMoreOwlSyntaxInspector failed
Total time: 30 seconds
However running a plain 'ant' from command line produces
lewis@lewis-desktop:~/trunk$ ant
Buildfile: /home/lewis/trunk/build.xml
init:
is this nromal behaviour
compile:
[javac] /home/lewis/trunk/build.xml:62: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for repeatable
builds
jar:
build:
BUILD SUCCESSFUL
Total time: 0 seconds
It leaves me slightly confused... I'm sure that this is not normal behaviour.
________________________________________
From: Dave Reynolds [[email protected]]
Sent: 22 May 2011 14:34
To: [email protected]
Subject: Re: Setting classpath in Eyeball
On Sun, 2011-05-22 at 12:41 +0100, McGibbney, Lewis John wrote:
> 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
The ';' separator character only applies in windows, in the unix world
use ':'. What's happening is that ';' ends the command in bash and the
shell is then trying to run the remaining entries as if they were
commands.
> 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
Setting the CLASSPATH shouldn't be necessary for ant, the build.xml does
it's own classpath setting.
Glancing at the build.xml it looks as if the "test" target is missing
some dependency declarations so the test classes aren't being compiled.
Try doing "ant build test".
Dave
Email has been scanned for viruses by Altman Technologies' email management
service - www.altman.co.uk/emailsystems
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
Email has been scanned for viruses by Altman Technologies' email management
service - www.altman.co.uk/emailsystems
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