diff mxtool/mx.py @ 22031:434fbaaf53d7

moved findbugs support from mx_graal.py to mx_findbugs.py
author Doug Simon <doug.simon@oracle.com>
date Fri, 19 Jun 2015 17:41:45 +0200
parents 5b4a974d9ae6
children 56c50504d60d
line wrap: on
line diff
--- a/mxtool/mx.py	Fri Jun 19 15:59:22 2015 +0200
+++ b/mxtool/mx.py	Fri Jun 19 17:41:45 2015 +0200
@@ -47,12 +47,14 @@
 import shutil, re, xml.dom.minidom
 import pipes
 import difflib
-import mx_unittest
 from collections import Callable
 from threading import Thread
 from argparse import ArgumentParser, REMAINDER
 from os.path import join, basename, dirname, exists, getmtime, isabs, expandvars, isdir, isfile
 
+import mx_unittest
+import mx_findbugs
+
 try:
     # needed to work around https://bugs.python.org/issue1927
     import readline
@@ -5708,6 +5710,7 @@
     'eclipseinit': [eclipseinit, ''],
     'eclipseformat': [eclipseformat, ''],
     'exportlibs': [exportlibs, ''],
+    'findbugs': [mx_findbugs.findbugs, ''],
     'findclass': [findclass, ''],
     'fsckprojects': [fsckprojects, ''],
     'help': [help_, '[command]'],