integration: SevntuCheckstyle to NetBeans #115

Closed
romani opened this Issue Apr 14, 2013 · 4 comments

Comments

Projects
None yet
2 participants
Owner

romani commented Apr 14, 2013

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 ... "

Contributor

baratali commented Sep 10, 2013

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

@ghost ghost assigned baratali Sep 10, 2013

Owner

romani commented Sep 12, 2013

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.

Contributor

baratali commented Sep 12, 2013

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

@romani romani closed this Mar 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment