java - Way to oblige AspectJ to throw a runtime error if it can't find/put to run the given aspect files? -
i trying run complex application complex classpaths , jvm options load-time aspects woven in. @ moment doesn't seem doing anything, can't know sure if in way related bug in code or in aspect not being loaded @ all. there special switch alert me if given aspect not being loaded (and possible, issue @ hand)?
i've looked aj command line script, doesn't particularly useful :(
update: forgot mention option want -showweaveinfo
rather (or in addition to) -verbose
. while latter shows if aspect has been registered @ all, former shows woven classes.
in chapter 5 of the aspectj development environment guide find information about
- configuring load-time weaving aop.xml files including samples weaver options
verbose
,dump within
, - a short reference of weaver options.
the former writes information processed ltw aspects on system.err
, latter dumps classes in specified packages specific directory can inspect them , see if have been woven desired.
Comments
Post a Comment