get build scripts to work

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9a1f2113
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9a1f2113
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9a1f2113

Branch: refs/heads/develop
Commit: 9a1f2113899594c42dbe4cbccf5bb7c4c41ea9d5
Parents: c6690b6
Author: Alex Harui <[email protected]>
Authored: Sun Aug 23 22:14:41 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Sun Aug 23 22:14:41 2015 -0700

----------------------------------------------------------------------
 examples/build.xml                              | 84 +++++++-------------
 examples/flexjs/ChartExample/build.xml          |  4 +-
 examples/flexjs/CordovaCameraExample/build.xml  |  4 +-
 examples/flexjs/DataBindingExample/build.xml    |  4 +-
 .../flexjs/DataBindingExample_Flat/build.xml    |  4 +-
 examples/flexjs/DataBindingExample_as/build.xml |  4 +-
 examples/flexjs/DataGridExample/build.xml       |  4 +-
 examples/flexjs/DesktopMap/build.xml            |  4 +-
 examples/flexjs/FlexJSStore/build.xml           |  4 +-
 examples/flexjs/FlexJSStore_jquery/build.xml    |  4 +-
 examples/flexjs/MapSearch/build.xml             |  4 +-
 examples/flexjs/MobileTrader/build.xml          |  4 +-
 examples/flexjs/TodoListSampleApp/build.xml     |  4 +-
 13 files changed, 52 insertions(+), 80 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/build.xml
----------------------------------------------------------------------
diff --git a/examples/build.xml b/examples/build.xml
index 919982e..894573e 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -74,33 +74,20 @@
     </target>
     
     <target name="compile" description="Compile Examples" >
-        <ant dir="${basedir}/CordovaCameraExample"/>
-        <ant dir="${basedir}/ContainerTest"/>
-        <ant dir="${basedir}/DataBindingExample"/>
-        <ant dir="${basedir}/DataBindingExample_as"/>
-        <ant dir="${basedir}/DataBindingExample_Flat"/>
-        <ant dir="${basedir}/DataGridExample"/>
-               <ant dir="${basedir}/DateChooserExample"/>
-        <ant dir="${basedir}/DesktopMap"/>
-        <ant dir="${basedir}/EffectsExample"/>
-        <ant dir="${basedir}/FlexJSStore"/>
-        <ant dir="${basedir}/FlexJSStore_jquery"/>
-        <ant dir="${basedir}/FlexJSTest_basic"/>
-        <ant dir="${basedir}/FlexJSTest_createjs"/>
-        <ant dir="${basedir}/FlexJSTest_HTML5"/>
-        <ant dir="${basedir}/FlexJSTest_jquery"/>
-        <ant dir="${basedir}/FlexJSTest_Panel"/>
-        <ant dir="${basedir}/FlexJSTest_SVG"/>
-        <ant dir="${basedir}/FormExample"/>
-        <ant dir="${basedir}/ImageTest"/>
-        <ant dir="${basedir}/LanguageTests"/>
-        <ant dir="${basedir}/ListsTest"/>
-        <ant dir="${basedir}/MapSearch"/>
-        <ant dir="${basedir}/MobileTrader"/>
-        <ant dir="${basedir}/RollEventsTest"/>
-        <ant dir="${basedir}/StockQuote"/>
-        <ant dir="${basedir}/ChartExample"/>
-        <ant dir="${basedir}/TodoListSampleApp"/>
+        <ant dir="${basedir}/flexjs/CordovaCameraExample"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample_as"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample_Flat"/>
+        <ant dir="${basedir}/flexjs/DataGridExample"/>
+        <ant dir="${basedir}/flexjs/DesktopMap"/>
+        <ant dir="${basedir}/flexjs/FlexJSStore"/>
+        <ant dir="${basedir}/flexjs/FlexJSStore_jquery"/>
+        <ant dir="${basedir}/flexjs/MapSearch"/>
+        <ant dir="${basedir}/flexjs/MobileTrader"/>
+        <ant dir="${basedir}/flexjs/ChartExample"/>
+        <ant dir="${basedir}/flexjs/TodoListSampleApp"/>
+        <ant dir="${basedir}/native/ButtonExample"/>
+        <ant dir="${basedir}/native/USStatesMap"/>
     </target>
           
     <!--
