| Summary: | Plug-in dependency issue with org.eclipse.persistence.antlr | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Christoph Keimel <c.keimel> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipselink.orm-inbox, michael.f.obrien, tom.ware | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| URL: | http://www.eclipse.org/forums/index.php?t=msg&th=202367&start=0&S=5c3ac9906ea2f2f1b4b7a3045bfe86d7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The things you have to do to make this work make me think this is more likely a PDE Issue than an EcipseLink issue. I will leave this bug open because I am unsure, but at based on the description of the problem, I am not sure what EclipseLink can do to avoid this. Do you have a suggestion? Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Created attachment 185892 [details] Test Projects Helios 3.6.1 Basic Setup: A Headless RCP Application with the following dependencies: - org.elcipse.core.runtime - javax.persistence - org.eclipse.persistence.jpa - (jdbc connector - in my testcase a mysqlWrapper) Target Platform including: - RCP Target Components - EclipseLink Target Components The Effect: Create a new Run Configuration (Eclipse Application). On the Plug-ins Tab: - Set "Launch with" to "plug-ins selected below only" - Press "Deselect All" - Select the Application Project Plug-in (i.e. "de.kware.testjpa") - Set to false "Include optional dependencies ..." - Choose "Add Required Plug-ins" A) The plugin org.eclipse.persistence.antlr is not added to the configuration (Eclipse Application) on "Add Required Plug-ins" when "Include optional dependencies ..." is not activated. B) After adding the plugin manualy to the configuration it still doesn't work. The classloader will bring a ClassNotFoundException for org.eclipse.persistence.internal.libraries.antlr.runtime.Parser. C) After fooling around a bit I noticed that after changing the order of the dependencies in the Plug-in Editor, it will suddenly work. Why is this a Problem: Without org.eclipse.persistence.antlr the creation of a TypedQuery results in a ClassNotFoundException for org.eclipse.persistence.internal.libraries.antlr.runtime.Parser.