flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/3] git commit: [flex-utilities] [refs/heads/develop] - add some debug launching to build script
Date Tue, 14 Jan 2014 23:06:39 GMT
Updated Branches:
  refs/heads/develop 1b8655c04 -> a1265c5ae


add some debug launching to build script


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/22a60823
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/22a60823
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/22a60823

Branch: refs/heads/develop
Commit: 22a6082381821f2ad0f3daf7ec9d1df39030076c
Parents: 1b8655c
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 10 12:38:31 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jan 14 15:06:32 2014 -0800

----------------------------------------------------------------------
 installer/build.xml | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/22a60823/installer/build.xml
----------------------------------------------------------------------
diff --git a/installer/build.xml b/installer/build.xml
index 5d84a4a..bbc0d88 100644
--- a/installer/build.xml
+++ b/installer/build.xml
@@ -52,6 +52,22 @@
         <os family="unix"/>
     </condition>
 
+    <condition property="adl" value="adl.exe">
+        <os family="windows"/>
+    </condition>
+
+    <condition property="adl" value="adl">
+        <os family="mac"/>
+    </condition>
+
+    <condition property="runtime" value="win">
+        <os family="windows"/>
+    </condition>
+
+    <condition property="runtime" value="mac">
+        <os family="mac"/>
+    </condition>
+
     <!--
         Properties are immutable so value frozen first time property is set.
         If AIR_HOME is not set on the command line with -DAIR_HOME=/path/to/air/sdk on the
@@ -148,7 +164,7 @@
         <delete file="${basedir}/rat.report" failOnError="false"/>
     </target>
 
-    <target name="cleanup" description="Cleans up old files.">
+    <target name="cleanup" description="Cleans up old files." unless="no.cleanup">
         <delete dir="${BUILD_DIR}" failOnError="false" includeEmptyDirs="true" />
     </target>
 
@@ -520,4 +536,17 @@
 		</exec>
 	</target>
 
+    <target name="debug" >
+        <copy file="${SOURCE_DIR}/${APP_NAME}-app.xml" todir="${BUILD_DIR}" />
+        <mkdir dir="${BUILD_DIR}/installer" />
+        <copy file="${SOURCE_DIR}/installer/sdk-installer-config-4.0.xml" todir="${BUILD_DIR}/installer"
/>
+        <exec executable="${AIR_HOME}/bin/${adl}" dir="${BUILD_DIR}" failonerror="true">
+            <arg value="-runtime" />
+            <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
+            <arg value="${BUILD_DIR}/${APP_NAME}-app.xml" />
+            <arg value="--" />
+            <arg value="-config=installer/sdk-installer-config-4.0.xml" />
+        </exec>
+    </target>
+
 </project>


Mime
View raw message