We have a defined a set of rules in Eclipse for code formatting and clean up.
is there a way to run the code clean up using ant task ?
I know that there are tools like checkstyle but these tool have thier own configurations and rules, and I don’t want to maintain 2 sets of rules.
I’m looking for an ant task that will use the same exact configuration and rules defined for eclipse code formatting / clean up
— Thanks
Yonatan
Have you considered using the Java -> Editor -> Save Actions to enable reformatting on save instead?