[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] aop.xml: include all sub-packages



<include within="com.nextpage..*"/> 



From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Alec Lebedev
Sent: Wednesday, October 25, 2006 10:59 AM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] aop.xml: include all sub-packages




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:

    <include within="com.nextpage.*"/> 
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?