After a full update and rebuild I have replaced javax.persistence 2.1.0 with
2.0.0 found on the trunk. I also replaced javax.xml.bind with a direct
dependency to javax.xml.bind_2.2.0.
v201005080402.jar in the plugins directory
and set up the JAXRS_LIB variable to point to
javax.ws.rs_1.1.1.v20101004-
1200.jar in plugins.
Now I have the following errors:
Description Resource Path Location Type
Project 'eclipselink.jpa.modelgen.
test' is missing required library:
'/eclipselink.jpa.test/
eclipselink-tests.jar'
eclipselink.jpa.modelgen.test Build path Build Path Problem
Description Resource Path Location Type
The project cannot be built until build path errors are resolved
eclipselink.jpa.modelgen.test Unknown Java Problem
The project was not built since it depends on eclipselink.jpa.modelgen.test,
which has build path errors eclipselink.jpa.test Unknown Java Problem
This seems a deadlock to me :(
Gábor
On Thu, Mar 29, 2012 at 4:15 PM, Tom Ware <
tom.ware@xxxxxxxxxx
<mailto:
tom.ware@xxxxxxxxxx>> wrote:
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
<
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>
<mailto:
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>>
<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://wiki.eclipse.org/____EclipseLink/Building
<http://wiki.eclipse.org/__EclipseLink/Building>
<
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
___________________________________________________
<mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
<https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>
<https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
<https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>>
___________________________________________________
<mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
<https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>