this looks weird... can you run with the -verbose option and send me the results?
The checkstyle.jar contains the 'checkstyletask.properties' file that contains the taskname<->class-name mapping. It should work if checkstyle.jar is on the classpath, so I guess it isn't on your classpath. You can put it on the classpath by either specifying the checkstyle.jar property, or by putting the JAR in $ANT_HOME/lib.
That's the theory, at least ;-)
Vincent Massol wrote:
Hi Chris, I'm trying to build Cactus from CVS head and it seems the latest build changes related to checkstyle have broken something. When I type "ant release", I now get:init.checkstyle.check: init.checkstyle: [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be foun d. checkstyle: BUILD FAILED file:E:/Dev/jakarta-cactus/anttasks/build.xml:272: Could not create task or type of type: checkstyle . Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: [...] Thanks -Vincent -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- Christopher Lenz /=/ cmlenz at gmx.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
