Bug 295876 - [JPA spring.test]: hardcoded "C:/Engineering" paths in eclipselink.jpa.spring.test require eclipse classpath variable
Summary: [JPA spring.test]: hardcoded "C:/Engineering" paths in eclipselink.jpa.spring...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/E...
Whiteboard:
Keywords: test
Depends on:
Blocks: 332973 309853
  Show dependency tree
 
Reported: 2009-11-23 10:07 EST by Michael OBrien CLA
Modified: 2022-06-09 10:35 EDT (History)
3 users (show)

See Also:


Attachments
Classpath before - hardcoded (50.13 KB, image/pjpeg)
2010-04-14 17:02 EDT, Michael OBrien CLA
no flags Details
Classpath after - using workspace classpath variables and 1 relative to jpa-spring.jar local test jar (113.82 KB, image/pjpeg)
2010-04-14 17:03 EDT, Michael OBrien CLA
no flags Details
The classpath is now defined by standard workspace classpath variables below (2.37 KB, patch)
2010-04-14 17:06 EDT, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2009-11-23 10:07:14 EST
>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"/>
Comment 1 Tom Ware CLA 2009-11-30 13:25:44 EST
Setting target and priority.  For details of what this means see:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Comment 2 Michael OBrien CLA 2010-01-14 13:36:56 EST
>assigning to myself as I will be testing JPA on the Spring container
Comment 3 Michael OBrien CLA 2010-04-14 17:02:27 EDT
Created attachment 164904 [details]
Classpath before - hardcoded
Comment 4 Michael OBrien CLA 2010-04-14 17:03:53 EDT
Created attachment 164907 [details]
Classpath after - using workspace classpath variables and 1 relative to jpa-spring.jar local test jar
Comment 5 Michael OBrien CLA 2010-04-14 17:06:56 EDT
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
Comment 6 Michael OBrien CLA 2010-04-14 17:12:59 EDT
>fixed in SVN rev# 6983
http://fisheye2.atlassian.com/changelog/eclipselink/?cs=6983
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:35:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink