Check and feel better about your code!
(c) 1999-2005 by Ralph Jocham (firstname.lastname@example.org)
JCSC is released under the terms of the GNU General Public License
Rules Editor UI
The graphical Rules Editor assists in creating the appropriate rules.
The rules are grouped into three groups on different tabs.
Each rule in the set of rules is explained in Java showing a real life
Also, a Regexp compiler which assists in generating regular expression.
Ant is the state of
the art make tool. In order to support Ant and to benefit from it, JCSC
does provide an Ant task. (see the
The Ant task provides two different ways of using it. Requires Ant
Speed: On a P4/1.6 GHz, 1,000 classes are parsed in ~30
- To parse one file, i.e. to be used a plugin into IDE
- To parse a whole package tree of classes, i.e. to
check a whole project during a build (see CruiseControl). The output is
similar to a that of JavaDoc and be viewed with a XSLT complient
(tested with IE6+ with SP1 and Mozilla1+).
IntelliJ IDEA is
a very powerful commercial IDE. For installation go to this link. This plugin is still in
development (any kind of feedback is appreciated) but stable.
is an open source Continious Integraction tool. JCSC can easily be
integrated into CruiseControl which means, that after each check in,
your codebase will be parsed and the results will appear on the
CruiseControl web page.
How to setup:
- add the JCSC entry to the cruisecontrol web page; see the JCSC_HOME/html/xml/xsl/CC2/buildresults.jsp.example
- in the webapps/cruisecontrol
folder create a logs/jcsc
- copy the JCSC_HOME/html/xml/xsl
folder into the logs/jcsc
- copy the files generated by the JCSC run into the webapps/cruisecontrol/logs/jcsc
- merge the JCSC overview.xml
generated by the JCSC Ant task into the log.xml file in the
- update the cruisecontrol.bat
(or cruisecontrol.sh) to
include the JCSC.jar.
For some strange reasons about XML processing, you have to add the JCSC.jar file
before the cruisesontol.jar
file. Below is a
example for the .bat
- if you have problems contact me
Last updated on