Rupert Westenthaler created STANBOL-610:
-------------------------------------------
Summary: Indexing Directory parameter does not work for the
genericrdf Indexing Tool
Key: STANBOL-610
URL: https://issues.apache.org/jira/browse/STANBOL-610
Project: Stanbol
Issue Type: Bug
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Priority: Minor
Fix For: 0.10.0-incubating
If a custom indexing directory is parsed
e.g.
java -Xmx1024m -jar
bin/org.apache.stanbol.entityhub.indexing.genericrdf-0.9.0-incubating-SNAPSHOT-jar-with-dependencies.jar
index ./data
The call results in an Error like this:
15:49:02,094 [main] INFO config.IndexingConfig - Indexing directory:
/home/seralf/Scrivania/indici/prova/indexing
15:49:02,096 [main] INFO config.IndexingConfig - No 'indexing.properties'
found via classpath. Loading Resource viathe classpath is deactivated.
15:49:02,096 [main] INFO config.IndexingConfig - Classpath Indexing Root
null
15:49:02,096 [main] INFO config.IndexingConfig - request for Resource
indexing.properties (folder: prova/indexing/config)
15:49:02,096 [main] INFO config.IndexingConfig - > rquested Resource not
found
Exception in thread "main" java.lang.IllegalArgumentException: Unable to
find configuration file 'indexing.properties'!
at
org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.loadConfig(IndexingConfig.java:592)
at
org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:278)
at
org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:80)
at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:64)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira