Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

integration: SevntuCheckstyle to NetBeans #115

Closed
romani opened this Issue · 4 comments

2 participants

Roman Ivanov Baratali Izmailov
Roman Ivanov
Owner

Example of extending most popular checkstyle plugin("Checkstyle Beans") in Netbeans:
http://plugins.netbeans.org/plugin/3413/checkstyle-beans
http://sickboy.cz/checkstyle/screenshots.html
http://sickboy.cz/checkstyle/extra.html

if required: We need to create new project in repo with full configuration and deploy script to prepare artefact together with common build.

Wiki page have to be created that describe (with pictures) "how to ... "

Baratali Izmailov
Collaborator

This plugin has a good feature. It can add any JAR with checks to classpath. So we can use sevntu_checks without extending plugin. You need to write such configuration XML-file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<module name="Checker">
  <module name="TreeWalker">
    <property name="tabWidth" value="4"/>
    <module name="com.github.sevntu.checkstyle.checks.design.NoMainMethodInAbstractClassCheck"/>
  </module>
</module>

Select this file and JAR with checks:
http://s11.postimg.org/i50a9rl5f/plugin_settings.png
And we have working sevntu checks:
http://s24.postimg.org/tc40rbwxh/warning.png

Baratali Izmailov baratali was assigned
Roman Ivanov
Owner

It is weird to use eclipsecs jar in Netbeans - please use sevntu-checks-1.8.0.jar.
if it works fine - please create wiki page at your fork repo "How to use Sevntu Checkstyle in NetBeans" with all pictures and instructions.
As there is no any wizard for checks managment - please provide ready to use config with all our checks.

As Result of your task, should be some solution that will allow any student to use our library without deep understanding how Chekstyle works - test it on your friends.

Baratali Izmailov
Collaborator

Yes, we can use sevntu-checks-1.8.0.jar. I'll create wiki page.

Roman Ivanov romani closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.