Created bug #2145 to track: https://issues.apache.org/jira/browse/UIMA-2145
thanks, Lee On Thu, May 19, 2011 at 6:35 PM, Lee Surprenant <[email protected]>wrote: > I am fairly new to UIMA and would like to create an Analysis Engine which > delegates to various installed PEAR files on the filesystem. According to > http://uima.apache.org/doc-uima-pears.html#Running%20installed%20PEAR%20files > this > should be possible. > > Unfortunately, I hit an issue while adding a PEAR file which uses its own > defined types in the typePriorities section of its descriptor. > For instance, I created a simple AE and typeSystem, edited 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 I create a new aggregate AE and on the aggregate tab of the editor, I > 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)" > > Is this a bug, or is there something that I am missing? > > thanks, > > Lee Surprenant >
