AspectJ in ANT

Supposedly works, and there are three ways of doing it. Note that there can be a problem when using it with Javac and source lists:

“Beware of using regular source lists with this; javac may prune unchanged files, which excludes them from the compile process for ajc, which requires that all files affected by any aspects be listed explicitly.”

I haven’t tried it yet, but it looks like a nice thing to know.

Leave a Reply