[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [eclipselink-dev] Cannot	find	org.eclipse.persistence.jpa.equinox.weaving_2.0.1.qualifier.jar | 
Sebastien,
The weaving bundle is dependent upon Equinox to build. However, as 
weaving was 'optional' and equinox isn't in orbit, nor can it be 
included in our repository, the ant file is setup to look for the 
equinox jar  in the external.extensions.dir, the root plugin, or the 
jpa/plugin dirs in order to complete the compile. If it is not found the 
build for the build weaving components are skipped.
Since it appears that core.test is now dependent upon weaving, it looks 
like I'll need to investigate another option - like causeing the build 
to fail, and reporting what is wrong and how to fix it, if the equinox 
jar is not found.
Can you please file a bug against the build?
Thanks.
-Eric
P.S. The default jar we are looking for is: 
org.eclipse.osgi_3.5.0.v20090520.jar
You should be able to find it in your eclipse 3.5 install (plugins dir).
Sebastien Tardif wrote:
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'
------------------------------------------------------------------------
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev