Reviewers: Ray Ryan,

Description:
As long as it's ant day... this is a performance tweak.  Right now, when
we test in the native-code directories (dev and jni), we nominally test
all three operating systems, which can result in triplicate builds of
alldeps.jar.  Since we, in fact, can only test for *this* OS that we're
on, there's no reason to pretend we can "-do" the full fanout.

Please review this at http://gwt-code-reviews.appspot.com/47812

Affected files:
   dev/build.xml
   jni/build.xml


Index: dev/build.xml
===================================================================
--- dev/build.xml       (revision 5695)
+++ dev/build.xml       (working copy)
@@ -3,6 +3,13 @@
    <property name="project.tail" value="dev" />
    <import file="${gwt.root}/platforms.ant.xml" />

+
+  <target name="test" description="Tests this project, but only on this  
platform">
+    <gwt.ant dir="core" target="test"/>
+    <gwt.ant dir="oophm" target="test"/>
+    <gwt.ant dir="${build.host.platform}" target="test"/>
+  </target>
+
    <target name="clean" description="Cleans this project's intermediate and  
output files">
      <delete dir="${project.build}" failonerror="false" />
      <delete failonerror="false">
Index: jni/build.xml
===================================================================
--- jni/build.xml       (revision 5695)
+++ jni/build.xml       (working copy)
@@ -2,4 +2,9 @@
    <property name="gwt.root" location=".." />
    <property name="project.tail" value="jni" />
    <import file="${gwt.root}/platforms.ant.xml" />
+
+  <target name="test" description="Tests this project, but only on this  
platform">
+    <gwt.ant dir="core" target="test"/>
+    <gwt.ant dir="${build.host.platform}" target="test"/>
+  </target>
  </project>



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to