Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 276707

Summary: Web app libraries do not resolve
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: GeneralAssignee: Paul Fullbright <paul.fullbright>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.2   
Target Milestone: 2.2.1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 276373, 280497    
Bug Blocks:    

Description Paul Fullbright CLA 2009-05-18 09:52:12 EDT
- Create a dynamic web project w/ JPA facet.
- Drop library jar into WebContent/WEB-INF/lib (the default web app library container)
- Add a reference to the same jar in persistence.xml
- Validation on that jar file reference that it cannot be resolved

The problem is that no jpa file is built for this jar, since querying whether it is on the classpath returns false.  See bug 276373.
Comment 1 Neil Hauge CLA 2009-08-05 12:42:29 EDT
I tried to verify that this is fixed with latest Eclipse SDK 3.5.1 build (eclipse-SDK-M20090729-0903-win32.zip).  I am still seeing the validation problem noting that the jar file cannot be resolved following the steps to reproduce.
Comment 2 Paul Fullbright CLA 2009-08-11 12:03:23 EDT
With the fixes to the dependent bugs, I've verified that this now works with eclipse 3.6 M1 and 3.5 maintenance build M20090807-0800.