Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDali and Plug-in Tooling Conflicts
https://www.eclipse.org/forums/index.php/mv/msg/491195/1069259/#msg_1069259
Kepler: 4.3.0 Build id: I20130605-2000
Dali EclipseLink and JPA Support: 3.3.0
I am not using Maven.
I want to use both eclipse plug-in tools and JPA (Dali) tools. The problem I'm facing is that the plugin tooling wants the META-INF folder to be located directly off the project root folder while the Dali tooling wants the META-INF folder to be located within the project/src folder.
For example, when META-INF is located at the project root, I get generation errors from "JPA Tools -> Generate Tables from Entities..." presumably because it can't locate persistence.xml When I move META-INF under the src folder, I can generate tables but I get dependency resolution errors because my plug-in dependencies can't be resolved by the plugin builder.
Am I missing something or does anyone have reasonable workarounds?
Pls let me know if there's a better spot in the forums to post this.
Thanks. ]]>2013-07-15T14:37:43-00:00Re: Dali and Plug-in Tooling Conflicts
https://www.eclipse.org/forums/index.php/mv/msg/491195/1069288/#msg_1069288
I think you're running into this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=373870
That said, there's no requirement that there be only one META-INF folder per project. A workaround is to put a second META-INF folder in the source folder and to put the JPA artifacts there. That should at least get your tables generated.
Cheers]]>Paul Fullbright2013-07-15T15:48:51-00:00Re: Dali and Plug-in Tooling Conflicts
https://www.eclipse.org/forums/index.php/mv/msg/491195/1069367/#msg_1069367
Paul Fullbright wrote on Mon, 15 July 2013 11:48
That said, there's no requirement that there be only one META-INF folder per project. A workaround is to put a second META-INF folder in the source folder and to put the JPA artifacts there. That should at least get your tables generated.
Cheers
Thanks - much appreciated. I'll try the workaround, so consider this question answered.