I have a library created by myself with simple logging annotations and logger aspect. I have several AspectJ projects where I want to reuse this library compiled into the jar. Library is very similar to http://www.jcabi.com/ library with it's @Loggable annotation, but has some differences, main difference is that my library aspect tries to retrieve a Username if class of method marked as @Loggable implements HasUser interface (my own interface). Other differences are not so important.
I want an example of Ant script to compile both from library and project aspects. AspectJ Ant Documentation is too complex for me because I have little experience with Ant.
Partially similar questions are hear:
aspectj: How to weave aspects from a library into user code?
iajc fails to weave aspects from a jar but succeedes from class files