On 11/03/2014 04:56 AM, Matthew Toseland wrote: > On 02/11/14 23:30, Juiceman wrote: >> On Sun, Nov 2, 2014 at 4:53 AM, Florent Daigniere >> <nextg...@freenetproject.org> wrote: >>> >>> We've been here and tried that previously... several things came out: >>> >>> 1) tools to re-indent existing code have bugs >>> https://netbeans.org/bugzilla/show_bug.cgi?id=123258 (yeah, when you've >>> been burnt by something you remember it ;)) >> Steve is checking bytecode to make sure this doesn't happen. > Please publish scripts. Thanks.
I've posted verify-formatting-only. [0] It isn't completely automatic, at least at the moment. I didn't see a way to disable debug information from the command line. There's javac.args in fred, but that's not built-in support. Turning off debug is necessary when comparing class files in this context due to line numbers differing. One can use this by: 1) set debug="off" in the javac invocation 2) build pre-merge; copy to pre-merge.jar 3) build post-merge; copy to post-merge.jar 4) run the script [0] https://github.com/freenet/scripts/blob/master/verify-formatting-only
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl