[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] How to import eclipselink to eclipse?

I would like to write tests for my new foreign key index creation functionality and run them from eclipse.

The code affects only org.eclipse.persistence.core. TableDefinition and DatabasePlatform classes in particular.

GÃbor

On Thu, Mar 29, 2012 at 2:23 PM, Tom Ware <tom.ware@xxxxxxxxxx> wrote:
What are you trying to achieve by importing the eclipse projects. ÂIt looks like you have imported quite a lot of projects and I'd like to help you pare down the list.

-Tom


On 29/03/2012 6:26 AM, PÃntek GÃbor wrote:
Hi All,

I am trying to build eclipselink from the trunk in order to resolve this issue:
http://www.eclipse.org/forums/index.php?t=rview&goto=825210#msg_825210
<http://www.eclipse.org/forums/index.php?t=rview&goto=825210#msg_825210>

The solution is ready but I have some trouble with building the project from
eclipse.

Ant build is working now, but it took some time since did not find a document
describing the whole process and the information needed was spread among several
wiki pages.

I have done the following:
checked out eclipselink trunk.
ran an ant build.
copied the contents of the trunk/plugins directory to eclipse/plugins
imported the projects suggested on http://wiki.eclipse.org/EclipseLink/Building

Eclipse gave the following error messages:
Description  ÂResource  ÂPath  ÂLocation  ÂType
Project 'eclipselink.core.test' is missing required Java project:
'javax.persistence 2.1.0'  Âeclipselink.core.test    ÂBuild path  ÂBuild
Path Problem
Project 'eclipselink.core.test' is missing required Java project:
'javax.xml.bind'  Âeclipselink.core.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.jpa.modelgen.test' is missing required Java project:
'javax.persistence 2.1.0'  Âeclipselink.jpa.modelgen.test    ÂBuild path
Build Path Problem
Project 'eclipselink.jpa.modelgen.test' is missing required library:
'/eclipselink.jpa.test/eclipselink-tests.jar'
eclipselink.jpa.modelgen.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.jpa.test' is missing required Java project:
'javax.persistence 2.1.0'  Âeclipselink.jpa.test    ÂBuild path  ÂBuild
Path Problem
Project 'eclipselink.jpa.test' is missing required Java project:
'javax.xml.bind'  Âeclipselink.jpa.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.moxy.test' is missing required Java project:
'javax.activation'  Âeclipselink.moxy.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.moxy.test' is missing required Java project:
'javax.mail'  Âeclipselink.moxy.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.moxy.test' is missing required Java project:
'javax.xml.bind'  Âeclipselink.moxy.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.moxy.test' is missing required Java project:
'javax.xml.stream'  Âeclipselink.moxy.test    ÂBuild path  ÂBuild Path Problem
Project 'eclipselink.utils.jaxb' is missing required Java project:
'com.sun.xml.bind'  Âeclipselink.utils.jaxb    ÂBuild path  ÂBuild Path Problem
Project 'org.eclipse.persistence.jpa.modelgen' is missing required Java project:
'javax.persistence 2.1.0'  Âorg.eclipse.persistence.jpa.modelgen    ÂBuild
path  ÂBuild Path Problem
Project 'org.eclipse.persistence.moxy.dynamicxjc' is missing required Java
project: 'com.sun.xml.bind' Â Âorg.eclipse.persistence.moxy.dynamicxjc
Build path  ÂBuild Path Problem
Project 'org.eclipse.persistence.moxy.dynamicxjc' is missing required Java
project: 'javax.xml.bind' Â Âorg.eclipse.persistence.moxy.dynamicxjc
Build path  ÂBuild Path Problem
Unbound classpath variable:
'ECLIPSELINK_HOME/plugins/com.sun.tools.xjc_2.2.0.jar' in project
'eclipselink.utils.jaxb'  Âeclipselink.utils.jaxb    ÂBuild path  ÂBuild
Path Problem
Unbound classpath variable:
'ECLIPSELINK_HOME/plugins/com.sun.tools.xjc_2.2.0.jar' in project
'org.eclipse.persistence.moxy.dynamicxjc'
org.eclipse.persistence.moxy.dynamicxjc    ÂBuild path  ÂBuild Path Problem
Unbound classpath variable: 'JAXRS_LIB' in project 'eclipselink.jpa.test'
eclipselink.jpa.test    ÂBuild path  ÂBuild Path Problem
Build path specifies execution environment J2SE-1.5. There are no JREs installed
in the workspace that are strictly compatible with this environment.
javax.validation    ÂBuild path  ÂJRE System Library Problem
Build path specifies execution environment J2SE-1.5. There are no JREs installed
in the workspace that are strictly compatible with this environment.
org.eclipse.persistence.core.jpql    ÂBuild path  ÂJRE System Library Problem
Build path specifies execution environment J2SE-1.5. There are no JREs installed
in the workspace that are strictly compatible with this environment.
org.eclipse.persistence.jpa.jpql.test    ÂBuild path  ÂJRE System Library
Problem
Build path specifies execution environment J2SE-1.5. There are no JREs installed
in the workspace that are strictly compatible with this environment.
org.eclipse.persistence.jpa.osgi    ÂBuild path  ÂJRE System Library Problem


For example javax.persistence is imported, but it has version 2.0.0


Thanks in advance!
GÃbor


_______________________________________________
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