Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346654 - Change import-package range for javax.servlet
Summary: Change import-package range for javax.servlet
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 08:05 EDT by Violeta Georgieva CLA
Modified: 2011-05-26 12:23 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 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)"