Thanks. I followed this guide:
http://wiki.eclipse.org/EclipseLink/Building
But when I run the ant -f antbuild.xml I am getting this error:
org.eclipse.persistence.jpa ---
[java] [INFO] Compiling 22 source files to C:\Users\amosomar\git\eclipselin
k.runtime\jpa\org.eclipse.persistence.jpa\target\classes
[java] [INFO] -------------------------------------------------------------
-----------
[java] [INFO] Reactor Summary:
[java] [INFO]
[java] [INFO] EclipseLink Parent ................................ SUCCESS [
1.353s]
[java] [INFO] EclipseLink Hermes Parser ......................... SUCCESS [
35.315s]
[java] [INFO] EclipseLink Core .................................. SUCCESS [
1:15.985s]
[java] [INFO] EclipseLink NoSQL Extension ....................... SUCCESS [
9.204s]
[java] [INFO] EclipseLink JPA ................................... FAILURE [
7.362s]
[java] [INFO] EclipseLink MOXy .................................. SKIPPED
[java] [INFO] EclipseLink DBWS .................................. SKIPPED
[java] [INFO] EclipseLink JPA-RS ................................ SKIPPED
[java] [INFO] EclipseLink SDO ................................... SKIPPED
[java] [INFO] EclipseLink DBWS Builder .......................... SKIPPED
[java] [INFO] -------------------------------------------------------------
-----------
[java] [INFO] BUILD FAILURE
[java] [INFO] -------------------------------------------------------------
-----------
[java] [INFO] Total time: 2:34.704s
[java] [INFO] Finished at: Wed Nov 06 17:30:08 CST 2013
[java] [INFO] Final Memory: 47M/136M
[java] [INFO] -------------------------------------------------------------
-----------
[java] [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plug
in:0.18.0:compile (default-compile) on project org.eclipse.persistence.jpa: Comp
ilation failure: Compilation failure:
[java] [ERROR] C:\Users\amosomar\git\eclipselink.runtime\jpa\org.eclipse.pe
rsistence.jpa\src\org\eclipse\persistence\internal\jpa\metamodel\MetamodelImpl.j
ava:[91,0]
[java] [ERROR] private Map<Class, EntityTypeImpl<?>> entities;
[java] [ERROR] ^^^^^^^^^^^^^^
[java] [ERROR] The type EntityTypeImpl is not generic; it cannot be paramet
erized with arguments <?>
[java] [ERROR] C:\Users\amosomar\git\eclipselink.runtime\jpa\org.eclipse.pe
rsistence.jpa\src\org\eclipse\persistence\internal\jpa\metamodel\MetamodelImpl.j
ava:[94,0]
[java] [ERROR] private Map<Class, EmbeddableTypeImpl<?>> embeddables;
[java] [ERROR] ^^^^^^^^^^^^^^^^^^
[java] [ERROR] The type EmbeddableTypeImpl is not generic; it cannot be par
ameterized with arguments <?>
[java] [ERROR] C:\Users\amosomar\git\eclipselink.runtime\jpa\org.eclipse.pe
rsistence.jpa\src\org\eclipse\persistence\internal\jpa\metamodel\MetamodelImpl.j
ava:[115,0]
[java] [ERROR] this(JpaHelper.getEntityManager(em).getAbstractSession());
[java] [ERROR] ^^^^^^^^^^^^^^^^^^
[java] [ERROR] The method getAbstractSession() from the type JpaEntityManag
er refers to the missing type AbstractSession
....
Alfredo Osorio
Alfredo,
Hi, if you go to the following wiki page there is a list of several procedures for getting the source of the EclipseLink API. These
links are primarily PDE related for Eclipse developers but should help with attaching the proper SVN revision based source so you can generate a diff/patch.
http://wiki.eclipse.org/EclipseLink/Source
I would start with the following for example if you need the source for EclipseLink 2.3 running on
http://cloud.oracle.com
http://www.eclipse.org/eclipselink/downloads/previous_releases.php
Thank you
/Michael
Out of curiosity, how do you develop if you don't use Eclipse? The thing is that I want to submit a patch to a bug so I am trying to set up the
environment in Eclipse so I can test, debug and build the JAR.
Hello,
I don't go into Eclipse often, but when I do I usually just use "File -> Import -> Existing Projects", perhaps it is "existing Eclipse Projects".
Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev