Issues Generating with JavaImporterApplication [message #691840] |
Sat, 02 July 2011 14:32 |
Alain Picard 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
|
|
|
Powered by
FUDForum. Page generated in 0.02917 seconds