uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Toldo"<lucato...@gmail.com>
Subject Re: conversion from ECORE to UIMA - Ecore2UimaTypeSystem
Date Wed, 17 May 2017 08:43:22 GMT
Thankyou, 
following works

java -cp org.eclipse.emf.ecore-2.12.0.jar:org.eclipse.emf.common-2.12.0.jar:org.eclipse.emf.ecore.xmi-2.12.0.jar:uima-core.jar:uima-examples.jar
org.apache.uima.examples.xmi.Ecore2UimaTypeSystem <input.ecore> <output.xml>



On 2017-05-16 20:33 (+0200), Marshall Schor <msa@schor.com> wrote: 
> This missing class is part of Eclipse's emf support.
> 
> See if you can locate a jar for it.  For example, I went to
> 
> http://search.maven.org  and searched for "ecore", and found on the 4th hit
> org.eclipse.emf.ecore jar which has the ResourceSet class.
> 
> Try including that Jar (and perhaps its dependencies, look at the POM, or just
> update your Maven build if you're using Maven) in your classpath.
> 
> I also see this jar in my current Eclipse installation.
> 
> -Marshall
> 
> 
> On 5/16/2017 10:44 AM, Luca Toldo wrote:
> > Dear all,
> > I'm trying to generate a UIMA TypeSystem from an UML project.
> > According to the UIMA Tutorial and Developers' Guide this should be straightforward
using
> > java org.apache.uima.ecore.Ecore2UimaTypeSystem <ecore file> <output file>
> >
> > Unfortunately, however, that class does not exist anymore. 
> > in lib/uima-examples.jar I've found the following one :
> > org.apache.uima.examples.xmi.Ecore2UimaTypeSystem
> >
> > however executing it results in a NoClassDefFoundError: org/eclipse/emf/ecore/resource/ResourceSet
> >
> > Unfortunately no information is provided in the UIMA SDK on how to execute that
task (e.g. precise dependency list).
> >
> > Any experience / feedback on the topic is appreciated. 
> >
> >
> 
> 

Mime
View raw message