linuxcali / jain-slee

Automatically exported from code.google.com/p/jain-slee
0 stars 1 forks source link

Unify indentation of generated files #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an EclipSLEE project.
2. Examine indentation levels of pom.xml's, SLEE descriptors, Java source files.

What is the expected output? What do you see instead?
Expected - uniform indentation (character and width).
Actual: pom.xml's use 2 spaces, SLEE descriptors use 4 spaces, Java source 
files use 1 tab.

What version of the product are you using? On what operating system?
EclipSLEE 2.0.0.v20121003-1449
m2e 1.2.0.20120903-1050 (embedded maven 3.0.4)
Eclipse 4.2.1
Debian GNU/Linux 6.0.6

Please provide any additional information below.
The best solution would be not only to use the same indentation style for all 
generated files but to better integrate with Eclipse by reusing the indentation 
settings defined in
Window -> Preferences -> General -> Editors -> Text Editors. Without that users 
working on projects with strict coding style policies would still be forced to 
manually fix indentation (with eclipse aids of Ctrl+Shift+F and the like, but 
it's still a pointless waste of time), which is tedious because it would have 
to be done every time a given resource is regenerated (adding a dependency to 
project regenerates pom.xml, adding an event to SBB regenerates sbb-jar.xml, 
etc.).

Original issue reported on code.google.com by vil...@users.sourceforge.net on 4 Feb 2013 at 1:45