users@jersey.java.net

Re: [Jersey] jersey-test Glassfish dependencies

From: tarjei <tarjei_at_nu.no>
Date: Mon, 09 Nov 2009 16:30:54 +0100

On 11/09/2009 02:29 PM, Paul Sandoz wrote:
>
> On Nov 9, 2009, at 2:26 PM, tarjei wrote:
>
>> Hi,
>> On 11/09/2009 02:07 PM, Paul Sandoz wrote:
>>>
>>> On Nov 9, 2009, at 1:58 PM, tarjei wrote:
>>>
>>>> Hi,
>>>>
>>>> What is the correct way to setup the glassfish dependencies i when
>>>> using 1.1.5-SNAPSHOT? I get errors when trying to use jersey-test
>>>> without excluding the glassfish dependency.
>>>>
>>>
>>> This is a bug in the dependencies.
>>>
>>> After the test framework was re-factored it was no longer necessary to
>>> include all such dependencies on all supported containers. And the
>>> dependencies/documentation should have been updated to reflect this.
>>>
>>> For ease of use we should depend on Grizzly (which could be excluded too
>>> as there is no hard coded requirement for that, expect it is the default
>>> test container loaded if no other is specified and it can be loaded),
>>> and we can remove the other dependencies and document what they are.
>>>
>>> Could you log an issue?
>> Done.
>>
>
> Thanks,
>
>
>> One problem with Grizzly is that it seems not to work with
>> .filterClass(RequestContextFilter.class)
>
> I thought you managed to get that to work, (as least as a workaround),
> by using a later version of Grizzly?

I thought so at first, but further testing has made me conclude that
that is not possible :(

Also, is it so that neither the InMemory or HTTPServer will support Spring?

Kind regards,
Tarjei

>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>


-- 
Tarjei Huse
Mobil: 920 63 413