|EMF code generation error (bug report) [message #378370]
||Thu, 02 November 2006 11:10
Originally posted by: vkrastev.gmx.de|
we have following problem(bug) with the EMF code generation tool.
I will explain the process and then the error.
We make new EMF project from our ecore model. Then from the generate model
(ourmodel.genmodel) we generate the Model Code. And we have the following
syntax errors in the generated code.
In our ecore model there are variable names and method names which exceed
the maximum lenght
of the screen. The length of the whole line is 74 characters it will be
split by generation in the position 57 with new line character and the
remaining 17 characters are put on the next line.
it should be like this:
private EDataType xsDbuildInPrimitiveTypeNamesObjectEdataType = null ;
but after the code generation we have the following:
private EDataType xsDbuildInPrimitiveTypeNamesObject
EdataType = null ;
That means now we have two independent lines code and we get after compile
the syntax error:
"on token "EDataType", delete this token"
We dont want to make changes on our model in order to avoid this error.
Is it a bug? Can you fix it?
We suppose it is an error in the JET code generation.
Please advise solution.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.02344 seconds