[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-dev] How to import eclipselink to eclipse?
|
I suggest you reduce the number of eclipselink projects you have in your workspace.
Keep:
o.e.p.core
o.e.p.jpa
o.e.p.antlr
o.e.p.jpa.osgi
o.e.p.moxy
eclipselink.core.test
eclipselink.jpa.test
eclipselink.jpa.modelgen.test
Additionally, you'll need the dependency projects as described on
http://wiki.eclipse.org/EclipseLink/Building
With that subset of the projects, the number of errors you have should be reduced.
You may still have some errors relating to javax.xml.bind and javax.persistence
2.1.0 depending how and when they were pulled into Eclipse. First ensure you
have updated all your projects from SVN and in Eclipse. If you are still having
problems, you may need to open the build path and remove the javax.persistence
or javax.xml bind that is referenced and re-add the one you have in your
workspace. (this issue may occur depending on how your have your Eclipse setup
to name projects when it imports them)
-Tom
On 29/03/2012 8:33 AM, Péntek Gábor wrote:
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
<mailto: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>
<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
<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 <mailto:eclipselink-dev@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
<https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>
_________________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
<https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev