* Get the sources (cvs or anyhow)
* Find: <JBOSS_AOP>/src/aspect-framework/main/org/jboss/aop/annotation/compiler/ByteCodeAnnotationCompiler.java
Method: compile(String args)
This method takes care of pre-post-compiling Java classes. You can add:
log.debug("Compiling my favourite class: " + clazz.getClass().getName());
* Compile sources.
* Copy dist libs to your project
* Use your custom jboss-aop-1.3-with-annotationcLogging
PS. I suppose it'll work. I didn't tested that. Took me 3 minutes to find the place in the code.. Try it out.
I also ran into a problem with annotationc: it created a "metadata-aop.xml" file with something like "package.POJO->main(String args)" in it. Unfortunately, AOPC didn't like that and failed because of the "[" characters...
Maybe it helps you...
I fixed the problem with [ and ] in cvs