@@ -114,35 +101,20 @@
     </target>
     
     <target name="clean" description="Cleans all SWCs and their resource 
bundles">
-        <ant dir="${basedir}/CordovaCameraExample" target="clean"/>
-        <ant dir="${basedir}/ContainerTest" target="clean"/>
-        <ant dir="${basedir}/DataBindingExample" target="clean"/>
-        <ant dir="${basedir}/DataBindingExample_as" target="clean"/>
-        <ant dir="${basedir}/DataBindingExample_Flat" target="clean"/>
-        <ant dir="${basedir}/DataGridExample" target="clean"/>
-        <ant dir="${basedir}/DateChooserExample" target="clean"/>
-        <ant dir="${basedir}/DesktopMap" target="clean"/>
-        <ant dir="${basedir}/EffectsExample" target="clean"/>
-        <ant dir="${basedir}/FlexJSStore" target="clean"/>
-        <ant dir="${basedir}/FlexJSStore_jquery" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_basic" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_createjs" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_HTML5" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_jquery" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_Panel" target="clean"/>
-        <ant dir="${basedir}/FlexJSTest_SVG" target="clean"/>
-        <ant dir="${basedir}/FormatExample" target="clean"/>
-        <ant dir="${basedir}/FormExample" target="clean"/>
-        <ant dir="${basedir}/ImageTest" target="clean"/>
-        <ant dir="${basedir}/LanguageTests" target="clean"/>
-        <ant dir="${basedir}/ListsTest" target="clean"/>
-        <ant dir="${basedir}/MapSearch" target="clean"/>
-        <ant dir="${basedir}/MobileTrader" target="clean"/>
-        <ant dir="${basedir}/RollEventsTest" target="clean"/>
-        <ant dir="${basedir}/StatesTest" target="clean"/>
-        <ant dir="${basedir}/StockQuote" target="clean"/>
-        <ant dir="${basedir}/ChartExample" target="clean"/>
-        <ant dir="${basedir}/TodoListSampleApp" target="clean"/>
+        <ant dir="${basedir}/flexjs/CordovaCameraExample" target="clean"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample" target="clean"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample_as" target="clean"/>
+        <ant dir="${basedir}/flexjs/DataBindingExample_Flat" target="clean"/>
+        <ant dir="${basedir}/flexjs/DataGridExample" target="clean"/>
+        <ant dir="${basedir}/flexjs/DesktopMap" target="clean"/>
+        <ant dir="${basedir}/flexjs/FlexJSStore" target="clean"/>
+        <ant dir="${basedir}/flexjs/FlexJSStore_jquery" target="clean"/>
+        <ant dir="${basedir}/flexjs/MapSearch" target="clean"/>
+        <ant dir="${basedir}/flexjs/MobileTrader" target="clean"/>
+        <ant dir="${basedir}/flexjs/ChartExample" target="clean"/>
+        <ant dir="${basedir}/flexjs/TodoListSampleApp" target="clean"/>
+        <ant dir="${basedir}/native/ButtonExample" target="clean"/>
+        <ant dir="${basedir}/native/USStatesMap" target="clean"/>
     </target>
     
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/ChartExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/build.xml 
b/examples/flexjs/ChartExample/build.xml
index 60306cb..20b4415 100644
--- a/examples/flexjs/ChartExample/build.xml
+++ b/examples/flexjs/ChartExample/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="chartexample" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="ChartExample" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
 <!-- temp remove build_example.compilejs -->
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/CordovaCameraExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/build.xml 
b/examples/flexjs/CordovaCameraExample/build.xml
index 92f4c07..7aa14f4 100644
--- a/examples/flexjs/CordovaCameraExample/build.xml
+++ b/examples/flexjs/CordovaCameraExample/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="cordovacameraexample" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="CordovaCameraExample" />
     
     <!-- this project needs AIR 3.4 FP 11.4 -->
