Description
Adding a PEAR file with its own defined types in the typePriorities section of its descriptor produces a ResourceInitializationError in the Eclipse Component Descriptor Editor.
To reproduce:
Created a simple AE and typeSystem, edit the
typePriorities list to include
<priorityList>
<type>uima.tcas.DocumentAnnotation</type>
<type>some.typename.you.Choose</type>
</priorityList>
I export and install the PEAR with no issues.
Now create a new aggregate AE and on the aggregate tab of the editor,
click Add..., select Import By Location, Browse the file system... to my
locally installed PEAR file, and click OK. When I save the editor, I see
the following error:
"The Descriptor is invalid for the following reason:
ResourceInitializationException: Undefined type "some.typename.you.Choose"
in type priority list. (Descriptor:
...installedPears/testPear/desc/test.xml)"
Attachments
Issue Links
- is related to
-
UIMA-2211 pear failure when using multiple views with JCas
- Closed