Hi Andreas
The unit tests for the Entityhub LDPath do use the default DBpedia
index as default data. The provided error log indicate that the
initialization of the index with the test data failed somehow.
The provided log does not indicate why this initialization failed, so
I can only guess.
Can you please check the bundle (jar file)
data/sites/dbpedia/target/org.apache.stanbol.data.sites.dbpedia-1.0.3-incubating-SNAPSHOT.jar
it should be about 46MByte in size. If not please try to remove
data/sites/dbpedia/src/main/resources/org/apache/stanbol/data/site/dbpedia/default/index/dbpedia_43k.solrindex.zip
and that rebuild the "data/sites/dbpedia/" module.
If this does not solve the problem It would be very helpful if you
could provide the whole console log of the failing unit tests for the
"/entityhub/ldpath".
> BTW: Can we get rid of at least one of the "mvn clean" steps ? They
> "should" not be necessary.
I do this automatically. In principle skipping clean should be no
problem as long as you do not change the source. However there might
be some unit tests implicitly assume that the old test data where
removed by the the "clean" goal. Such test would need to be adapted to
remove old data before they run (I know cleaning test data in the
@AfterClass method would be more clean, but this also prevents any
inspection of the results after a successful run of the tests, so it
is not always the best thing to do).
NOTE: that a "svn up" is also considered as a change if the source.
The correct workflow is
* 1st checkout
svn co http://svn.apache.org/repos/asf/incubator/stanbol/trunk stanbol
cd stanbol
mvn install
* update Stanbol
mvn clean
svn up
mvn install
So if you use a shell script to keep in sync with current development
this are the steps you should use.
Also note the "0.9.0-incubating" branch. This is used to build the
0.9.0 release candidates. So all users interested in a stable version
should consider using this branch
svn co
https://svn.apache.org/repos/asf/incubator/stanbol/branches/0.9.0-incubating
stanbol-0.9.0
cd stanbol-0.9.0
mvn install
best
Rupert
--
| Rupert Westenthaler [email protected]
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen