Configuration

Although Jalopy ships with sensible default settings (mimicking the Sun Java coding convention), you most likely want to configure the formatter to match your needs (adding copyright headers, tune Javadoc handling and the like). For such, Jalopy comes with a graphical configuration tool that lets you interactively customize the settings. See Chapter 2, Configuration for an in-depth discussion of the available options.

To display the configuration tool, you should install the Console Plug-in and use the matching wrapper script for your platform. The wrapper scripts are called jalopy.xxx and can be found in the /bin folder of the Console installation directory.

Invoke the script with the --configure option.

jalopy --configure

If you don't want to install the Console Plug-in, you can make use of the -jar option of the Java launcher, as Jalopy comes as an exectuable JAR file:

java -jar <path_to>\jalopy-Help.jar --configure

Or you give the classpath directly to the launcher

java -cp <path_to>\jalopy-Help.jar Jalopy --configure

Of course, you can externally configure the classpath yourself by adding all .jar files as usual and then type

java Jalopy --configure