You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <de...@uima.apache.org> on 2017/07/06 15:18:00 UTC

[jira] [Commented] (UIMA-5466) UIMA-AS doesn't load deployment descriptors from the classpath or datapath

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

Burn Lewis commented on UIMA-5466:
----------------------------------

In core UIMA an AE can be created from a stream, which can be obtained with the class loader's getResourceAsStream.  In UIMA-AS the UIMA_Service class has a deploy method that takes spring context files, while the initialize method accepts deployment descriptors as files and runs dd2spring on them.  Perhaps Dd2spring (which is not in the Javadocs) could be given a convert method that takes a stream or a resource to be loaded from the class path or data path.

> UIMA-AS doesn't load deployment descriptors from the classpath or datapath
> --------------------------------------------------------------------------
>
>                 Key: UIMA-5466
>                 URL: https://issues.apache.org/jira/browse/UIMA-5466
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Burn Lewis
>            Priority: Minor
>             Fix For: 2.10.0AS
>
>
> The top-level analysis engine descriptor and all others ARE loaded from the class & data paths.  The documentation does not explicitly say that DDs must be in the filesystem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)