1) Format and Organize Imports of all java files in benchmark-viewer.  I don't know whether the Org Imports was necessary, but the formatting was off.

2) Adds a test directory to benchmark-viewer to stop build breakage.

3) tools/build.xml was not propagating anything other than 'build' targets to children.  Mostly copied from platforms.ant.xml

4) Fixes an eclipse/user/.checkstyle problem introduced in r813.

5) Fixes a couple of checkstyle violations in ReportDatabase.java (from tobyr).

6) Sets svn:ignore in eclipse/tools/benchmark-viewer

Patch by: me (+tobyr)
Review by: mmendez
           tobyr

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@849 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/tools/build.xml b/tools/build.xml
index f17e778..065d592 100755
--- a/tools/build.xml
+++ b/tools/build.xml
@@ -6,10 +6,28 @@
         <!-- "build" is the default when subprojects are directly targetted -->
         <property name="target" value="build" />
       
-        <target name="build" depends="benchmark-viewer" description="Builds all targets"/>
-
         <target name="benchmark-viewer" depends="" description="Run benchmark-viewer">
                 <gwt.ant dir="benchmark-viewer" />
         </target>
+
+	<target name="-do" depends="benchmark-viewer" description="Run all subfolders" />
+
+	<target name="build" description="Build each subfolder">
+		<antcall target="-do">
+			<param name="target" value="build" />
+		</antcall>
+	</target>
+
+	<target name="checkstyle" description="Static analysis of source for each subfolder">
+		<antcall target="-do">
+			<param name="target" value="checkstyle" />
+		</antcall>
+	</target>
+
+	<target name="test" depends="build" description="Test each subfolder">
+		<antcall target="-do">
+			<param name="target" value="test" />
+		</antcall>
+	</target>
 </project>