fix up build script like the others

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

Branch: refs/heads/feature/amf
Commit: 9f77823ca0675699a52ce3aaf6b62473a8300308
Parents: 029d87f
Author: Alex Harui <[email protected]>
Authored: Tue Aug 22 18:15:23 2017 -0700
Committer: Alex Harui <[email protected]>
Committed: Tue Aug 22 18:17:10 2017 -0700

----------------------------------------------------------------------
 examples/flexjs/RemoteObjectAMFTest/build.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f77823c/examples/flexjs/RemoteObjectAMFTest/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/RemoteObjectAMFTest/build.xml 
b/examples/flexjs/RemoteObjectAMFTest/build.xml
index 8c8b891..5d67538 100644
--- a/examples/flexjs/RemoteObjectAMFTest/build.xml
+++ b/examples/flexjs/RemoteObjectAMFTest/build.xml
@@ -32,7 +32,8 @@
 
     <include file="${basedir}/../../build_example.xml" />
     
-    <target name="main" 
depends="clean,build_example.compile,build_example.compilejs" 
description="Clean build of ${example}">
+    <target name="main" depends="clean,build_example.compile" 
description="Clean build of ${example}">
+        <!--
         <mkdir dir="${basedir}/bin/js-debug/assets" />
         <copy todir="${basedir}/bin/js-debug/assets" >
             <fileset dir="${basedir}/src/main/resources/assets">
@@ -49,6 +50,7 @@
         <replace file="${basedir}/bin/js-debug/index.html" token="${accent}" 
value="pink" />
         <replace file="${basedir}/bin/js-release/index.html" 
token="${primary}" value="indigo" />
         <replace file="${basedir}/bin/js-release/index.html" token="${accent}" 
value="pink" />
+         -->
     </target>
     
     <target name="clean">
@@ -58,4 +60,15 @@
         <delete dir="${basedir}/target" failonerror="false" />
     </target>
    
+   <target name="examine" depends="build_example.get.browser">
+       <property name="which" value="debug" />
+       <echo message="Choose from dropdown, get quote, click on checkbox to 
see if TextArea appears and disappears, click on radio buttons to see if other 
labels change via data binding"/>
+       <exec executable="${browser}" dir="${basedir}/bin-${which}" 
failonerror="true">
+           <arg value="${basedir}/bin-${which}/${example}.html"/>
+       </exec>
+       <exec executable="${browser}" dir="${basedir}/bin/js-${which}" 
failonerror="true">
+           <arg value="${basedir}/bin/js-${which}/index.html"/>
+       </exec>
+   </target>
+   
 </project>

Reply via email to