On 13 August 2012 23:50, Simone Tripodi <[email protected]> wrote: > Hi Peter, > >> set to) and reformatted the pom.xml files that were not compliant. I >> can't seem to find a way in Eclipse to setup the XML formatter by >> project, so I will have to remember to switch back to 2 spaces when >> committing to Any23, but the java convention should be consistent. > > In Eclipse go to Preferences->XML->XML Files->Editor > > Then, turn on the radio button "Indent using spaces" and set > "Indentation size" to 2 spaces.
That was how I did it, I just have to remember to switch it back between projects as it doesn't seem to be project specific like the java formatter and cleanup profiles. Thanks, Peter
