uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee Surprenant (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-2145) Error adding PEAR file with type priorities to aggregate AE using the CDE
Date Tue, 24 May 2011 19:58:47 GMT
Error adding PEAR file with type priorities to aggregate AE using the CDE
-------------------------------------------------------------------------

                 Key: UIMA-2145
                 URL: https://issues.apache.org/jira/browse/UIMA-2145
             Project: UIMA
          Issue Type: Bug
          Components: Tools
            Reporter: Lee Surprenant


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)"


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message