We are using the JBoss Community formatting profile. We maintain a copy of it in the Seam build repository.<div><br></div><div><a href="https://github.com/seam/build">https://github.com/seam/build</a></div><div><br></div><div>

We have profiles for Eclipse, NetBeans and IntelliJ.</div><div><br></div><div>The rules for XML are listed in the readme.</div><div><br></div><div>This is laid out on the developmentĀ guidelinesĀ page as well:</div><div><br>

</div><div><a href="http://seamframework.org/Seam3/DevelopmentGuidelines#H-Code">http://seamframework.org/Seam3/DevelopmentGuidelines#H-Code</a></div><div><br></div><div>Cheers,</div><div><br></div><div>-Dan</div><div><br>

<div class="gmail_quote">On Fri, May 13, 2011 at 08:41, Pete Muir <span dir="ltr">&lt;<a href="mailto:pmuir@redhat.com">pmuir@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;">

The API follows the same rules as Weld, see <a href="https://github.com/weld/core/blob/master/eclipse-code-formatter-profile.xml" target="_blank">https://github.com/weld/core/blob/master/eclipse-code-formatter-profile.xml</a>. Eclipse doesn&#39;t support pluggable XML formatting so you are on your own there ;-)<br>


<div><div></div><div class="h5"><br>
On 13 May 2011, at 16:07, George Gastaldi wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; Which code formatting rules are we following on the spec ? Is there a<br>
&gt; Eclipse formatter XML avaiable for this project ?<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Goerge<br>
&gt; _______________________________________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>

<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
</div>