I'm just wondering if there is a command line tool for formatting eclipse java. Or if there is an ant task to execute it.
In my script there are 2 java formatters, one for the forter for Android, the other is our internal formatter.
So, we have to change it between these two formatter.
source share