@@ -80,7 +80,7 @@
         <os family="mac"/>
     </condition>
 
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" 
depends="clean,build_example.compileair,build_example.compilejsair" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/DataBindingExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/build.xml 
b/examples/flexjs/DataBindingExample/build.xml
index c14ec77..88dbbba 100644
--- a/examples/flexjs/DataBindingExample/build.xml
+++ b/examples/flexjs/DataBindingExample/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="databindingexample" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="DataBindingExample" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
         property="GOOG_HOME"
         value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
 
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/DataBindingExample_Flat/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/build.xml 
b/examples/flexjs/DataBindingExample_Flat/build.xml
index ad0a98c..6553b2e 100644
--- a/examples/flexjs/DataBindingExample_Flat/build.xml
+++ b/examples/flexjs/DataBindingExample_Flat/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="databindingexample_flat" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="DataBindingExample" />
     <property name="theme_arg" 
value="-theme=${FLEXJS_HOME}/frameworks/libs/Flat.swc" />
     
@@ -58,7 +58,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/DataBindingExample_as/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/build.xml 
b/examples/flexjs/DataBindingExample_as/build.xml
index accb229..db584dc 100644
--- a/examples/flexjs/DataBindingExample_as/build.xml
+++ b/examples/flexjs/DataBindingExample_as/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="databindingexample_as" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="DataBindingExample" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compileas,build_example.compileasjs" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/DataGridExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/build.xml 
b/examples/flexjs/DataGridExample/build.xml
index b7c8e80..fd89f00 100644
--- a/examples/flexjs/DataGridExample/build.xml
+++ b/examples/flexjs/DataGridExample/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="datagridexample" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="DataGridExample" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
         
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/DesktopMap/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/build.xml 
b/examples/flexjs/DesktopMap/build.xml
index d55be5a..d50fee5 100644
--- a/examples/flexjs/DesktopMap/build.xml
+++ b/examples/flexjs/DesktopMap/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="desktopmap" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="DesktopMap" />
     
     <!-- this project needs AIR 3.4 FP 11.4 -->
@@ -80,7 +80,7 @@
         <os family="mac"/>
     </condition>
 
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" 
depends="clean,build_example.compileair,build_example.compilejsair" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/FlexJSStore/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/build.xml 
b/examples/flexjs/FlexJSStore/build.xml
index d4b9777..7dc4d66 100644
--- a/examples/flexjs/FlexJSStore/build.xml
+++ b/examples/flexjs/FlexJSStore/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="flexjsstore" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="FlexJSStore" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
         <mkdir dir="${basedir}/bin-debug/data" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/FlexJSStore_jquery/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/build.xml 
b/examples/flexjs/FlexJSStore_jquery/build.xml
index d4b9777..7dc4d66 100644
--- a/examples/flexjs/FlexJSStore_jquery/build.xml
+++ b/examples/flexjs/FlexJSStore_jquery/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="flexjsstore" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="FlexJSStore" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -57,7 +57,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
         <mkdir dir="${basedir}/bin-debug/data" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/MapSearch/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/build.xml 
b/examples/flexjs/MapSearch/build.xml
index 05b8c2c..9516e96 100644
--- a/examples/flexjs/MapSearch/build.xml
+++ b/examples/flexjs/MapSearch/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="mapsearch" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="MapSearch" />
     
     <!-- this project needs AIR 3.4 FP 11.4 -->
@@ -79,7 +79,7 @@
         <os family="mac"/>
     </condition>
 
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" 
depends="clean,build_example.compileair,build_example.compilejsair" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/MobileTrader/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/build.xml 
b/examples/flexjs/MobileTrader/build.xml
index 2471ff8..92a54b9 100644
--- a/examples/flexjs/MobileTrader/build.xml
+++ b/examples/flexjs/MobileTrader/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="mobiletrader" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="MobileTrader" />
     
     <property environment="env"/>
@@ -56,7 +56,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a1f2113/examples/flexjs/TodoListSampleApp/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/build.xml 
b/examples/flexjs/TodoListSampleApp/build.xml
index d416664..db82c4c 100644
--- a/examples/flexjs/TodoListSampleApp/build.xml
+++ b/examples/flexjs/TodoListSampleApp/build.xml
@@ -18,7 +18,7 @@
 
 -->
 <project name="todoListSampleApp" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
+    <property name="FLEXJS_HOME" location="../../.."/>
     <property name="example" value="TodoListSampleApp" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
@@ -55,7 +55,7 @@
     property="GOOG_HOME"
     value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
     
-    <include file="${basedir}/../build_example.xml" />
+    <include file="${basedir}/../../build_example.xml" />
     
     <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
     </target>

Reply via email to