Multiple class elements may be specified as children of a single spotbugs element. The class element must specify a location attribute which names the archive file (jar, zip, etc.), directory, or class file to be analyzed. classĪ optional nested element specifying which classes to analyze. ![]() This section describes the parameters that may be specified when using the FindBugs task. The output of SpotBugs will be saved in XML format to a file called bcel-sb.xml.Īn auxiliary Jar file, Regex.jar, is added to the aux classpath, because it is referenced by the main BCEL library.Ī source path is specified so that the saved bug data will have accurate references to the BCEL source code. (By making it depend on the “jar” target, we ensure that the library is fully compiled before running SpotBugs on it.) This target will execute SpotBugs on bcel.jar, which is the Jar file produced by BCEL’s build script. ![]() The spotbugs element must have the home attribute set to the directory in which SpotBugs is installed in other words, $SPOTBUGS_HOME.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |