Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Issues Generating with JavaImporterApplication
Issues Generating with JavaImporterApplication [message #691840] Sat, 02 July 2011 14:32
Alain Picard is currently offline Alain PicardFriend
Messages: 266
Registered: July 2009
Senior Member
I'm trying to use the JavaImporterApplication to generate a genmodel and
ecore from some annotated Java programmatically.

The process works quite well but with a few issues:
1- I can't seem to be able to set my ecore file name
I have a package called demo and I want to get my ecore to be MyDemo.ecore

2- My package nsURI seems to be changed:
I am submitting a package with an nsURI of:
http://demo.ist.emf.iris.castortech.com/spec/1.0
and I get:
http:///com/castortech/iris/emf/language/demo.ecore

3- My template directory is being screwed up:
I submit: "/com.castortech.jtb/templates/emfgen"
and I get: "file:/C:/com.castortech.jtb/templates/emfgen", which is
invalid by the way, as the right version is rooted at the workspace not
the drive, which is also non-portable.

4- How can I set other genmodel features for which there are not
arguments, like rootExtendsInterface, rootExtendsClass,
modelPluginVariables?

Thanks
Alain
Previous Topic:[CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store
Next Topic:Issues generating model code with Generator
Goto Forum:
  


Current Time: Thu Apr 25 22:17:51 GMT 2024

Powered by FUDForum. Page generated in 0.02917 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top