You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/06/02 07:04:42 UTC

[2/7] git commit: [flex-asjs] [refs/heads/release0.8.0] - clean up build script

clean up build script


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

Branch: refs/heads/release0.8.0
Commit: 1e6c5fa0513b4875c07038cd6eeedfbc80ce58b7
Parents: d35f6ec
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jun 1 21:52:57 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jun 2 00:04:48 2017 -0700

----------------------------------------------------------------------
 examples/flexjs/MobileTrader/build.xml | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e6c5fa0/examples/flexjs/MobileTrader/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/build.xml b/examples/flexjs/MobileTrader/build.xml
index 8c7ab5f..0e654e6 100644
--- a/examples/flexjs/MobileTrader/build.xml
+++ b/examples/flexjs/MobileTrader/build.xml
@@ -48,28 +48,14 @@
     </condition>
     <property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
 
-    <target name="main" depends="clean,build_example.compile,copyassets,build_example.compile.cordova" description="Clean build of ${example}">
-    </target>
-    
-    <target name="copyassets">
-    	<mkdir dir="${basedir}/bin/js-debug/assets" />
-    	<copy todir="${basedir}/bin/js-debug/assets" >
-            <fileset dir="${basedir}/src/main/resources/assets">
-                <include name="**" />
-            </fileset>
-        </copy>
-        <mkdir dir="${basedir}/bin/js-release/assets" />
-        <copy todir="${basedir}/bin/js-release/assets" >
-            <fileset dir="${basedir}/src/main/resources/assets">
-                <include name="**" />
-            </fileset>
-        </copy>
+    <target name="main" depends="clean,build_example.compile,build_example.copy-js-resources,build_example.compile.cordova" description="Clean build of ${example}">
     </target>
     
     <target name="clean">
         <delete dir="${basedir}/bin" failonerror="false" />
         <delete dir="${basedir}/bin-debug" failonerror="false" />
         <delete dir="${basedir}/bin-release" failonerror="false" />
+        <delete dir="${basedir}/app" failonerror="false" />
         <delete dir="${basedir}/target" failonerror="false" />
     </target>