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/aa48f8e2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/aa48f8e2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/aa48f8e2

Branch: refs/heads/develop
Commit: aa48f8e23b04f0d3eb0cbc20398ef1039ecd97ef
Parents: 2777edb
Author: Alex Harui <aha...@apache.org>
Authored: Tue Aug 22 18:15:23 2017 -0700
Committer: Carlos Rovira <carlosrov...@apache.org>
Committed: Thu Sep 7 00:24:03 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/aa48f8e2/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