EMF generates to the wrong directory [message #1859160] |
Tue, 16 May 2023 12:58  |
Eclipse User |
|
|
|
I have used EMF for years. This is a first and I am wondering if someone can shed any light.
When I do a generate "All", I get a copy of the editor from the editor project in the edit project. This happens and the thing won't build.
The project is called ALFSDK. I have my ecore in ALFSDK.model. I generate and get:
ALFSDK.model
ALFSDK.model.edit
ALFSDK.model.editor
ALFSDK.model.test
So far so good. Looks normal.
The generator generates: alfsdk.presentation.ALFSDKEditor.java, this in the *.editor bundle;
AND
alfsdk.provider.ALFSDKEditor.java this, in the *.edit bundle. It's the same class in both places. What could cause this?
I will say that my bundles are submodules in a Maven build. and I have had to adopt non standard pathing. The path to the errant file is
src/gen/java/alfsdk/provider.ALFEditor.java
Maven packages everything just fine if I first delete the errant file.
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03293 seconds