Closed logological closed 8 years ago
Problem is if we replace that file, we might have other tests failing (we could try though).
Solution that departs from the need to use a shared external directory during testing would be appreciated.
Well, we don't need to replace the file. We could keep the existing JWNL properties file, and add a new extJWNL properties file with another name. We could then update the DKPro LSR resources.xml file to use the new extJWNL properties file rather than the old JWNL properties file. This will work as long as nothing else on the server needs to use DKPro LSR 0.8.0 or earlier. (If something else does need to use DKPro LSR 0.8.0 or earlier, then we can simply add a new entry to the resources.xml file pointing to the new extJWNL properties file, and then update the DKPro Similarity JUnit test to use that new entry.)
Fixed by Commit 8581f30ae143a822afa125cd97bd9e91f3cb70ee.
The DKPro Similarity Jenkins build has become unstable due to a test failing with the following error:
This error is caused when a JWNL properties file is used with extJWNL. The file
/srv/dkpro/de.tudarmstadt.ukp.dkpro.lexsemresource.core.ResourceFactory/resources.xml
on the Jenkins server references such a file. I don't have access to the machine, though, so I can't replace the file myself.