uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
Date Wed, 15 Apr 2009 02:09:15 GMT

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

Marshall Schor commented on UIMA-1326:
--------------------------------------

I mis-remembered how this got set up. (It's older code that dates from Eclipse ~2.1 vintage).
 

JCasGen has a mode where it can "merge" the generated code with previous extensions that a
user might have written, in a way the preserves those.  It uses the code generation facilities
of EMF to do this.  See http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/tools/tools.html#ugr.tools.jcasgen
(the section starting "There are several versions of JCasGen").  

This was set up by moving the dependency on EMF code generation into a plugin, uimaj-ep-jcasgen.
 That plugin's POM does have a dependency on EMF.  The plugin is used in two cases: 1) from
the Component Descriptor Editor in Eclipse, and when running the tool script   jcasgen_merge.bat
or .sh;  In the latter case the "application" calls the class JgPluginRunner  (see the plugin.xml
file for that plugin).

The Component Descriptor Editor has a dependency on uimaj-ep-jcasgen, which in turn depends
on EMF codegen.  

I think this will continue to work, if you remove the EMF dependency from the core, but let's
test to be sure :-).

> Remove EMF dependency from uimaj-ep-runtime plugin
> --------------------------------------------------
>
>                 Key: UIMA-1326
>                 URL: https://issues.apache.org/jira/browse/UIMA-1326
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Eclipse plugins
>    Affects Versions: 2.3
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>             Fix For: 2.3
>
>
> The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in
> an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime,
> which depends on many other eclipse plugins.
> Since EMF is only really used in the examples project, the dependency is removed
> from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java
> are moved to uimaj-examples.
> The uimaj-ep-runtime plugin contains currently uimaj-examples, that 
> could be moved to a seperate plugin or shipped with an OSGI bundle.

-- 
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