Default ANT build cannot find org.eclipse.persistence.jpa.equinox.weaving_2.0.1.qualifier.jar.
From this Wiki: http://wiki.eclipse.org/EclipseLink/Building
I cannot find mention of the setup needed to fix this.
If I ignore the error I still get something wrong when I
execute test-core:
run-test:
[echo] Running test on
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ctdsdb22-vip)(PORT=1524))(ADDRES
S=(PROTOCOL=TCP)(HOST=ctdsdb21-vip)(PORT=1524))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=DEV52UIA.
NYC.COM)))
[mkdir]
Created dir:
C:\EclipseLinkSrc\br2.0\trunk\foundation\eclipselink.core.test\reports
[junit] Failed
to set up org.eclipse.persistence.testing.tests.weaving.SimpleWeavingTestModel
[junit]
java.lang.ClassNotFoundException:
org.eclipse.persistence.testing.tests.weaving.SimpleWeavingTestModel
[junit] Running
org.eclipse.persistence.testing.tests.TestRunModel
[junit] [EL Info]: 2009-12-14
07:11:09.044--DatabaseSessionImpl(29094346)--EclipseLink, version: Eclipse
Persistence
Services - 2.0.1.qualifier
[junit] [EL Info]: 2009-12-14
07:11:13.263--DatabaseSessionImpl(29094346)-- login successful
[junit] [EL Warning]: 2009-12-14
07:11:15.669--DatabaseSessionImpl(29094346)--Exception [EclipseLink-4002]
(Eclipse
Persistence Services -
2.0.1.qualifier): org.eclipse.persistence.exceptions.DatabaseException
[junit]
Internal Exception: java.sql.SQLException: ORA-00955: name is already used by
an existing object
[junit]
Output missing org.eclipse.persistence.jpa.equinox.weaving_2.0.1.qualifier.jar:
pre-init:
[echo]
extensions.depend.dir =
'C:\EclipseLinkSrc\br2.0\trunk/../extension.lib.external'
[echo]
equinox.path
= '${equinox.path}'
verify-required-deps:
no-equinox-dep:
[echo]
Compile will be skipped...
[echo] Cannot find:
'org.eclipse.osgi_3.5.0.v20090520.jar'
[echo] In:
'C:\EclipseLinkSrc\br2.0\trunk/../extension.lib.external'
[echo] or: '../../plugins'
[echo] or: '../plugins'
no-weaving-dep:
[echo]
Compile will be skipped... Cannot find:
'../../plugins/org.eclipse.persistence.jpa.equinox.weaving_2.0.1.qualifier.jar'