<div dir="ltr">Right, see if it changes anything when using the constants without the shaded package value:<br><br> 
Properties prefs = new Properties();<br> 
prefs.put(&quot;org.eclipse.jdt.<wbr>core.formatter.comment.line_<wbr>length&quot;, &quot;25&quot;);<br> 
prefs.put(&quot;org.eclipse.jdt.<wbr>core.formatter.comment.new_<wbr>lines_at_javadoc_boundaries&quot;, &quot;false&quot;);</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>George Gastaldi</b><br><br><a href="https://onename.com/gastaldi" target="_blank">https://onename.com/gastaldi</a><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 24, 2017 at 9:55 AM, Luca Burgazzoli <span dir="ltr">&lt;<a href="mailto:lburgazzoli@gmail.com" target="_blank">lburgazzoli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi George,<br>
<br>
yes I&#39;m using the latest version:<br>
<br>
  @Grab(group=&#39;org.jboss.forge.<wbr>roaster&#39;, module=&#39;roaster-api&#39;,<br>
version=&#39;2.20.0.Final&#39;)<br>
  @Grab(group=&#39;org.jboss.forge.<wbr>roaster&#39;, module=&#39;roaster-jdt&#39;,<br>
version=&#39;2.20.0.Final&#39;)<br>
<br>
I&#39;m also using constants from DefaultCodeFormatterConstants, like:<br>
<br>
    properties.put(<wbr>DefaultCodeFormatterConstants.<wbr>FORMATTER_LINE_SPLIT, &quot;120&quot;)<br>
    properties.put(<wbr>DefaultCodeFormatterConstants.<wbr>FORMATTER_TAB_CHAR, &quot;space&quot;)<br>
    properties.put(<wbr>DefaultCodeFormatterConstants.<wbr>FORMATTER_TAB_SIZE, &quot;4&quot;)<br>
<br>
<br>
---<br>
Luca Burgazzoli<br>
<br>
<br>
On Fri, Feb 24, 2017 at 1:37 PM, George Gastaldi &lt;<a href="mailto:ggastald@redhat.com">ggastald@redhat.com</a>&gt; wrote:<br>
&gt; Are you using the latest Roaster version (2.20.0.Final)?<br>
&gt;<br>
&gt; Try using the constants without the shaded package value (eg.<br>
&gt;<br>
&gt; Properties prefs = new Properties();<br>
&gt; prefs.put(&quot;org.eclipse.jdt.<wbr>core.formatter.comment.line_<wbr>length&quot;, &quot;25&quot;);<br>
&gt;<br>
&gt; prefs.put(&quot;org.eclipse.jdt.<wbr>core.formatter.comment.new_<wbr>lines_at_javadoc_boundaries&quot;,<br>
&gt; &quot;false&quot;);<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Em 24 de fev de 2017 06:07, &quot;Luca Burgazzoli&quot; &lt;<a href="mailto:lburgazzoli@gmail.com">lburgazzoli@gmail.com</a>&gt;<br>
&gt; escreveu:<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m doing some small experiments with Forge Roaster and I&#39;m unable to<br>
&gt;&gt; get some formatting options taken into account.<br>
&gt;&gt;<br>
&gt;&gt; My code and the result is here:<br>
&gt;&gt; <a href="https://gist.github.com/lburgazzoli/115377c3887972696f77db3a71fef85f" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>lburgazzoli/<wbr>115377c3887972696f77db3a71fef8<wbr>5f</a><br>
&gt;&gt;<br>
&gt;&gt; As you can notice, I configured some properties so that the code<br>
&gt;&gt; should wrap at column 120 and it should use spaces instead of tabs but<br>
&gt;&gt; my setup is ignored and the resulting code is still formatted with<br>
&gt;&gt; some defaults.<br>
&gt;&gt;<br>
&gt;&gt; Am I doing something wrong ?<br>
&gt;&gt;<br>
&gt;&gt; Thx,<br>
&gt;&gt; Luca<br>
&gt;&gt;<br>
&gt;&gt; ---<br>
&gt;&gt; Luca Burgazzoli<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; forge-users mailing list<br>
&gt;&gt; <a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/forge-users</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; forge-users mailing list<br>
&gt; <a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/forge-users</a><br>
______________________________<wbr>_________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/forge-users</a><br>
</blockquote></div><br></div>