-
Notifications
You must be signed in to change notification settings - Fork 0
SevNTU plugin for EclipseCS plugin compilation
UNDER CONSTRUCTION !!!!!!!!!
1. I presume that all pages before this you already done.
2. Checkout latest tagged eclipse-cs sources .
by latest release tag, list of tags could be seen here field “Sticky Tag:”, Example for v5_6_0:
cvs -z3 -d:pserver:anonymous@eclipse-cs.cvs.sourceforge.net:/cvsroot/eclipse-cs co -r v5_6_0 .
3. Build
cd net.sf.eclipsecs.parent
mvn install
4. Compile SevNTU sources:
cd sevntu-checks
mvn install
cd ../eclipsecs-sevntu-plugin
mvn install
/sevntu.checkstyle$ mvn clean install -f eclipse-pom.xml
7. That is all – now you are able to build Sevntu plugin for Eclipse checkstyle plugin
Import “as Maven projects” in Eclipse workspace following projects for convenient work
checkstyle
checkstyle-sevntu
eclipsecs-sevntu-plugin
8. Do changes and …
9. Run Tests
Open “Preferences/Java/Installed JREs”. Edit the used one and add to the default JVM arguments
that described here
Alternatively right click on the checkstyle project, choose “Run as/Run configurations”. Double-click on the Junit to create new run configuration. In tab “test” choose Junit4 runner. In tab “Arguments” add to the VM arguments.
10. To create Plugin jar
Select project “eclipsecs-sevntu-plugin”, in context menu “Export → Plug-in Deployment/Deployable plug-ins and fragments”. Press “Next” . Provide Destination Directory. Press “Finish”.
11. Add plugin to eclipse
Result jar – com.github.sevntu.checks_1.0.X.jar. Should be copied to /pligins. Launch Eclipse. Select menu – Window – Preferences → Checkstyle. Select Configuration and press “Configure”. In list of groups will be “SevNTU checks”. Enjoy.