[
https://issues.apache.org/jira/browse/UIMA-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998356#comment-12998356
]
Jörn Kottmann commented on UIMA-2047:
-------------------------------------
Tested your patch. Couldn't find a way to specify a relative path. To what
would the path be relative ?
I tried this:
file://solrmapping.xml
Then it has to be relative to my SolrcasAE.xml descriptor, but it is not. Then
I assumed it might be relative to the working directory of the VM and wrote
something like this file://application/desc/solrmapping.xml but that also did
not work.
As far as I know relative file URLs in java are famous for being confusing ...
maybe the implementation is correct, but I just don't get it specified
correctly.
> 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