I needed to compile AspectJ classes (.java with annotations) with ajc and I wanted to have that integrated into the Maven build process. I tried several means, finally finding the one that worked. Note: I had to use ajc even though I was using the pure java 5 syntax based on annotations instead of theContinue reading “Compiling with AspectJ’s ajc compiler from Maven”
Monthly Archives: December 2009
Troubleshooting logging configuration (Log4j, commons-logging)
Did it ever happen to you that your logging didn’t behave as expected? Here are some tips how to find out what’s going on. Commons-logging (since 1.1) Set the system property org.apache.commons.logging.diagnostics.dest to STDOUT (or STDERR or a file name); docs: -Dorg.apache.commons.logging.diagnostics.dest=STDOUT Extract of a sample output (no commons-logging.properties): Extract of a sample output (incorrectContinue reading “Troubleshooting logging configuration (Log4j, commons-logging)”