
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Just for clarification I am using Ant 1.6.5 and CheckStyle 4.1
Once I unzip the checkstyle archive, it has lots of jar files (7 to be
exact). It seems I need to place one of them in the "Ant\lib
directory", but which one?
Once I get checkstyle in the right place I would like to use it based
on the example here, http://checkstyle.sourceforge.net/anttask.html,
that uses features available in Ant 1.6 and later.
I think it would also help me out if someone can explain exactly what,
xmlns:cs="antlib:com.puppycrawl.tools.checkstyle"> , in the example
means?
Thanks
Roedy Green - 03 Feb 2006 22:59 GMT
>Once I unzip the checkstyle archive, it has lots of jar files (7 to be
>exact). It seems I need to place one of them in the "Ant\lib
>directory", but which one?
one of the nice things about this problem is putting a jar somewhere
it is not needed won't hurt. Put it everywhere. When you get in
working, if it is important, you can use a binary search technique to
figure out which one was the crucial one.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
James Westby - 04 Feb 2006 02:06 GMT
> Just for clarification I am using Ant 1.6.5 and CheckStyle 4.1
>
> Once I unzip the checkstyle archive, it has lots of jar files (7 to be
> exact). It seems I need to place one of them in the "Ant\lib
> directory", but which one?
From the article you reference below
The easiest way is to include checkstyle-all-4.1.jar in the classpath.
have you tried that?
> Once I get checkstyle in the right place I would like to use it based
> on the example here, http://checkstyle.sourceforge.net/anttask.html,
[quoted text clipped - 3 lines]
> xmlns:cs="antlib:com.puppycrawl.tools.checkstyle"> , in the example
> means?
http://ant.apache.org/manual/CoreTypes/antlib.html
James