<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/17/2016 11:09 PM, Brian
Fitzpatrick wrote:<br>
</div>
<blockquote
cite="mid:CACiU4+WgeCtEPQd0N-MKrOMrgo5v8caYfn0z__19Dk03AEbc6g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>So there really are no docs for this thing beyond what I
have found at the github repo -<a moz-do-not-send="true"
href="https://github.com/jbosstools/jbosstools-arquillian"
target="_blank">https://github.com/jbosstools/jbosstools-arquillian</a><br>
<br>
</div>
<div>I haven't quite figured out the relationship between an
arquillian profile, a maven profile, and the run
configuration...<br>
<br>
</div>
</div>
</blockquote>
<br>
Arquillian profiles are specific maven profiles enabling you to
control an arquillian container (server).<br>
Try the following:<br>
<br>
- make sure that Eclipse is started with JDK, not with JRE<br>
- install JBoss WildFly<br>
- import a Java EE Web Project<br>
- right click the project and select Run As Arquillian JUnit test<br>
- call Select Maven Profiles and select the arq-wildfly-managed
profile<br>
- wait for Eclipse to build the project<br>
- set the JBOSS_HOME variable<br>
- run tests<br>
<br>
If you select some managed profile (arq-wildfly-managed, for
instance), Arquillian will start a server, run the tests and stop
the server. <br>
<br>
If you are using a remote profile (arq-wildfly-remote, for
instance), you have to start the server. Arquillian will find it and
run the tests on it.<br>
I think this way is easier because everything should work with the
default settings.<br>
<br>
You need to choose only one arquillian profile.<br>
<br>
Based on your log, you seem to have invalid the arquillian.xml file.
Try to use the following arquillian.xml:<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<arquillian xmlns=<a class="moz-txt-link-rfc2396E" href="http://jboss.org/schema/arquillian">"http://jboss.org/schema/arquillian"</a><br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a><br>
xsi:schemaLocation="<a class="moz-txt-link-freetext" href="http://jboss.org/schema/arquillian">http://jboss.org/schema/arquillian</a><br>
<a class="moz-txt-link-freetext" href="http://jboss.org/schema/arquillian/arquillian_1_0.xsd">http://jboss.org/schema/arquillian/arquillian_1_0.xsd</a>"><br>
<defaultProtocol type="Servlet 3.0" /><br>
<container qualifier="jboss" default="true"><br>
</container><br>
</arquillian><br>
<br>
Snjeza<br>
<blockquote
cite="mid:CACiU4+WgeCtEPQd0N-MKrOMrgo5v8caYfn0z__19Dk03AEbc6g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>For instance, I have a project that has an existing
Arquillian test. <br>
<br>
</div>
<div>I was able to specify a maven profile - I specified default
and arq-managed. Started the server inside Eclipse. Set a
JBOSS_HOME environment variable pointing to it... Try to kick
it off and get:<br>
</div>
<div><br>
org.jboss.arquillian.container.spi.ConfigurationException:
jbossHome '${env.JBOSS_HOME}' must exist<br>
at
org.jboss.arquillian.container.spi.client.deployment.Validate.configurationDirectoryExists(Validate.java:139)<br>
at
org.jboss.as.arquillian.container.DistributionContainerConfiguration.validate(DistributionContainerConfiguration.java:103)<br>
at
org.jboss.as.arquillian.container.managed.ManagedContainerConfiguration.validate(ManagedContainerConfiguration.java:65)<br>
at
org.jboss.arquillian.container.impl.ContainerImpl.createDeployableConfiguration(ContainerImpl.java:115)<br>
at
org.jboss.arquillian.container.impl.ContainerImpl.setup(ContainerImpl.java:181)<br>
<br>
</div>
<div>What am I doing wrong? Something simple I'm guessing...<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, May 17, 2016 at 2:07 PM, Max
Rydahl Andersen <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On 17 May 2016, at 19:07, Brian Fitzpatrick
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Honestly I'm not sure. We have a case where users can
really only test<br>
Camel routes running on a Fuse-on-EAP instance through
Arquillian.<br>
<br>
We either have to run it at a command line via maven -
mvn clean test<br>
-Parq-managed - or find a way to do it in the
tooling.That is what I was<br>
hoping the Arquillian tooling would allow us to do. I
wasn't able to get it<br>
running on Friday with the Arq tools installed, but I
still want to work on<br>
it to see whether it's a workable solution. I suspect
the tools may at the<br>
very least help create Arquillian-tests, but I don't
know yet.<br>
</blockquote>
<br>
</span>
the arqullian tools mainly enables being able to run
arquillian tests via<br>
eclipse junit test runners without having to wait for maven.
(simplified description ;)<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I really need to go through the docs to see what it can
do.<br>
<br>
Ultimately we'd like to be able to do all Fuse tasks in
the tooling... i.e.<br>
Create a project. Test and debug a project. Deploy a
project.<br>
<br>
We can do that in a Fuse server set-up, but not with
Fuse on EAP right now.<br>
</blockquote>
<br>
</span>
is this not because with "pure" fuse server you relay
everything through maven<br>
and actually the tools don't do much ?
<div>
<div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Let me clarify... **I'm** not able to do that right
now - I'm not saying<br>
it's not possible. :) So the problem may purely exist
between the chair and<br>
the keyboard at the moment. :)<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
--Fitz<br>
<br>
<br>
On Tue, May 17, 2016 at 8:09 AM, Max Rydahl Andersen
<<a moz-do-not-send="true"
href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On 13 May 2016, at 19:51, Brian Fitzpatrick wrote:<br>
<br>
Thanks Fred.<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
is this something integration stack would like to
see added or just for<br>
your personal<br>
benefits ?<br>
<br>
For now its been low-priority since we have not had
many requests for it<br>
and noone to maintain the plugin actively.<br>
<br>
/max<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, May 13, 2016 at 11:51 AM, Fred Bricon <<a
moz-do-not-send="true"
href="mailto:fbricon@redhat.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:fbricon@redhat.com">fbricon@redhat.com</a></a>>
wrote:<br>
<br>
In JBDS, Arquillian tools are available in Red Hat
Central, software tab,<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
with Early Access enabled<br>
<br>
On Fri, May 13, 2016 at 1:46 PM, Brian
Fitzpatrick <<a moz-do-not-send="true"
href="mailto:bfitzpat@redhat.com"
target="_blank">bfitzpat@redhat.com</a>><br>
wrote:<br>
<br>
Awesome. Thanks Fred - that may get me what I'm
looking for.<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<br>
I take it that those bits are JBT only and not
JBDS at this point?<br>
<br>
On Fri, May 13, 2016 at 10:57 AM, Fred Bricon
<<a moz-do-not-send="true"
href="mailto:fbricon@redhat.com"
target="_blank">fbricon@redhat.com</a>><br>
wrote:<br>
<br>
See <a moz-do-not-send="true"
href="http://tools.jboss.org/features/arquillian.html"
rel="noreferrer" target="_blank">http://tools.jboss.org/features/arquillian.html</a><br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<br>
On Fri, May 13, 2016 at 12:55 PM,
Jean-Francois Maury <<br>
<a moz-do-not-send="true"
href="mailto:jmaury@redhat.com"
target="_blank">jmaury@redhat.com</a><br>
<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
wrote:<br>
<br>
</blockquote>
<br>
What would you like to see ? Prepare the
deployement ?<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<br>
Jeff<br>
<br>
On Fri, May 13, 2016 at 6:33 PM, Brian
Fitzpatrick <<br>
<a moz-do-not-send="true"
href="mailto:bfitzpat@redhat.com"
target="_blank">bfitzpat@redhat.com</a><br>
<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
wrote:<br>
<br>
</blockquote>
<br>
Hi all,<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<br>
I'm going fishing for information here,
but do we have any facility<br>
in<br>
JBoss Tools for helping folks create
Arquillian tests?<br>
<br>
Seems that it would be a good fit for
working with the<br>
Servers/Runtime<br>
framework maybe?<br>
<br>
--Fitz<br>
<br>
--<br>
Brian "Fitz" Fitzpatrick<br>
Sr. Software Developer, Fuse Eclipse
Tooling<br>
<br>
_______________________________________________<br>
jbosstools-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:jbosstools-dev@lists.jboss.org"
target="_blank">jbosstools-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
jbosstools-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:jbosstools-dev@lists.jboss.org"
target="_blank">jbosstools-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
--<br>
Brian "Fitz" Fitzpatrick<br>
Sr. Software Developer, Fuse Eclipse Tooling<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
--<br>
Brian "Fitz" Fitzpatrick<br>
Sr. Software Developer, Fuse Eclipse Tooling<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
jbosstools-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:jbosstools-dev@lists.jboss.org"
target="_blank">jbosstools-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
<br>
</blockquote>
<br>
<br>
/max<br>
<a moz-do-not-send="true"
href="http://about.me/maxandersen"
rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
<br>
</blockquote>
<br>
<br>
<br>
-- <br>
Brian "Fitz" Fitzpatrick<br>
Sr. Software Developer, Fuse Eclipse Tooling<br>
</blockquote>
<br>
<br>
<br>
<br>
</div>
</div>
/max<br>
<a moz-do-not-send="true" href="http://about.me/maxandersen"
rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>Brian "Fitz" Fitzpatrick<br>
</div>
Sr. Software Developer, Fuse Eclipse Tooling <br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>