Re: [macker-user] debugging patterns
Brought to you by:
barredijkstra,
melquiades
From: Paul C. <can...@po...> - 2005-09-22 05:30:20
|
Yes: use the verbose option in the Macker Ant task: <macker verbose="true" ...> Macker will dump the usage graph, e.g.: Macker (verbose mode enabled) 9 primary classes 32 total classes 73 references Classes used by net.innig.macker.example.conventions.AlphaTree: java.lang.String java.util.Set java.util.TreeSet net.innig.macker.example.conventions.AlphaTree net.innig.macker.example.conventions.StringTree VOID It will then dump the parsed tree for each pattern, and show the matching classes: matching (include net.innig.macker.rule.filter.PrimaryFilter $1@d71e34 + (include net.innig.macker.rule.filter.InterfaceFilter $1@9652dd + net.innig.macker.rule.filter.AccessFilter$1@ffeaea)) net.innig.macker.example.conventions.BrokenApi net.innig.macker.example.conventions.Tree It's a lot of junk to wade through, but it may be of use. I suggest piping ant to a file when you do this. Cheers, Paul On Sep 21, 2005, at 10:25 PM, Daniel Spangler wrote: > Is there a flag or debugging level that can be turned on that will > print out the classes/interfaces that match a given pattern? > > Daniel |