Hello,
At
http://www.ontopia.net/doc/current/rdbms/install.html#N1047A it talks about running runtests-rdbms.sh as a test suite. But this file is not in my ontopia-5.3.0 directory.
So I did create the missing tests directory and then I download the script from
https://code.google.com/p/ontopia/source/browse/branches/ontopia-maven/ontopia/src/dist/tests/runtests-rdbms.sh?r=1740 and added it there.
Then I had on error because of the missing classes. So I modified the script to add all the jars (
-cp lib/*
):
#!/bin/sh
if [ -n "$1" ]
then
java -cp lib/* net.ontopia.Ontopia
java -cp lib/* -Dnet.ontopia.xml.Slf4jSaxErrorHandler.ignoreNamespaceErrors=true -Dnet.ontopia.topicmaps.impl.rdbms.PropertyFile=$1 -Dnet.ontopia.test.root=`pwd`/tests/test-data net.ontopia.test.TestRunner --loglevel=ERROR `pwd`/tests/test-data/tests-ontopia.xml ontopia-rdbms
else
echo "Usage: runtests-rdbms.sh <propfile>"
fi
But then I got these errors instead:
Erreur : impossible de trouver ou charger la classe principale lib.backport-util-concurrent-3.1.jar
Erreur : impossible de trouver ou charger la classe principale lib.backport-util-concurrent-3.1.jar
Sorry for the French, it mean "Impossible to find or load the main class
lib.backport-util-concurrent-3.1.jar
"
I guess is obsolete. Is it?
I would like to test my install. It would be nice.