<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ondrej,<br>
<br>
The jax-rs-client quickstart is an Arquillian test only and expands
on the <i>helloworld-rs</i> quickstart. <br>
<br>
The <b>Prerequisites</b> section of the README state that this
quickstart depends on the deployment of the <i>helloworld-rs</i>
quickstart for its tests and explains how to verify that it deployed
successfully. <br>
<br>
The <b>Run the Arquillian Tests</b> section of the README states:<br>
<ol>
<li>Make sure you have started the JBoss Server as described
above.</li>
<li>Make sure the <i>helloworld-rs </i>quickstart has been
deployed on the server as noted in the <strong>Prerequisites</strong>
section above.</li>
<li>Open a command line and navigate to the root directory of this
quickstart.</li>
<li>
<p>Type the following command to run the test goal with the
following profile activated:</p>
<pre><code>mvn clean test
</code></pre>
</li>
</ol>
Do I need to modify the instructions somehow to make that more
clear? Should I add a note that if you get an HTTP status: 404, it
probably means you did not deploy the <i>helloworld-rs</i>
quickstart as noted in the <b>Prerequisites</b>? <br>
<br>
I'm not a Maven expert, so I'm not sure how we could make this
foolproof for the users. I am copying Pete and Blaine since they
know a lot more about this than me.<br>
<br>
Thanks,<br>
Sande<br>
<br>
<div class="moz-cite-prefix">On 07/28/2012 12:00 PM, Ondrej Zizka
wrote:<br>
</div>
<blockquote cite="mid:1343491236.867.2.camel@lenovo" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="GtkHTML/3.32.2">
Hi Sande,<br>
<br>
is this intentional? <br>
IMO quickstarts should be foolproof, and one of ways to make it so
should be that `mvn clean install` should pass without
requirements like "AS is running on port 8080".<br>
<br>
WDYT?<br>
<br>
<br>
<br>
Running org.jboss.as.quickstarts.jaxrsclient.JaxRsClientTest<br>
===============================================<br>
URL: <a moz-do-not-send="true"
href="http://localhost:8080/jboss-as-helloworld-rs/xml">http://localhost:8080/jboss-as-helloworld-rs/xml</a><br>
MediaType: application/xml<br>
java.lang.RuntimeException: Failed request with HTTP status: 404<br>
<br>
</blockquote>
<br>
</body>
</html>