You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/03/01 10:19:39 UTC

[jira] Commented: (UIMA-2047) Solrcas should not resolve the solrmapping file only via the classpath

    [ https://issues.apache.org/jira/browse/UIMA-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000790#comment-13000790 ] 

Jörn Kottmann commented on UIMA-2047:
-------------------------------------

Also get this warning with your patch:

3/1/11 10:16:09 AM - 20: org.apache.uima.impl.ChildUimaContext_impl.getResourceAsStream: WARNING: The unmanaged resource /xxx/apache-uima-as/xxx/desc/solrmapping.xml was accessed.This feature is deprecated, and support may be removed in future versions.


> 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