I’ve just had one of those mornings where you spend hours trying to crack a problem and just getting nowhere.
The problem was getting AspectJ to work under Ant but only by using the AJDT 1.6.3 Eclipse plugin.
Unfortunately, this is very poorly documented. Fortunately, this helps you make the right decision: don’t use AspectJ in Ant by relying on AJDT.
There is a very good reason for this (beyond it being hard to get working): you cannot rely on AJDT being available when compiling in anything other than Eclipse (e.g. from a CI server).
What’s the alternative? Download AspectJ and use these libraries directly in Ant – they’re well documented and just work.