Added SOYC Dashboard visualization to trunk/tools. See README in trunk/tools/soyc-vis for information on how to compile & run.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@4220 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/tools/build.xml b/tools/build.xml
index 3c89a8a..104f13b 100755
--- a/tools/build.xml
+++ b/tools/build.xml
@@ -3,7 +3,7 @@
<property name="project.tail" value="tools" />
<import file="${gwt.root}/common.ant.xml" />
- <!-- "build" is the default when subprojects are directly targetted -->
+ <!-- "build" is the default when subprojects are directly targeted -->
<property name="target" value="build" />
<target name="benchmark-viewer" depends="" description="Run benchmark-viewer">
@@ -13,8 +13,12 @@
<target name="api-checker" depends="" description="Compile api-checker">
<gwt.ant dir="api-checker" />
</target>
-
- <target name="-do" depends="benchmark-viewer,api-checker" description="Run all subfolders" />
+
+ <target name="soyc-vis" depends="" description="Compile SOYC dashboard">
+ <gwt.ant dir="soyc-vis" />
+ </target>
+
+ <target name="-do" depends="benchmark-viewer,api-checker,soyc-vis" description="Run all subfolders" />
<target name="build" description="Build each subfolder">
<antcall target="-do">
diff --git a/tools/soyc-vis/README b/tools/soyc-vis/README
new file mode 100644
index 0000000..a0d7938
--- /dev/null
+++ b/tools/soyc-vis/README
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2008 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+This utility presents a dashboard visulization of GWT's Story of Your
+Compile.
+
+To compile:
+ant (in this directory)
+
+To run:
+1. Compile your GWT application with SOYC (flag -soyc), which results in one ore
+more .xml files (depending on your number of permutations), plus a file manifest.xml that maps permutations to .xml files.
+2. Run java -classpath build/classes -Xmx1024M com/google/gwt/soyc/SoycDashboard XmlFileName.xml
diff --git a/tools/soyc-vis/build.xml b/tools/soyc-vis/build.xml
new file mode 100644
index 0000000..1ad5cd0
--- /dev/null
+++ b/tools/soyc-vis/build.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<project name="SOYC Dashboard Visualization" default="build" basedir=".">
+
+ <target name="clean">
+ <delete dir="build"/>
+ </target>
+
+ <target name="compile">
+ <mkdir dir="build/classes"/>
+ <javac srcdir="src" destdir="build/classes"/>
+ </target>
+
+ <target name="build" depends="clean, compile"/>
+
+
+</project>
\ No newline at end of file