Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ANT Task
Group: release 4.4
Submitted By: Marc Beckers (marcbeckers)
Assigned to: Oliver Burn (oburn)
Summary: resource checkstyletask.properties
I have written a custom check and put it in a jar. When I run the check in NetBeans with the Checkstyle Beans plugin it all works well, but when I run it with Ant I get the following error:
Could not load definitions from resource checkstyletask.properties. It could not be found.
C:\MyData\LocalSubversionWorkingCopy\bla\trunk\projects\BLA\autobuild.xml:43: 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.
But the file checkstyletask.properties is available in the checkstyle-all-4.4.jar.