Issue Details (XML | Word | Printable)

Key: IDE-782
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Christian Dupuis
Reporter: Imported
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring IDE

Unresolveable xerces dependency given JRE xml.jar hiding of xerces packages

Created: 04/Jan/08 08:33 PM   Updated: 08/Jan/08 02:38 AM
Component/s: infrastructure
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3

Time Tracking:
Not Specified

File Attachments: 1. File springide.psf (22 kB)



 Description  « Hide
LineNumberPreservingDOMParser and XercesDocumentLoader depend on org.apache.xerces... packages.

These packages are in my 1.5 bootclasspath (jre/lib/xml.jar) but hidden by the jar access rules, so I get Access restriction errors. I cannot modify or remove the xml.jar from the jre/lib directory ((a) eclipse won't even launch; repackaging the jar in the jre/lib dir still causes the endorsed-xml service to fail; (b) it's a managed JRE I'm not supposed to touch). When I remove the xml.jar entry from Eclipse's corresponding JRE declaration, it causes other things that rely on the xml packages to fail (e.g., Ant). I tried having org.springframework.ide.eclipse.core depend on a plugin I created that wraps the xml jar content, but I still get access restrictions (because the bootclasspath takes precedence?). So I changed the org.springframework.ide.eclipse.core plugin project Java Compiler/error setting that makes access restrictions an error.

So: it would be nice if you published a team project set that worked with a base 3.3/1.5 configuration as-is.

OTW, many thanks for all the fine work!



 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Christian Dupuis added a comment - 08/Jan/08 02:36 AM
Eclipse Team Project Set with Polarion Subversive SVN client

Christian Dupuis added a comment - 08/Jan/08 02:38 AM
I attached the Team Project Set file you are requesting. Make sure to install Mylyn and AJDT as well as WTP to get Spring IDE to compile