Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] How can I import EclipseLink source code successfully from the GIT repository into Eclipse?

What is "a lot" ?  What tests are failing?
Schema is generated automatically by the test framework using an EclipseLink API.  Does your test.properties file contain the correct DB information?
try running ant -f antbuild.xml test-jpa from eclipselink.runtime/

--Gordon

On 08/11/2013 2:49 PM, Alfredo Manuel Osorio Martinez wrote:

When I run the test suite:

 

C:\Users\amosomar\git\eclipselink.runtime\jpa\eclipselink.jpa.test>ant -f antbuild.xml test-lrg

 

I am getting a lot of [junit] Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist

 

Do I need to create the tables required for the tests? There is no *.sql in the project to run. I thought that the tables were going to be created automatically by <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> or something.

 

 

De: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] En nombre de gordon yorke
Enviado el: Thursday, November 07, 2013 9:34 AM
Para: eclipselink-dev@xxxxxxxxxxx
Asunto: Re: [eclipselink-dev] How can I import EclipseLink source code successfully from the GIT repository into Eclipse?

 

Hello,
What version of Java are you using.  I just verified it is building fine with 1.7 u25
--Gordon

On 06/11/2013 7:42 PM, Alfredo Manuel Osorio Martinez wrote:

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

 

De: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] En nombre de Michael O'Brien
Enviado el: Wednesday, November 06, 2013 1:01 PM
Para: Dev mailing list for Eclipse Persistence Services
Asunto: Re: [eclipselink-dev] How can I import EclipseLink source code successfully from the GIT repository into Eclipse?

 

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

 

 

From: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Alfredo Manuel Osorio Martinez
Sent: November 6, 2013 11:21 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] How can I import EclipseLink source code successfully from the GIT repository into Eclipse?

 

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.

 

De: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] En nombre de Eric Gwin
Enviado el: Wednesday, November 06, 2013 10:17 AM
Para: eclipselink-dev@xxxxxxxxxxx
Asunto: Re: [eclipselink-dev] How can I import EclipseLink source code successfully from the GIT repository into Eclipse?

 

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

 



_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top