[
https://issues.apache.org/jira/browse/UIMA-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998420#comment-12998420
]
Tommaso Teofili commented on UIMA-2047:
---------------------------------------
If I try both file://src/test/resources/solrmapping.xml or
file://desc/solrmapping.xml (note that this is no more in the classpath) in the
TestSolracasAE.xml then it gets the right file when running 'mvn clean test'
(it's relative to the project directory).
I wonder if it can depend on the running OS.
> Solrcas should not resolve the solrmapping file only via the classpath
> ----------------------------------------------------------------------
>
> Key: UIMA-2047
> URL: https://issues.apache.org/jira/browse/UIMA-2047
> Project: UIMA
> Issue Type: Improvement
> Components: Sandbox-Solrcas
> Reporter: Jörn Kottmann
> Attachments: relativeurl.patch
>
>
> The solrmapping file is currently only resolved via the classpath. It should
> be possible to place a solrmapping file next to the AE descriptor and load it
> like referenced descriptors.
> The Solrcas jar file also contains a default solrmapping file. That should
> not be included in the jar file, otherwise it might accidentally be loaded
> depending on the location of that jar on the classpath.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira