Bug 276707 - Web app libraries do not resolve
Summary: Web app libraries do not resolve
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.2   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 2.2.1   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 276373 280497
Blocks:
  Show dependency tree
 
Reported: 2009-05-18 09:52 EDT by Paul Fullbright CLA
Modified: 2009-08-11 12:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.