uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Baessler <...@michael-baessler.de>
Subject Re: UIMA pear runtime
Date Fri, 04 May 2007 15:19:45 GMT
Adam Lally wrote:
> On 5/4/07, Michael Baessler <mba@michael-baessler.de> wrote:
>> OK I implemented the following pearSpecifier resource:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <pearSpecifier xmlns="http://uima.apache.org/resourceSpecifier">
>>     <resourceType>InstalledPear</resourceType>
>>     <pearPath>/home/test/WhitespaceTokenizer</pearPath>
>> </pearSpecifier>
>> The resourceType is the type of the pear archive we use. So maybe in the
>> future we can also work on archived pear files that do not have to be
>> installed before.
> Just a minor comment here, <resourceType> is used in the URI Specifier
> to mean something different.  It is set to either AnalysisEngine or
> CasConsumer to indicate what kind of component is expected at the
> other end of the service.  You are using it differently here so maybe
> give it a different name?  Maybe even <installed>true</installed>, or
> leave it out for now entirely until uninstalled pears are supported.
I commit the code without the <resourceType> tag I may add later an 
<installed> tag when we need them.

View raw message