<div dir="ltr">For usage within the appserver of course it doesn't make any difference but when you want to write a standalone-client if you read the documentation it comes as part of the jax-rs lib(not referring there that is a different jar) so even if it is on it should be fetched implicitly IMHO.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 3:52 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">I think we're required to support JAX-RS client implicitly anyways, no?<br>
<div class="im"><br>
On 11/5/2013 9:42 AM, Stuart Douglas wrote:<br>
><br>
> On Tue, Nov 5, 2013 at 2:59 PM, Arun Gupta <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>>> wrote:<br>
><br>
> +1, this would make more sense.<br>
><br>
><br>
> This will have no impact on you as an end user. This just changes how it<br>
> is packaged in the app server itself.<br>
><br>
> Stuart<br>
><br>
><br>
> On Tue, Nov 5, 2013 at 5:03 AM, Bill Burke <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>>> wrote:<br>
> > Resteasy-client should be an implicit dependency. Also,<br>
> 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<br>
> resteasy-jaxrs<br>
> > module. The reason for this is AS7 and EAP are hardcoded to<br>
> 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>
> ><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<br>
> not helpful :-)<br>
> >><br>
> >> But at least the test is running now, failing but that's a<br>
> different problem!<br>
> >><br>
> >> On Tue, Nov 5, 2013 at 3:43 AM, Stuart Douglas<br>
</div>> >> <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a> <mailto:<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>>><br>
<div class="im">> 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<br>
</div><div class="im">> <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a> <mailto:<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>
> >>>><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>
> >>>><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><br>
</div><div class="im">> <mailto:<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<br>
</div>> <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a> <mailto:<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>>><br>
<div><div class="h5">> >>>>> 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>
> >>>>>><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:<br>
> 0.124 sec <<<<br>
> >>>>>> ERROR!<br>
> >>>>>> java.lang.RuntimeException: java.lang.ClassNotFoundException:<br>
> >>>>>> org.glassfish.jersey.client.JerseyClientBuilder<br>
> >>>>>> at<br>
> >>>>>><br>
> javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)<br>
> >>>>>> at<br>
> >>>>>><br>
> javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)<br>
> >>>>>> at<br>
> >>>>>><br>
> >>>>>><br>
> org.javaee7.jaxrs.endpoint.MyResourceTest.setupClass(MyResourceTest.java:51)<br>
> >>>>>><br>
> >>>>>> What <dependency> should be included in the test classpath<br>
> 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>
</div></div>> >>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> <mailto:<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>><br>
<div class="im">> >>>>>> <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>
> > Bill Burke<br>
> > JBoss, a division of Red Hat<br>
> > <a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
> > _______________________________________________<br>
> > wildfly-dev mailing list<br>
</div>> > <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> <mailto:<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>><br>
<div class="im">> > <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>
> <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>
</div>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> <mailto:<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 class="HOEnZb"><div class="h5">><br>
><br>
<br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>"camel is a horse made up in a laboratory"
</div>