Community
Participate
Working Groups
>So that developers do not have to hack the jpa.spring.test project and can instead redefine workspace variables the "C:/Engineering" references should be replaced >The following 7 hardcoded and 1 relative library references... <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/cglib-nodep-2.1_3.jar"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/commons-logging.jar"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/spring.jar" sourcepath="C:/Engineering/Spring/spring-framework-2.5.6.SEC01/src"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/spring-agent.jar" sourcepath="C:/Engineering/Spring/spring-framework-2.5.6.SEC01/tiger/src"/> <classpathentry kind="lib" path="jpa-spring.jar"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/spring-test.jar"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/xapool.jar"/> <classpathentry kind="lib" path="C:/Engineering/EclipseLink/extension.lib.external/spring/jotm-client.jar"/> >should be of the form defined in Properties | Java | Build Path | Classpath Variables <classpathentry kind="var" path="WORKSPACE_CLASSPATH_VARIABLE"/>
Setting target and priority. For details of what this means see: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
>assigning to myself as I will be testing JPA on the Spring container
Created attachment 164904 [details] Classpath before - hardcoded
Created attachment 164907 [details] Classpath after - using workspace classpath variables and 1 relative to jpa-spring.jar local test jar
Created attachment 164908 [details] The classpath is now defined by standard workspace classpath variables below SPRING_AGENT_LIB C:/opt/spring-framework-2.5.6.SEC01/dist/weaving/spring-agent.jar SPRING_CGLIB_LIB C:/opt/spring-framework-2.5.6.SEC01/lib/cglib/cglib-nodep-2.1_3.jar SPRING_COMMONS_LOGGING_LIB C:/opt/spring-framework-2.5.6.SEC01/lib/jakarta-commons/commons-logging.jar SPRING_JOTM_CLIENT_LIB C:/opt/spring-framework-2.5.6.SEC01/lib/jotm/jotm.jar SPRING_JPA_SPRING_LIB /eclipselink.jpa.spring.test/jpa-spring.jar (ant generated) SPRING_LIB C:/opt/spring-framework-2.5.6.SEC01/dist/spring.jar SPRING_TEST_LIB C:/opt/spring-framework-2.5.6.SEC01/dist/modules/spring-test.jar SPRING_XAPOOL_LIB C:/opt/spring-framework-2.5.6.SEC01/lib/jotm/xapool.jar
>fixed in SVN rev# 6983 http://fisheye2.atlassian.com/changelog/eclipselink/?cs=6983
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink