Bug 299986 - Upgrade Spring from 2.5.6 to 3.0 GA
Summary: Upgrade Spring from 2.5.6 to 3.0 GA
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2010-01-18 15:37 EST by Yiping Zhao CLA
Modified: 2022-06-09 10:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2010-01-18 15:37:12 EST
Right now our nightly JPA Spring testing is running on Spring 2.5.6. In Spring 3.0, there is no spring.jar, instead of that there are fifteen module jars there as needed for EclipseLink Testing.

aop.jar
asm.jar
aspects.jar
beans.jar
context.jar
context.support.jar
core.jar
expression.jar
instrument.jar
instrument.tomcat.jar
jdbc.jar
jms.jar
orm.jar
oxm.jar
test.jar

Exsiting dependency jars commons-logging.jar,cglib-nodep-2.1_3.jar,jotm-client.jar,xapool.jar are also needed, beside that it introduces two more jars: one is aopalliance-1.0.jar, and the other is spring-tx-2.5.jar, because it complains NoClassDefFound for "org.aopalliance.intercept.MethodInterceptor" and "org.enhydra.jdbc.pool.StandardXAPoolDataSource", these two classes are included in spring.jar before 3.0

Also spring-agent.jar has changed to instrument.jar, so the trunk\jpa\eclipselink.jpa.spring.test\build.xml and trunk\jpa\eclipselink.jpa.test\build.xml need to be updated. Also the spring.lib property needs to be updated with new jars names in trunk\jpa\eclipselink.jpa.spring.test\build.properties and trunk\jpa\eclipselink.jpa.test\build.properties
Comment 1 Yiping Zhao CLA 2010-01-18 16:15:09 EST
typo error correct: NoClassDefFound of "org.springframework.transaction.jta.JotmFactoryBean" instead of "org.enhydra.jdbc.pool.StandardXAPoolDataSource"
Comment 2 Yiping Zhao CLA 2010-01-19 12:05:52 EST
The fix has been checked in Main, 2.0, 1.2 and 1.1.0 as revisions 6314, 6315, 6317 and 6318.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:05:39 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink