Re: [macker-user] command line execution help
Brought to you by:
barredijkstra,
melquiades
From: Paul C. <can...@po...> - 2004-03-04 00:38:44
|
> I'm trying to execute Macker from the command line, to get > familiar with it and determine whether to start using it. There > are no instructions on how to execute it from the command line. Sorry about that. The only help available is just running it from the command line with no args, but I grant that's not much help. > How do I tell it the location of all of the classes to be > included in the analysis? Do I have to list each file > individually, a directory, or what? You must either list each file individually -- here's an example using bash -- macker -r myrules.xml $(find build/classes -name '*.class') -- or you can specify the name a file containing the file with each class (each on a separate line, IIRC): find build/classes -name '*.class' > myclasses.txt macker -r myrules.xml @myclasses.txt Hope that helps! Cheers, Paul |