My favorites | Sign in
Project Home Downloads Wiki Issues Source
How to run JDepChk; command-line options
Featured, Phase-Deploy
Updated Nov 30, 2012 by peter.arrenbrecht

Command Line Options

JDepChk can be run from the command line as follows:

java -jar build/jdepchk.jar [OPTION]...

Use the --help option to list the available options.

Ant Support

You can run JDepChk from within Ant build scripts via Ant's java task. This is encapsulated in an Ant macro provided by build-macro-jdepchk.xml. An example can be seen in JDepChk's own build file.


In addition to the rules shown in the options help, you can also look at JDepChk's own rules and the two tutorial tests:


There is a full-blown demo project included with the source.

Sign in to add a comment
Powered by Google Project Hosting