You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/04/15 03:39:28 UTC

[3/4] git commit: Added build properties target

Added build properties target


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

Branch: refs/heads/develop
Commit: c006da951bc3760a8ef285241f6842a397c2cc89
Parents: 706af9f
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Apr 15 11:33:05 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Apr 15 11:33:05 2013 +1000

----------------------------------------------------------------------
 build.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c006da95/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 54e49bc..9129a1c 100644
--- a/build.xml
+++ b/build.xml
@@ -120,7 +120,7 @@
 	    <property name="build.noprompt" value="set" />
     </target>
 
-    <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description" 
+    <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description,build-properties" 
         description="Stuff that needs to be done before any builds." />
 
     <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-pixelbender-home"
@@ -248,6 +248,12 @@
 &lt;/flex-sdk-description&gt;
         </echo>
     </target>
+	
+	<target name="build-properties">
+        <copy overwrite="false" failonerror="true" verbose="true"
+			file="${basedir}/build.properties.template" 
+            tofile="${basedir}/build.properties" />
+	</target>
 
     <target name="setup-binary-release" depends="thirdparty-clean"
         description="Set properties needed to turn on features for release sdk">