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

Bug 346654

Summary: Change import-package range for javax.servlet
Product: [RT] Virgo Reporter: Violeta Georgieva <milesg78>
Component: unknownAssignee: Project Inbox <virgo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Violeta Georgieva CLA 2011-05-20 08:05:23 EDT
In order to commit migration to Tomcat 7 we need to change import-package range
for javax.servlet in these two bundles:

org.springframework.js-2.0.8.RELEASE
-> javax.servlet;version="[2.4.0, 3.1.0)",
   javax.servlet.http;version="[2.4.0, 3.1.0)"
   
com.springsource.org.apache.commons.fileupload-1.2.0
-> javax.servlet;version="[2.5.0, 3.1.0)",
   javax.servlet.http;version="[2.5.0, 3.1.0)"
Comment 1 Chris Frost CLA 2011-05-23 06:31:23 EDT
Hi,

Our usage of org.springframework.js-2.0.8.RELEASE is pretty minimal, just the resources servlet for serving up js/image files etc... it might be easier to just remove our use of it. We can't move up to a later version as the resource servlet has been deprecated and replaced with some 3.0.0 only feature and we have to support Spring 2.5.6 still

Chris.
Comment 2 Chris Frost CLA 2011-05-24 06:48:38 EDT
So, it was really easy to remove the dependency on springframework.js. I have also killed the CQ and corresponding bug, all that remains is fileupload?
Comment 3 Violeta Georgieva CLA 2011-05-25 06:42:03 EDT
(In reply to comment #2)
> So, it was really easy to remove the dependency on springframework.js. I have
> also killed the CQ and corresponding bug, all that remains is fileupload?

We need to change import-package range for javax.servlet.http in the following bundle also:

com.springsource.javax.portlet -> javax.servlet.http;version="[2.4.0, 3.1.0)"