Missing Servlet 3.0 dependency for current rap.rwt.osgi plugin [message #723405] |
Thu, 08 September 2011 07:48  |
Eclipse User |
|
|
|
Hi,
the current CVS version of the org.eclipse.rap.rwt.osgi uses the following imports in the class org.eclipse.rap.rwt.osgi.internal.ServletContextWrapper:
import javax.servlet.ServletRegistration.Dynamic;
import javax.servlet.descriptor.JspConfigDescriptor;
According to the JavaDoc these imports are only available since Servlet API 3.0, the current 1.5 M1 release and also the nightly build just ships with Server API 2.5 so the bundle can't be build due to the missing dependencies. Manually adding the javax.servlet 3.0 bundle to the target platform solves the problem.
Just wanted to inform you about this issue, or is there something I'm missing?
Cheers,
Ben
|
|
|
|
Re: Missing Servlet 3.0 dependency for current rap.rwt.osgi plugin [message #723435 is a reply to message #723434] |
Thu, 08 September 2011 10:20   |
Eclipse User |
|
|
|
I see, but I'm wondering why the javax.servlet 3.0 is not shipped in the downloadable RAP target platform (1.5 M1 or nightly build) then? Is it intented that one has to add the javax.servlet 3.0 manually to the target platform to get the rwt.osgi bundle, and thus any RAP application, to compile?
Or did the changes to the rwt.osgi bundle happened after the release of the 1.5 M1 and thus the 1.5 M2 target platform will contain this bundle?
Cheers,
Ben
Am 08.09.2011 16:06, schrieb Ivan Furnadjiev:
> Hi Ben,
> in order to support javax.servlet 3.0 we need this bundle in the target platform. See the announcement in the RAP mailing list [1].
>
> [1] http://dev.eclipse.org/mhonarc/lists/rap-dev/msg00782.html
> Best,
> Ivan
>
> On 9/8/2011 2:48 PM, Benjamin Wolff wrote:
>> Hi,
>>
>> the current CVS version of the org.eclipse.rap.rwt.osgi uses the following imports in the class org.eclipse.rap.rwt.osgi.internal.ServletContextWrapper:
>>
>> import javax.servlet.ServletRegistration.Dynamic;
>> import javax.servlet.descriptor.JspConfigDescriptor;
>>
>> According to the JavaDoc these imports are only available since Servlet API 3.0, the current 1.5 M1 release and also the nightly build just ships with Server API 2.5 so the bundle can't be build due to the missing dependencies. Manually adding the javax.servlet 3.0 bundle to the target platform solves the problem.
>>
>> Just wanted to inform you about this issue, or is there something I'm missing?
>>
>> Cheers,
>> Ben
|
|
|
Re: Missing Servlet 3.0 dependency for current rap.rwt.osgi plugin [message #724451 is a reply to message #723435] |
Mon, 12 September 2011 07:29  |
Eclipse User |
|
|
|
Hi Ben,
unfortunately, it's not possible to put the javax.servlet 3.0 (instead
2.6) in the target as the org.eclipse.eqionox.http.jetty bundle has a
dependency on servlet 2.6 (and only 2.6). Having both 2.6 and 3.0 in the
target would cause a lot of trouble with launch configs. For now, the
solution is not nice - manually add javax.servlet 3.0 to the target, but
it is the only possible one. We are planning to create a p2 repository
with a "developer-target" and probably the javax.servlet 3.0 will be
included there.
Best,
Ivan
On 9/8/2011 5:20 PM, Benjamin Wolff wrote:
> I see, but I'm wondering why the javax.servlet 3.0 is not shipped in the downloadable RAP target platform (1.5 M1 or nightly build) then? Is it intented that one has to add the javax.servlet 3.0 manually to the target platform to get the rwt.osgi bundle, and thus any RAP application, to compile?
> Or did the changes to the rwt.osgi bundle happened after the release of the 1.5 M1 and thus the 1.5 M2 target platform will contain this bundle?
>
> Cheers,
> Ben
>
>
> Am 08.09.2011 16:06, schrieb Ivan Furnadjiev:
>> Hi Ben,
>> in order to support javax.servlet 3.0 we need this bundle in the target platform. See the announcement in the RAP mailing list [1].
>>
>> [1] http://dev.eclipse.org/mhonarc/lists/rap-dev/msg00782.html
>> Best,
>> Ivan
>>
>> On 9/8/2011 2:48 PM, Benjamin Wolff wrote:
>>> Hi,
>>>
>>> the current CVS version of the org.eclipse.rap.rwt.osgi uses the following imports in the class org.eclipse.rap.rwt.osgi.internal.ServletContextWrapper:
>>>
>>> import javax.servlet.ServletRegistration.Dynamic;
>>> import javax.servlet.descriptor.JspConfigDescriptor;
>>>
>>> According to the JavaDoc these imports are only available since Servlet API 3.0, the current 1.5 M1 release and also the nightly build just ships with Server API 2.5 so the bundle can't be build due to the missing dependencies. Manually adding the javax.servlet 3.0 bundle to the target platform solves the problem.
>>>
>>> Just wanted to inform you about this issue, or is there something I'm missing?
>>>
>>> Cheers,
>>> Ben
|
|
|
Powered by
FUDForum. Page generated in 0.06097 seconds