Since UIMA 2.2 we have integrated a PEAR runtime. When you have installed a PEAR file using the PEAR installer a special PEAR descriptor is created that can be added as analysis engine in the CPE GUI. You never have to modify the classpath or datapath to run PEAR components.

For some more information about the PEAR runtime, please refer the the UIMA reference documentation.

http://incubator.apache.org/uima/downloads/releaseDocs/2.2.0-incubating/docs/html/references/references.html#ugr.ref.pear.specifier

-- Michael


Richard Eckart wrote:
Hi everybody,

I have installed a couple of PEARs and wanted to run them with cpeGui.sh. Unfortunately UIMA does not seem to automatically use the UIMAClassLoader to fetch the classes from the jars indicated in the setenv.txt files of the respective PEARs - or I just did something wrong.

When I change setUimaClassPath.sh to scan for the setenv.txt files and concatenate the CLASSPATHs in them to a single big classpath, I can use the AEs from the installed PEARs without a problem. On the RASP4UIMA homepage I found a little note indicating that it is necessary to manually add source setenv.txt from e.g. cpeGui.sh. Is this really the intended way? I would really like not to have to worry about setting up the classpath for UIMA.

Best regards,

Richard Eckart



Reply via email to