You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by bo...@apache.org on 2016/01/10 05:34:21 UTC
svn commit: r1723903 -
/tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy
Author: bob
Date: Sun Jan 10 04:34:21 2016
New Revision: 1723903
URL: http://svn.apache.org/viewvc?rev=1723903&view=rev
Log:
TIKA-1824 - Fixed incorrect path prefix condition.
Modified:
tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy
Modified: tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy
URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy?rev=1723903&r1=1723902&r2=1723903&view=diff
==============================================================================
--- tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy (original)
+++ tika/branches/2.x/tika-test-resources/src/test/resources/org/apache/tika/parser/ner/opennlp/ModelGetter.groovy Sun Jan 10 04:34:21 2016
@@ -74,9 +74,9 @@ def urlPrefix = "http://opennlp.sourcefo
def prefixPath = "src/test/resources/org/apache/tika/parser/ner/opennlp/"
// detecting proper path for test resources
-if (new File("tika-parser-test").exists() && new File("tika-app").exists() ) {
+if (new File("tika-test-resources").exists() && new File("tika-app").exists() ) {
// running from parent maven project, but resources should go to sub-module
- prefixPath = "tika-parser-test/" + prefixPath
+ prefixPath = "tika-test-resources/" + prefixPath
}
def modelFiles = //filePath : url