Quick q's about the annotations - so you place ConfigurationElement(s)
annotations on classes and ConfigurationAttribute annotations on
setters? Or can the latter be on fields as well? And what about
object hierarchy, e.g., if I have an abstract class with
ConfigurationElement defined and subclasses with
ConfigurationAttributes?
Also, some Javadocs on these annotations - preferably with a usage
example - will help people use them as we move forward. At the end of
the day we want people to document configuration this way, and should
make it as easy as possible to do. :-)
Cheers
Manik
On 23 Jun 2009, at 15:11, Vladimir Blagojevic wrote:
Hi,
I finished up
https://jira.jboss.org/jira/browse/ISPN-89 today. I
decorated only a few bean configuration classes. I want to get a nod
from Manik first before proceeding further on this front. I also
committed a ConfigDoclet in tools project. ConfigDoclet is supposed
to create configuration documentation in html. However, I could not
figure out how to include ConfigDoclet invocation into maven.
ConfigDoclet requires -classpath flag to include all jars from
dependent projects. If you are maven proficient and have a lot of
hair please be my guest :) For testing purposes I was invoking
ConfigDoclet as a simple java class with main method. We can invoke
this doclet as a simple java program. No need for this doclet
nonsense.
Regards,
Vladimir
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org