| RE: [aspectj-users] aop.xml: include all sub-packages |
|
Use <include within="com.nextpage..*"/>
From:
aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Alec Lebedev Hi, I am changing my app to use load-time instead of
compile-time weaving. However, I don’t see a way to tell load-time weaver
to weave classes in ALL sub-packages on a certain package. Say, I want to weave
classes in all sub-packages in com.nextpage package. When I use: <weaver> <include within="com.nextpage.*"/> </weaver>it only weaves classes in com.nextpage package, but not the subpackages.
Note that sub-packages can be nested arbitrarily deep. How
can I include all sub-packages in a given package? Thanks. Alec |