Author: [EMAIL PROTECTED] Date: Mon Dec 1 20:28:46 2008 New Revision: 4220
Added: trunk/tools/soyc-vis/ trunk/tools/soyc-vis/README trunk/tools/soyc-vis/build.xml Modified: trunk/tools/build.xml Log: Added SOYC Dashboard visualization to trunk/tools. See README in trunk/tools/soyc-vis for information on how to compile & run. Modified: trunk/tools/build.xml ============================================================================== --- trunk/tools/build.xml (original) +++ trunk/tools/build.xml Mon Dec 1 20:28:46 2008 @@ -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"> Added: trunk/tools/soyc-vis/README ============================================================================== --- (empty file) +++ trunk/tools/soyc-vis/README Mon Dec 1 20:28:46 2008 @@ -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 Added: trunk/tools/soyc-vis/build.xml ============================================================================== --- (empty file) +++ trunk/tools/soyc-vis/build.xml Mon Dec 1 20:28:46 2008 @@ -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 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---