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 <[email protected]> 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. 
> >
> >
> 
> 

Reply via email to