Hi,
I've been updating an older project and adding Checkstyle back. The project has some custom checks. After updating those to handle Checkstyle API changes, I tried adding the custom checks jar file to the nested classpath element in the Ant task. The task doesn't seem to be able to find the checks in my jar file. I verified that the custom checks work by running from the command line, and I've changed my Ant build file to invoke Checkstyle from the command line, so I have things working, but I was wondering if I was missing something.
Looking at the source for CheckstyleAntTask, it looks like the nested classpath element is set but not used. The commit at 145160f on October 12 2019 for Issue 3773 looks like it removed code that passed the nested classpath data along. Since this was part of a change for an issue to remove class loader use, I wasn't sure if this was an intended effect, or if there's another way to pass the location of custom checks to the task.
Again, I'm not blocked on this, just wanted to see if I missed something.
Thanks.