<div dir="ltr"><div>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 : <a href="http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy_Client_Framework.html">http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy_Client_Framework.html</a><br>
<br></div><div>is stated clearly that is part of the jaxrs distro. Sorry if I created any confusion also to Arun.<br><br></div><div>regards<br>Nick<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 5, 2013 at 2:03 PM, Bill Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Resteasy-client should be an implicit dependency. Also, resteasy-client<br>
shouldn't really be a separate module. For the Resteasy distro our<br>
AS7/Wildfly patch zip has resteasy-client as part of the resteasy-jaxrs<br>
module. The reason for this is AS7 and EAP are hardcoded to implicitly<br>
import specific modules and I can't add new ones.<br>
<br>
May I patch Wildfly to remove the resteasy-client module and move the<br>
artifact to the resteasy-jaxrs module so as to be consistent with the<br>
Resteasy distro?<br>
<div class="HOEnZb"><div class="h5"><br>
On 11/5/2013 6:48 AM, Arun Gupta wrote:<br>
> Sleeping only 2 hrs in the red eye flight and jet lag kicking is not helpful :-)<br>
><br>
> But at least the test is running now, failing but that's a different problem!<br>
><br>
> On Tue, Nov 5, 2013 at 3:43 AM, Stuart Douglas<br>
> <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br>
>> That is not the same artefact.<br>
>><br>
>> resteasy-jaxrs vs resteasy-client<br>
>><br>
>> Stuart<br>
>><br>
>><br>
>> On Tue, Nov 5, 2013 at 12:41 PM, Arun Gupta <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>> wrote:<br>
>>><br>
>>> That's what I thought and added at:<br>
>>><br>
>>> <a href="https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml" target="_blank">https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml</a><br>
>>><br>
>>> But<br>
>>> <a href="https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-endpoint" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-endpoint</a><br>
>>> is still giving the same error.<br>
>>><br>
>>> Any idea ?<br>
>>><br>
>>> Arun<br>
>>><br>
>>><br>
>>> On Tue, Nov 5, 2013 at 3:35 AM, Stuart Douglas<br>
>>> <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br>
>>>> org.jboss.resteasy:resteasy-client:3.0.5.Final<br>
>>>><br>
>>>><br>
>>>> On Tue, Nov 5, 2013 at 12:33 PM, Arun Gupta <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> I've written a JAX-RS unit test using JAX-RS Client API:<br>
>>>>><br>
>>>>> @BeforeClass<br>
>>>>> public static void setupClass() {<br>
>>>>> Client client = ClientBuilder.newClient();<br>
>>>>> target =<br>
>>>>><br>
>>>>> client.target("<a href="http://localhost:8080/jaxrs-endpoint/webresources/fruit" target="_blank">http://localhost:8080/jaxrs-endpoint/webresources/fruit</a>");<br>
>>>>> }<br>
>>>>><br>
>>>>> But its failing with the exception:<br>
>>>>><br>
>>>>> org.javaee7.jaxrs.endpoint.MyResourceTest Time elapsed: 0.124 sec <<<<br>
>>>>> ERROR!<br>
>>>>> java.lang.RuntimeException: java.lang.ClassNotFoundException:<br>
>>>>> org.glassfish.jersey.client.JerseyClientBuilder<br>
>>>>> at<br>
>>>>> javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)<br>
>>>>> at<br>
>>>>> javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)<br>
>>>>> at<br>
>>>>><br>
>>>>> org.javaee7.jaxrs.endpoint.MyResourceTest.setupClass(MyResourceTest.java:51)<br>
>>>>><br>
>>>>> What <dependency> should be included in the test classpath so that<br>
>>>>> appropriate ClientBuilder instance is found ?<br>
>>>>><br>
>>>>> Arun<br>
>>>>><br>
>>>>> --<br>
>>>>> <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
>>>>> <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
>>>>> _______________________________________________<br>
>>>>> wildfly-dev mailing list<br>
>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
>>> <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
>><br>
>><br>
><br>
><br>
><br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>"camel is a horse made up in a laboratory"
</div>