<div dir="ltr">Yes. Forge uses XML and provides project and user-scoped configurations, but since the plugin should be managing this, the user shouldn&#39;t ever have to edit the XML by hand (in theory.) If you do want to expose this to users, then... sure, by all means.
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 15, 2013 at 6:20 AM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On Tue, May 14, 2013 at 07:05:16PM +0200, Sebastien Blanc wrote:<br>
&gt;On 05/13/2013 06:56 PM, Max Rydahl Andersen wrote:<br>
&gt;&gt;&gt; Hi Max,<br>
&gt;&gt;&gt; as Vineet said, it&#39;s a specific config file to set specific &quot;flags&quot; and<br>
&gt;&gt;&gt; options for the aerogear scaffolding. I&#39;m using this to not break the<br>
&gt;&gt;&gt; current Scaffold API, in the future, Aerogear may become a plugin on its<br>
&gt;&gt;&gt; own and some of the config will be mirgrated to command line options.<br>
&gt;&gt;&gt; I&#39;m trying to upload right now with a higher res, hope it will be more<br>
&gt;&gt;&gt; watchable. Otherwise, I&#39;m planning to a new one, with voice over and<br>
&gt;&gt;&gt; also showing the push to cloud option.<br>
&gt;&gt;&gt; Sebi<br>
&gt;&gt; Okey - any reason why it can&#39;t use forge preferences for this ?<br>
&gt;&gt;<br>
&gt;&gt; and if it needs to be external file shouldn&#39;t we name it something more specific<br>
&gt;&gt; than config.yml ? maybe forgescaffold.yml (assuming its not aerogear specific)<br>
&gt;&gt;<br>
&gt;&gt; /max<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;Hi Max,<br>
&gt;Well the main reason right now it&#39;s to be able to use JSON instead of<br>
&gt;XML. BTW, it&#39;s not a .yml extension but just a classic .json extension.<br>
<br>
</div>afaik forge uses json...at least thats what I thought it did ;)<br>
<div><br>
&gt;The config file is very specific to AeroGear (and the project itself)<br>
<br>
</div>I assume it is for the project itself since it is in the project - but<br>
afaik forge config also has a project scope that stores in the project (Lincoln,<br>
correct me if i&#39;m wrong on that)<br>
<div><br>
&gt;and might be used in the future for JS based tooling (Yeoman extension<br>
&gt;etc ...) where JSON is more appropriate.<br>
<br>
</div>Sure - but it would just be nice we:<br>
<br>
A) don&#39;t use such generic names as config.yml - maybe aerogear-scaffold.yml(?)<br>
<br>
B) consider not having multiple .yml files for something that is more or less specfiic/limited to forge plugins (thus forge.yml might be better?)<br>
<span><font color="#888888"><br>
/max<br>
</font></span><div><br>
&gt;I could take a look if Forge Preferences API offers the same flexibility<br>
&gt;as the current JSONConfig object file I&#39;m using right now.<br>
&gt;<br>
&gt;Seb<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;forge-dev mailing list<br>
&gt;<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
&gt;<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div><div><div>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div></div>