uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tong Fin (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1027) Classes from uima-document-annotator.jar are not in Eclipse plugin
Date Wed, 14 May 2008 14:53:55 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596782#action_12596782
] 

Tong Fin commented on UIMA-1027:
--------------------------------

Hi Mikhail,
Please see comments from Marshall about some issues that we may have with DocumentAnnotation:
   http://www.mail-archive.com/uima-dev@incubator.apache.org/msg07146.html

The following is my summary of the issues surrounding the DocumentAnnotation class:

 1. If we INCLUDE the uima-document-annotation.jar in the runtime plug-in as your suggestion
(which is valid), we have the following issue: If developers need to substitute this class
with their own version in their own plug-in (Bundle in OSGi term), it is possible (from my
experience, "most likely") that the "custom" DocumentAnnotation in the developers plugin cannot
be reached because the DocumentAnnotation class can come from two "different" plugins (UIMA
runtime plug-in and user's plug-in) and OSGi uses the package "org.apache.uima.jcas.tcas"
in UIMA runtime plug-in for wiring.

 2. if we DON'T include the uima-document-annotation.jar in the runtime plug-in, the "custom"
DocumentAnnotation in the developers plugin will be used (there is a complicated situation
that this approach still has the problem as (1) above).

>From the above summary, it looks like the above (2) approach is the reasonable choice
for now.

One small thing that we may do for the next release is to create a "fragment" containing the
uima-document-annotation.jar so that developers can add this "fragment" to UIMA runtime plugin
to cover your use-case.

BTW, if you have any specific problem, please bring up and we can discuss in the mailing list.

- Tong


> Classes from uima-document-annotator.jar are not in Eclipse plugin
> ------------------------------------------------------------------
>
>                 Key: UIMA-1027
>                 URL: https://issues.apache.org/jira/browse/UIMA-1027
>             Project: UIMA
>          Issue Type: Bug
>          Components: Eclipse plugins
>    Affects Versions: 2.2.2AS, 2.2.2S
>            Reporter: Mikhail Sogrin
>
> Eclipse plugin org.apache.uima.runtime previously contained jars inside a plugin. Version
2.2.2 has jars unzipped. But contents of uima-document-annotator.jar were not added to 2.2.2
plugin.
> I've previously submitted a report (UIMA-400) about the same jar which was not added
to 2.1.0 plugin by mistake, and it was fixed in 2.2.0, and now broken again in 2.2.2.
> In addition, there's a circular dependency for the package org.apache.uima.jcas.tcas,
i.e. the same package is exported and imported in manifest. Probably, it's caused by the same
missing classes from that jar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message