<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Oops, forgot to paste the link.<BR>
<A HREF="https://issues.jboss.org/browse/AS7-3726">https://issues.jboss.org/browse/AS7-3726</A>&nbsp; Pass the path to docs/examples to the tests.<BR>
(I worded it rather not to expect current behavior to change.)<BR>
<BR>
Ondra<BR>
<BR>
<BR>
Brian Stansberry p&#237;&#353;e v Po 13. 02. 2012 v 10:30 -0600:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I didn't see the JIRA, so I'm copying the dev list.

It was removed because the semantic was unclear. Users were expecting to 
pass in an absolute file and then have the AS write back to that file. 
We're not going to support writing outside the configuration/ dir and 
never intended to.

I agree though that completely eliminating this was not the best 
solution, as there's a good use case for it. Besides the testing issue, 
some folks don't like the AS overwriting the config file in the first 
place, so passing in a config file in a non-writable location is a 
workaround solution for them.

My thoughts on this were to allow an --initial-server-config (for 
standalone) and --initial-domain-config and --initial-host-config (for 
domain). They would allow absolute paths. Their names and documentation 
would indicate their contents are read when the process is first started 
and thereafter are ignored.


On 2/13/12 4:28 AM, Ond&#345;ej &#381;i&#382;ka wrote:
&gt; I've created a jira for this task,
&gt; let's discuss there.
&gt;
&gt; Thx,
&gt; Ondra
&gt;
&gt;
&gt; Ond&#345;ej &#381;i&#382;ka p&#237;&#353;e v Po 13. 02. 2012 v 11:15 +0100:
&gt;&gt; Hi Brian,
&gt;&gt;
&gt;&gt; what was the reason to restrict AS config in sys prop to a relative path?
&gt;&gt;
&gt;&gt; In the testsuite, we would make use of absolute paths.
&gt;&gt; The reason is that we reuse the configs from docs/examples, and they
&gt;&gt; change quite often, so having them in resources would be hardly
&gt;&gt; maintainable.
&gt;&gt; However, docs/examples is not guaranteed to be always in the same
&gt;&gt; place: E.g. for EAP, or for RPM-based installation of EAP it might end
&gt;&gt; up in /var/docs or such.
&gt;&gt;
&gt;&gt; I would like to pass some property from maven to the tests, but that
&gt;&gt; results in absolute path.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Ondra
&gt;


</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>