OverviewDownloadDocumentationPlug-insLinksContact
Features | History | Manual | Javadoc
This page generated: August 7 2002

Chapter 4. Preferences

Table of Contents

Jalopy stores all preferences settings as files inside its settings directory (or subdirectories thereof). This directory is located in the user home directory ($HOME/.jalopy).

A graphical user interface is provided to easily configure the preferences. Please refer to the individual Plug-in chapters in Part II for information on how to display it from within the Plug-in you received.

4.1. General

Jalopy stores its preferences in a binary file $HOME/.jalopy/PROJECT_DIR/preferences.dat. However you can import/export your preferences in both the binary, and a textual XML format. A group of preferences forms a code convention.

4.1.1. Convention

Lets you name a group of preferences, a code convention.

  • Name

    The name of the code convention. The name must be no longer than 10 characters.

  • Description

    Stores a short description for the code convention.

4.1.2. Compliance

Lets you specify whether Java sources should be treated as JDK 1.3 or as JDK 1.4 compatible. The latter means assert will be treated as a reserved keyword.

  • Source compatibility

    Lets you choose the JDK version number to use for source compatibility.

4.1.3. Import/Export

Use the Import... and Export... buttons to import an already-saved code convention, or export your current preferences as a new code convention. You can choose between the binary .jal format or an XML representation.

Jalopy is able to import preferences from both local and distributed locations. Just specify a valid Internet address (either starting with http:// or www.) for the latter. Jalopy will then attempt to synchronize its preferences with the given url on every invocation. That way it is easy to share a single code convention across a group of developers.

Please note that versions prior to 1.0b8 stored the backup directory always as an absolute file. Therefore after importing a preferences file, you should check whether this directory points to your prefered backup directory. This advice holds true even for later versions in case you've changed the default backup directory.

However if the backup directory setting is left untouched, the directory is stored relative to the Jalopy settings directory. This way you can savely share a preference file across different systems and platforms.

to top