On Oct 24, 2011, at 12:04 PM, Sanne Grinovero wrote:
>>> 1. We hijack javadoc processing to generate the RHQ xml
file, which means that the annotations need be available beyond the compile phase. This
forces the annotation, and rhq annotations, dependencies to be required. At the time of
writing this, I wasn't aware of annotation processors and that would have been the
right way to solve this issue. That should avoid dependencies going beyond compilation
time, but would bring other issues, i.e. annotation processor discovery (we'd need one
for JBoss Logging and one for this)…etc.
>>
>> What has annotation processor discovery to do with RHQ?
>
> All JMX methods are annotated with JMX annotations and RHQ annotations too. The
latter are used to generate the RHQ configuration file which is what tells RHQ what a jmx
value is used for, whether a numeric measuremen, a text field…etc.
I see, but this package only includes plain annotations right? Even
looking into the infinispan-tool package I don't see annotation
PROCESSORS, are we making confusion on the terms here?
Also when I explicitly disabled annotation processors discovery to
list only the jboss-logger this didn't break.
Yeah, it only contains annotations. I might have been confusing with the actual RHQ
dependencies that the rhq-plugin/ module has, which might have a Hibernate 3.x
dependency.
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache