Adam Lally wrote:
On 5/4/07, Michael Baessler <[EMAIL PROTECTED]> 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.