[
https://issues.apache.org/jira/browse/UIMA-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643331#comment-13643331
]
Richard Eckart de Castilho commented on UIMA-2845:
--------------------------------------------------
It's not possible to declare a type system on an aggregate:
{noformat}
org.apache.uima.resource.ResourceInitializationException: The Analysis Engine
Descriptor is invalid - a Type System may not be explicitly set for an
aggregate Analysis Engine. (Descriptor: <unknown>)
{noformat}
> createAggregateDescription takes type system as argument but never uses it.
> ---------------------------------------------------------------------------
>
> Key: UIMA-2845
> URL: https://issues.apache.org/jira/browse/UIMA-2845
> Project: UIMA
> Issue Type: Bug
> Components: uimaFIT
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
> Fix For: 2.0.0uimaFIT
>
>
> createAggregateDescription takes type system as argument but never uses it:
> {code}
> /**
> * A factory method for creating an aggregate description.
> *
> * @param analysisEngineDescriptions list of analysis engine descriptions.
> * @param componentNames list of component names - must be one name per
> description!
> * @param typeSystem the type system to be used.
> */
> public static AnalysisEngineDescription createAggregateDescription(
> List<AnalysisEngineDescription> analysisEngineDescriptions,
> List<String> componentNames,
> TypeSystemDescription typeSystem, TypePriorities typePriorities,
> SofaMapping[] sofaMappings, FlowControllerDescription
> flowControllerDescription)
> throws ResourceInitializationException
> {code}
> In this method, the parameter "typeSystem" is never actually used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira