[
https://issues.jboss.org/browse/ROASTER-131?page=com.atlassian.jira.plugi...
]
George Gastaldi commented on ROASTER-131:
-----------------------------------------
I think we could make this better by replacing the {{new Properties()}} call in the
Formatter class with {{readConfigInternal()}} (at least you get some default values that
can be overriden by the configuration file).
I like the idea of logging the failed formatting, I'll have a look at that too
Config file not applied when using CLI
--------------------------------------
Key: ROASTER-131
URL:
https://issues.jboss.org/browse/ROASTER-131
Project: Roaster
Issue Type: Enhancement
Reporter: Gunnar Morling
Assignee: George Gastaldi
Priority: Major
Fix For: 2.20.7.Final
I'm using the CLI (roaster.sh) to format some source files, but it doesn't apply
the given Eclipse formatter file (passed via -c). As per roaster's output it should
have worked, but clearly it's using a different configuration, e.g. in my XML config
file I'm mandating to only use spaces for indentation, whereas the file is indented
with tabs after roaster ran. Note the config itself can't be the problem, as it's
applied as expected when ran through Spotless.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)