apt not discovering my factory

You are here:

I'm using apt to generate Java code from an annotated enum but for some reason the factory discovery process described in "Getting Started with apt" doesn't find my factory. The command line I'm using looks like:

it works perfectly. If I only needed to use one factory, I would be fine with that, but I already have another piece of infrastructure built on apt that processes a different set of annotations. I guess I could do it in two passes, but I'd really rather have apt automatically discover the processor factories for me. Can someone tell me what's going on?

Yes, there aren't many APT resources around. The only documentation I ever found on it is the JDK documentation:

JAVA_HOME/docs/guide/apt/index.html

Particularly "Getting Started with apt" and "Mirror API". There's a section on Getting Started called "Specifying the Annotations to Process" that covers how a factory should state the annotations it can proccess.