ant « aspectj « Java Enterprise Q&A





1. How do I mix in ajc with my already setup groovyc/javac ant configuration?    stackoverflow.com

I recently configured groovy 1.6 (w/Java 6) into my ant build.xml script, so that it compiles everything through groovy, with the embedded javac command:

<target name="build-project" depends="init">
    <groovyc destdir="antbin" ...

2. How to override ant task stored in ant lib directory    stackoverflow.com

At my work we use AspectJ in some of our Java projects. To get this to work with ant builds we have been placing aspectjtools.jar within ant/lib/. I am now working on ...

3. Dependency in external aspectJ project    stackoverflow.com

Ok, we use AspectJ to monitor and measure performance of our client applications. First we just created a package inside the application project to place the aspecj source (pointcut, advise ...

4. Is it possible to have an aspect around other aspects    stackoverflow.com

my question is related to this question We have different aspect class that do @around advice on different part of an application (fat client in Swing) to measure the execution time. I ...

5. iajc and aspectpath    stackoverflow.com

I'm a bit confused with the aspectpath option of the iajc compiler. My project use AspectJ to weave metric code into an existing swing application. All the application source are packaged this way:

com.xxx.yyy.myapp.*
We ...

6. iajc fails to weave aspects from a jar but succeedes from class files    stackoverflow.com

So I defined iajc task for my project that does intertype declarations just fine, then there is a separate jar task that creates a project.jar. Then there is iajc task for junit ...