[
https://issues.jboss.org/browse/ROASTER-131?page=com.atlassian.jira.plugi...
]
Gunnar Morling commented on ROASTER-131:
----------------------------------------
Hey [~gastaldi], I've pushed an exmaple here:
https://github.com/gunnarmorling/deptective/tree/roaster
This is using Roaster 2.20.6 on Java 8 source files. Run {{./.roaster/bin/roaster -c
etc/eclipse-formatter.xml -r javac-plugin}} and observe how many files will be
re-formatted, indenting with tabs. In contrast, the expected formatting is shown when
running {{mvn spotless:apply}} (this will just re-format a single file which hasn't
the right formatting yet).
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
Priority: Major
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)