-
1. Re: AnnotationC and logging/verbose
nthx Sep 14, 2005 6:03 AM (in response to irsnout)
* 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());
Then:
* Compile sources.
* Copy dist libs to your project
* Use your custom jboss-aop-1.3-with-annotationcLogging
Right? ;)
Tomasz
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. -
2. Re: AnnotationC and logging/verbose
freezy Sep 14, 2005 8:11 PM (in response to irsnout)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... -
3. Re: AnnotationC and logging/verbose
kabirkhan Sep 15, 2005 5:03 AM (in response to irsnout)I fixed the problem with [ and ] in cvs