sourCEntral - mobile manpages

pdf

EFJ

NAME

efj − manual page for Eclipse Formatter for Java

SYNOPSIS

efj <options> <source files>

DESCRIPTION

EFJ is the commanline version of the Eclipse source code formatter. The main motivation for EFJ comes from a request to use Eclipse’s Java formatter without having to install the entire Eclipse Platform, JDT or a GUI toolkit. It is possible to run a nightly cron job which checks out the code, formats it and checks it back in. EFJ could also be used in a server side commit hook.

OPTIONS

−config <file> Use the formatting style from the specified config
file. This file must be an xml file that has been exported by Eclipse.
−help
Display this message.
−quiet
Only print error messages.
−verbose
Be verbose about the formatting job.

SEE ALSO

eclipse(1)

ISSUES

You may also notice that an empty workspace directory is created in the directory that efj is called from. This is because EFJ is just a GUI-less version of eclipse. Affords exists to disable this behaviour.

REPORTING BUGS

Report bugs to Ben Konrath <ben AT bagu DOT org>.

AUTHOR

ecj was written by Ben Konrath <ben AT bagu DOT org>. See the web site http://www.bagu.org/eclipse/efj/ for more information.

This manual page was written by Stephan Michels <stephan AT apache DOT org>.

pdf