Are you using the latest Roaster version (2.20.0.Final)? 

Try using the constants without the shaded package value (eg.

Properties prefs = new Properties();
prefs.put("org.eclipse.jdt.core.formatter.comment.line_length", "25");
      prefs.put("org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries", "false");



Em 24 de fev de 2017 06:07, "Luca Burgazzoli" <lburgazzoli@gmail.com> escreveu:
Hello,

I'm doing some small experiments with Forge Roaster and I'm unable to
get some formatting options taken into account.

My code and the result is here:
https://gist.github.com/lburgazzoli/115377c3887972696f77db3a71fef85f

As you can notice, I configured some properties so that the code
should wrap at column 120 and it should use spaces instead of tabs but
my setup is ignored and the resulting code is still formatted with
some defaults.

Am I doing something wrong ?

Thx,
Luca

---
Luca Burgazzoli
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users