Don't name your JAR files with the version number on the filename. The
distribution already identifies the version number, and its much easier to
drop in a new version of a dependency when all you have to do is switch the
directory name and not also the JAR file names. I use a method of
indirection using Ant properties to switch library versions, and having JAR
files named with the version number wreak havoc on it.
Include a properties file in your JAR that has this line:
This allows folks to integrate Checkstyle without having to know the
classname by doing this:
<taskdef resource="anttasks.properties" classpath="checkstyle-1.4.jar"/>
Log in to post a comment.