Sure no problem I send you now an email :) thanks for your time in resolving this question<br><div class="gmail_quote">El dl., 26 de gen., 2015 a les 16.53 Ivan St. Ivanov &lt;<a href="mailto:ivan.st.ivanov@gmail.com">ivan.st.ivanov@gmail.com</a>&gt; va escriure:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There it is:<div><br></div><div><a href="https://issues.jboss.org/browse/FORGE-2202" target="_blank">https://issues.jboss.org/browse/FORGE-2202</a><br></div><div><br></div><div>@Alex: would you communicate this issue to the Barcelona JUG member that asked the question? :)</div><div><br></div><div>Thanks,</div><div>Ivan</div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 26, 2015 at 4:24 PM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>That is one of the use cases the CommandExecutionListener is for. </div><div>Perhaps we could have this feature in core (reading from the user configuration)  and do it automatically. Could you please file a new feature request in JIRA?</div><div><br></div><div>Best Regards,</div><div><br></div><div>George<br><br></div><div><br>Em 26/01/2015, às 12:20, Ivan St. Ivanov &lt;<a href="mailto:ivan.st.ivanov@gmail.com" target="_blank">ivan.st.ivanov@gmail.com</a>&gt; escreveu:<br><br></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div><blockquote type="cite"><div><div dir="ltr">Hi George,<div><br></div><div>Thanks! But this is if you implement an addon that generates code.</div><div><br></div><div>What if you are just using Forge. Could you somehow configure the tool with your own formatter XML to be used for example in the entities or JAX-RS resources generation?</div><div><br></div><div>Thanks,</div><div>Ivan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 3:43 PM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@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">If you call Roaster.format() passing as an argument the Eclipse formatter profile XML it should format as you wish. You could implement it as a ResourceListener and monitor new resources using the ResourceMonitor feature, or after every command execution using a CommandExecutionListener.<br>
<br>
<br>
<br>
&gt; Em 26/01/2015, às 10:04, Ivan St. Ivanov &lt;<a href="mailto:ivan.st.ivanov@gmail.com" target="_blank">ivan.st.ivanov@gmail.com</a>&gt; escreveu:<br>
<div><div>&gt;<br>
&gt; Hi folks,<br>
&gt;<br>
&gt; During my recent Forge talk for the Barcelona JUG I was asked whether it is possible to change the formatter that is currently used by Forge for the generated classes. At the moment the generated code is with 3 spaces indentation and with opening braces on the next line. Which is not what everybody uses.<br>
&gt;<br>
&gt; So, how can we change that configuration?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Ivan<br>
</div></div>&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>
<br>
_______________________________________________<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></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span></div></blockquote></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>_______________________________________________<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></blockquote></div></div></blockquote></div>