uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
Date Wed, 17 Jun 2009 17:06:07 GMT

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

Jörn Kottmann commented on UIMA-1326:
-------------------------------------

Also works for me on the command line and in eclipse, used mvn eclipse:eclipse to set up the
project.

A short look at the code:
 EClass eclass = (EClass) eclassifier;
 // set supertype
String supertypeName = type.getSupertypeName();
 EClassifier superclass = lookupEClassifierForType(supertypeName); // creates EClass if not
 // already existing
 eclass.getESuperTypes().add(superclass); // line 188

On the last line I get a type safety warning in eclipse. I think that means
that we are using an older version of ecore (2.10).

> 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