[Pkg-crosswire-devel] JSword: help with checkstyle

Dmitrijs Ledkovs dmitrij.ledkov at ubuntu.com
Thu Aug 26 01:19:51 BST 2010


----------------------
checkstyle:
     [echo] CheckStyle may fail if checkstyle-all-5.0.jar is not visible to Ant.
     [echo] To make it visible you need to do one of two things depending
     [echo] on whether you are running ant in Eclipse or not.
     [echo] In Eclipse, add checkstyle-all-5.0.jar to Preferences ->
Ant -> Runtime -> Global Entries
     [echo] Otherwise, run the checkstyle.antlibs task to copy jars to
ANT_HOME/lib
    [mkdir] Created dir:
/home/tdlk/src/jsword/trunk/jsword-web/target/webapp/checkstyle
     [copy] Copying 1 file to
/home/tdlk/src/jsword/trunk/jsword-web/target/webapp/checkstyle

BUILD FAILED
/home/tdlk/src/jsword/trunk/jsword-web/build.xml:89: The following
error occurred while executing this line:
/home/tdlk/src/jsword/trunk/jsword-support/tools/checkstyle/build.xml:25:
Problem: failed to create task or type checkstyle
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

----------------------

What's going on here? I did install checkstyle and I have
/usr/share/java/checkstyle.jar on my system.




More information about the Pkg-crosswire-devel mailing list