If you don't already have this, or would like to, here is some ant stuff for a beautifier call to JIndent (for copy paste purposes), this is just a ant target:
<!-- ================================================================== --> <!-- Format Source Code recursively throughout the source tree --> <!-- ================================================================== --> <target name="format" depends="compile" description="JIndent Format" > <java jar="lib/Jindent.jar" fork="true" classpathref="classpath" > <arg value="-r" /> <arg value="${src}" /> </java> </target>
You'll also need the JIndent pure java downloads from JIndent.com, and to put the jars from that download in the /lib dir of your project. This is not the JIndent-ant.jar but nearly all the other jars that come with the d/l.
It's nice, and you can edit this to accept a file with your custome format preferences.
Slightly off subject -- sorry bgilb,
L-