Hi Michael,<div>sounds great.</div><div><br></div><div>Regarding documentation: it would save some time if you would link source code pointers with github.</div><div>e.g. you could make a hyperlink to </div><div><a href="https://github.com/wyona/yanel/blob/master/src/realms/yanel-website/res-configs-repo/data/en/contact.html.yanel-rc">https://github.com/wyona/yanel/blob/master/src/realms/yanel-website/res-configs-repo/data/en/contact.html.yanel-rc</a></div>
<div><br></div><div>Cheers</div><div>Balz</div><br><div title="signature"> </div><div class="gmail_quote">On Thu, Jan 26, 2012 at 1:10 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
I am happy to announce that the functionlity of "target
environments" is now implemented. Please see<br>
the documentation at<br>
<br>
<a href="http://www.yanel.org/en/documentation/target-environment.html" target="_blank">http://www.yanel.org/en/documentation/target-environment.html</a><br>
<br>
Please let me know if it is not clear enough or something does not
work as expected.<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 24.01.12 20:32, schrieb Michael Wechner:
<blockquote type="cite">
Am 24.01.12 14:43, schrieb Michael Wechner:
<blockquote type="cite">
Hi Balz<br>
<br>
Am <a href="tel:13.10.11%2017" value="+13101117" target="_blank">13.10.11 17</a>:31, schrieb basZero:
<blockquote type="cite">sounds great, but I would not reinvent the wheel.
<div>checkout Maven Profiles, they do exactly this.</div>
<div><br>
</div>
<div>if I remember correctly, Maven Profiles existed as
separate files in version 2.x, from 3.x they have been
integrated into Maven's settings.xsml:</div>
<div><br>
</div>
<div><a href="http://maven.apache.org/settings.html#Profiles" target="_blank">http://maven.apache.org/settings.html#Profiles</a></div>
<div><br>
</div>
<div><a href="http://maven.apache.org/guides/introduction/introduction-to-profiles.html" target="_blank">http://maven.apache.org/guides/introduction/introduction-to-profiles.html</a></div>
</blockquote>
<br>
Thanks very much for these links, but it's not really about the
build process, but rather about resource configurations of
realms, which have nothing to do with the build process.<br>
<br>
I will do an experimental implementation in a separate git
branch and try to make it available for testing shortly.<br>
</blockquote>
<br>
I have started this implementation inside the branch<br>
<br>
remotes/origin/target-environment<br>
<br>
whereas one wants to have a look at <br>
<br>
conf/yanel.xml<br>
<br>
where one can set a target environment.<br>
<br>
Thanks<br>
<br>
Michael<br>
<blockquote type="cite"> <br>
Thanks<br>
<br>
Michael<br>
<br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div>Cheers</div>
<div>Balz<br>
<br>
<div title="signature"> </div>
<div class="gmail_quote">On Tue, Oct 11, 2011 at 9:47 PM,
Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
Based on some other work it occured to me that it would
be nice if one could easily differentiate configuration
parameters for various scenarios/environments, e.g.
Development, Testing, Staging and Production.<br>
<br>
The Yanel configuration itself already provides "local"
configuration files, but in the case of resource
configurations this is not the case, e.g.<br>
<br>
src/realms/yanel-website/res-configs-repo/data/en/contact.html.yanel-rc<br>
<br>
and in particular a parameter like<br>
<br>
<yanel:property name="to" value="<a href="mailto:contact@wyona.com" target="_blank">contact@wyona.com</a>"/><br>
<br>
needs to be changed for development or testing. At the
moment one has to keep editing these files<br>
with the risk to use a value actually intended for
another scenario/environment and hence creating errors.<br>
<br>
I think we could solve this problem in a very elegant
way by introducing an attribute, e.g.<br>
<br>
<yanel:property name="to" value="<a href="mailto:contact@wyona.com" target="_blank">contact@wyona.com</a>"
env="production"/><br>
<yanel:property name="to" value="<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>"
env="development"/><br>
<br>
whereas inside<br>
<br>
WEB-INF/classes/yanel.xml<br>
<br>
the scenario/environment could be set globally, e.g.
production or development or whatever and based on<br>
that the right value selected.<br>
<br>
WDYT?<br>
<br>
Thanks<br>
<br>
Michael<br>
<font color="#888888"> <br>
<br>
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</font></blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br>