General

How can I get JetStyle to use my own Checkstyle settings?
Go to: File - Settings - Project - Checkstyle.

Click on the "Select Checkstyle Configuration..." button. Select the Checkstyle configuration file that you want to use.

Click on the "Open" button.
[top]

How do I build JetStyle using Ant?
You need Checkstyle 4.x, IntelliJ IDEA 4.5 (or newer) and Apache Ant 1.5 (or newer) on your system to be able to build this plugin.

Download the source code from SourceForge.

Unpack it to a folder of your choice.

Open a shell/command prompt.

Change to the directory where you unpacked the source code.

Edit the build.xml file and set the properties at the to top to values that match your system.

Run
ant jar
[top]

How do I build JetStyle using Maven 2?
You need Apache Maven 2.0.x on your system to be able to build this plugin.

Download the source code from SourceForge.

Unpack it to a folder of your choice.

Open a shell/command prompt.

Change to the directory where you unpacked the source code.

Run
mvn package
[top]

How do I install JetStyle into IntelliJ IDEA?
There are two ways to install JetStyle:
  1. The easy way

    You can download and install the JetStyle plugin using the Plugin manager in IDEA.

    Go to: File - Settings - IDE Settings - Plugins.

    Select the "Available" tab.

    Scroll down until you find JetStyle and then select it.

    Click on the "Download and Install Plugin" button at the top of the window.

    Click on the "OK" button.
  2. The do-it-yourself way

    Follow the instructions for building JetStyle in this document.

    Run
    ant deploy
[top]

Why doesn't JetStyle work with my source code that uses Java 1.5 language features?
JetStyle uses Checkstyle. First try to run Checkstyle separately on the commandline or using Ant. If that works submit a bug-report to the JetStyle project. If it doesn't work then submit a bug-report to the Checkstyle project.
[top]

Where can I read more about JetStyle?
You can find some historic info about JetStyle at http://www.intellij.org/twiki/bin/view/Main/JetStylePlugin
[top]