Since we are cooperating with Arun on that part, my guide for all the necessary changes we are talking with Arun are the examples in github by jaikiran where there is no direct reference to it in his examples. The problem I see probably is that even if the quickstarts are mend for Wildfly they still reflect the 7.* arch right?Also from the manual you can find here : http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy_Client_Framework.html

is stated clearly that is part of the jaxrs distro. Sorry if I created any confusion also to Arun.

regards
Nick


On Tue, Nov 5, 2013 at 2:03 PM, Bill Burke <bburke@redhat.com> wrote:
Resteasy-client should be an implicit dependency.  Also, resteasy-client
shouldn't really be a separate module.  For the Resteasy distro our
AS7/Wildfly patch zip has resteasy-client as part of the resteasy-jaxrs
module.  The reason for this is AS7 and EAP are hardcoded to implicitly
import specific modules and I can't add new ones.

May I patch Wildfly to remove the resteasy-client module and move the
artifact to the resteasy-jaxrs module so as to be consistent with the
Resteasy distro?

On 11/5/2013 6:48 AM, Arun Gupta wrote:
> Sleeping only 2 hrs in the red eye flight and jet lag kicking is not helpful :-)
>
> But at least the test is running now, failing but that's a different problem!
>
> On Tue, Nov 5, 2013 at 3:43 AM, Stuart Douglas
> <stuart.w.douglas@gmail.com> wrote:
>> That is not the same artefact.
>>
>> resteasy-jaxrs vs resteasy-client
>>
>> Stuart
>>
>>
>> On Tue, Nov 5, 2013 at 12:41 PM, Arun Gupta <arun.gupta@gmail.com> wrote:
>>>
>>> That's what I thought and added at:
>>>
>>> https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml
>>>
>>> But
>>> https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-endpoint
>>> is still giving the same error.
>>>
>>> Any idea ?
>>>
>>> Arun
>>>
>>>
>>> On Tue, Nov 5, 2013 at 3:35 AM, Stuart Douglas
>>> <stuart.w.douglas@gmail.com> wrote:
>>>> org.jboss.resteasy:resteasy-client:3.0.5.Final
>>>>
>>>>
>>>> On Tue, Nov 5, 2013 at 12:33 PM, Arun Gupta <arun.gupta@gmail.com>
>>>> wrote:
>>>>>
>>>>> I've written a JAX-RS unit test using JAX-RS Client API:
>>>>>
>>>>>      @BeforeClass
>>>>>      public static void setupClass() {
>>>>>          Client client = ClientBuilder.newClient();
>>>>>          target =
>>>>>
>>>>> client.target("http://localhost:8080/jaxrs-endpoint/webresources/fruit");
>>>>>      }
>>>>>
>>>>> But its failing with the exception:
>>>>>
>>>>> org.javaee7.jaxrs.endpoint.MyResourceTest  Time elapsed: 0.124 sec  <<<
>>>>> ERROR!
>>>>> java.lang.RuntimeException: java.lang.ClassNotFoundException:
>>>>> org.glassfish.jersey.client.JerseyClientBuilder
>>>>>      at
>>>>> javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)
>>>>>      at
>>>>> javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)
>>>>>      at
>>>>>
>>>>> org.javaee7.jaxrs.endpoint.MyResourceTest.setupClass(MyResourceTest.java:51)
>>>>>
>>>>> What <dependency> should be included in the test classpath so that
>>>>> appropriate ClientBuilder instance is found ?
>>>>>
>>>>> Arun
>>>>>
>>>>> --
>>>>> http://blog.arungupta.me
>>>>> http://twitter.com/arungupta
>>>>> _______________________________________________
>>>>> wildfly-dev mailing list
>>>>> wildfly-dev@lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://blog.arungupta.me
>>> http://twitter.com/arungupta
>>
>>
>
>
>

--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev



--
\n\m
"camel is a horse made up in a laboratory"