<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Max,<br>
<br>
the idea behind this is to have some new mechanism for server
requirements similar as it was <br>
in org.jboss.tools.ui.bot.ext [1]. But we need to rewrite and
redesign it using reddeer. The new server requirements will be
based on xml (not on property files as it was in [1]) <br>
<br>
I designed xsd file here [2] which describes how such a
requirement should look like.<br>
When ready it will let us annotate our test classes with '@Server'
annotation and the framework<br>
will setup server adapter automatically in eclipse. <br>
<br>
<br>
On 04/11/2013 10:57 AM, Max Rydahl Andersen wrote:<br>
</div>
<blockquote cite="mid:20130411085705.GC9208@slowbeard.local"
type="cite">What is <a class="moz-txt-link-freetext" href="http://www.jboss.org/NS/ServerReq">http://www.jboss.org/NS/ServerReq</a> ? why are we
using a global namespace location for reddeer xml configurations ?
<br>
<br>
</blockquote>
<br>
<a class="moz-txt-link-freetext" href="http://www.jboss.org/NS/ServerReq">http://www.jboss.org/NS/ServerReq</a> should be a namespace for *jboss*
server requirements. This is jboss specific (not reddeer specific)
and the code lives in jbosstools-integration-tests repo.<br>
<br>
If it's wrong ok, we can change it easily. Any suggestion?<br>
<br>
<blockquote cite="mid:20130411085705.GC9208@slowbeard.local"
type="cite">I assume this is some xml we use to define server
runtimes - how does this relate to the many other server runtime
definitions
<br>
that exists ? Is this a format we can use with other things ? if
yes - awesome. tell more.
<br>
</blockquote>
<br>
The main intent is to use it in UI tests (the fullfill method [3]
should setup server adapter through UI), but we can think about how
to use it with pure junit tests as well.<br>
<br>
<br>
[1] <a href="https://docspace.corp.redhat.com/docs/DOC-38528">https://docspace.corp.redhat.com/docs/DOC-38528</a><br>
[2] <a
href="https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.ide.eclipse.as.reddeer/resources/ServerRequirements.xsd">https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.ide.eclipse.as.reddeer/resources/ServerRequirements.xsd</a><br>
[3]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.ide.eclipse.as.reddeer/src/org/jboss/ide/eclipse/as/reddeer/server/requirement/ServerRequirement.java">https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.ide.eclipse.as.reddeer/src/org/jboss/ide/eclipse/as/reddeer/server/requirement/ServerRequirement.java</a><br>
<br>
-Pavol.<br>
<pre class="moz-signature" cols="72">--
Pavol Srna
QA Engineer, JBDS
Phone: +420 532 294 352
irc: psrna
Red Hat Czech
Purkynova 99, 612 00 Brno, Czech Republic </pre>
</body>
</html>