#143 CheckStylePlugin in cvs

Batch: 1 Feb 2005
closed
Jeffrey Hoyt
None
7
2005-03-10
2005-03-07
Oliver Epper
No

After giving myself kind of a hard time I've commited
the new version of the CheckStylePlugin to the jedit
cvs, meanwhile.
This release has the ability to check all the opened
buffers that are in java mode as an enhancement to the
old version.

Discussion

  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-08

    • milestone: --> Batch: 1 Feb 2005
     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-08

    • priority: 5 --> 7
    • assigned_to: nobody --> jchoyt
     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-08

    Logged In: YES
    user_id=396194

    Oliver,

    I need you to tag the files you want me to use for the
    build. Also, please see:

    http://plugins.jedit.org/releasing.php

    and provide all the necessary information.

    Thanks,

    Jeff

     
  • Oliver Epper
    Oliver Epper
    2005-03-08

    Logged In: YES
    user_id=1226457

    Name:
    CheckStylePlugin

    Version:
    0.2.2.1

    Author:
    Oliver Epper <oliver@epper.de>

    Requirements:
    jdk 1.4
    jEdit 4.2final
    ErrorListPlugin 1.3.2
    CheckStyle 3.5 (checkstyle-all-3.5.jar in cvs)
    (should be bundled, build.xml copies it to install.dir)

    Announcement:
    This plugin uses the new jEdit plugin api, as well as
    the new
    checkstyle api, which makes it possible to use it with
    checkstyle 4.0 (cvs) which has a rudimentary support for
    java 5.
    It can check the actual buffer, as well as all the
    opened buffers
    that are in java mode.

    Source Code:
    In jEdit CVS:
    Module Name: plugins/CheckStyle
    Tag: CheckStylePlugin-0_2_2_1

     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-09

    Logged In: YES
    user_id=396194

    Oliver,

    Thanks! It's packaged, and went pretty easily, but I don't
    know how to use it. Can you give me a quick test to see if
    it's working? Adding help documentataion would be useful.

    Thanks,

    Jeff

     
  • Oliver Epper
    Oliver Epper
    2005-03-09

    Logged In: YES
    user_id=1226457

    Hi Jeff !

    You're right ! Not having the plugin documented in the first
    place can be considered as a bug :( I'll provide some
    documentation as soon as I befriend with the docbook setup
    in the plugin repos.

    To test the plugin you need to provide it with a valid
    CheckStyle configuration. (Plugin Options/CheckStyle).
    You can download the common CheckStyle config from here:
    http://oliver.epper.de/sun_checks.xml

    Thanks for your work !
    Oliver

     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-10

    Logged In: YES
    user_id=396194

    Actually, you can just put it in html and include it in the
    jar file directly. The JCompiler plugin does it that way.
    He has an index.html file in the same directory as his
    build.xml file and his 'dist' target in ant looks like:

    <target name="dist" depends="compile">
    <mkdir dir="${install.dir}"/>
    <jar jarfile="${install.dir}/JCompiler.jar">
    <fileset dir="${build.dir}"/>
    <fileset dir="${src.dir}">
    <include name="actions.xml"/>
    <include name="services.xml"/>
    <include
    name="JCompilerPlugin.props"/>
    <include name="index.html"/>
    <include name="**/*.gif"/>
    </fileset>
    </jar>
    </target>

    It's in the plugins CVS repository if you want to play with it.

    Jeff

     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-10

    Logged In: YES
    user_id=396194

    Packaged and tested. Thanks for your patience, Oliver.

    Jeff

     
  • Jeffrey Hoyt
    Jeffrey Hoyt
    2005-03-10

    • status: open --> closed