[XCORE] ecore file generated in impl package [message #1739750] |
Wed, 03 August 2016 12:20  |
Eclipse User |
|
|
|
Hi,
since a while there is a packageName.ecore file generated into the impl
package. "packageName" stands for the package name defined in my xcore
file. The IDE is Neon respectively Eclipse 4.6.0.
The xcore file starts with the following lines:
@GenModel(editDirectory="/de.bahntechnik.dd.opn.ana.sel.edit/src",
tableProviders="true",
editorDirectory="/de.bahntechnik.dd.opn.dev.ana.sel.editor/src",
editorPluginID="de.bahntechnik.dd.opn.dev.ana.sel.editor",
resource="XML",
editorPluginClass="de.bahntechnik.dd.opn.dev.ana.sel.presentation.SelEditorPlugin",
multipleEditorPages="false", literalsInterface="true")
package de.bahntechnik.dd.opn.ana.sel
On one hand I do not need the file and on the other hand I get annoying
Problem markers from that file.
Does any one have an idea how to avoid this packageName.ecore file?
Martin
|
|
|
Re: [XCORE] ecore file generated in impl package [message #1739751 is a reply to message #1739750] |
Wed, 03 August 2016 12:56   |
Eclipse User |
|
|
|
Martin,
This is generated only if the package is really quite large and the
normal generated XyzPackage might exceed Java's byte code limit of 64k.
In the properties view you could change the Initialize by Loading
GenPackage property to false, and hope it generates code that's not too
large.
On 03.08.2016 18:20, Martin Jacob wrote:
> Hi,
>
> since a while there is a packageName.ecore file generated into the
> impl package. "packageName" stands for the package name defined in my
> xcore file. The IDE is Neon respectively Eclipse 4.6.0.
>
> The xcore file starts with the following lines:
>
> @GenModel(editDirectory="/de.bahntechnik.dd.opn.ana.sel.edit/src",
> tableProviders="true",
> editorDirectory="/de.bahntechnik.dd.opn.dev.ana.sel.editor/src",
> editorPluginID="de.bahntechnik.dd.opn.dev.ana.sel.editor",
> resource="XML",
> editorPluginClass="de.bahntechnik.dd.opn.dev.ana.sel.presentation.SelEditorPlugin",
> multipleEditorPages="false", literalsInterface="true")
> package de.bahntechnik.dd.opn.ana.sel
>
>
> On one hand I do not need the file and on the other hand I get
> annoying Problem markers from that file.
>
> Does any one have an idea how to avoid this packageName.ecore file?
>
> Martin
|
|
|
|
Re: [XCORE] ecore file generated in impl package [message #1741976 is a reply to message #1739750] |
Wed, 03 August 2016 12:56   |
Eclipse User |
|
|
|
Martin,
This is generated only if the package is really quite large and the
normal generated XyzPackage might exceed Java's byte code limit of 64k.
In the properties view you could change the Initialize by Loading
GenPackage property to false, and hope it generates code that's not too
large.
On 03.08.2016 18:20, Martin Jacob wrote:
> Hi,
>
> since a while there is a packageName.ecore file generated into the
> impl package. "packageName" stands for the package name defined in my
> xcore file. The IDE is Neon respectively Eclipse 4.6.0.
>
> The xcore file starts with the following lines:
>
> @GenModel(editDirectory="/de.bahntechnik.dd.opn.ana.sel.edit/src",
> tableProviders="true",
> editorDirectory="/de.bahntechnik.dd.opn.dev.ana.sel.editor/src",
> editorPluginID="de.bahntechnik.dd.opn.dev.ana.sel.editor",
> resource="XML",
> editorPluginClass="de.bahntechnik.dd.opn.dev.ana.sel.presentation.SelEditorPlugin",
> multipleEditorPages="false", literalsInterface="true")
> package de.bahntechnik.dd.opn.ana.sel
>
>
> On one hand I do not need the file and on the other hand I get
> annoying Problem markers from that file.
>
> Does any one have an idea how to avoid this packageName.ecore file?
>
> Martin
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06002 seconds