Bug 289041 - [ltw] Issue warning when aop.xml defined set of types to be woven is empty
Summary: [ltw] Issue warning when aop.xml defined set of types to be woven is empty
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: LTWeaving (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 05:06 EDT by Jakub Holy CLA
Modified: 2009-09-10 05:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Holy CLA 2009-09-10 05:06:56 EDT
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13
Build Identifier: M20090211-1700

It would be extremely helpful if AspectJ issued a warning when the set of types to be woven defined in aop.xml via include/exclude elements is empty because this is quite likely to indicate incorrectly defined includes (though occasionally it can be done on purpose). For example I forgot one dot in "my.package.*", which led to weaving only classes with the package my.package (there are none) and not weaving classes in the subpackages of my.package, which is what I wanted to be woven. Thanks!

Reproducible: Always