flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] - Added check for TLF_HOME
Date Wed, 17 Apr 2013 22:04:41 GMT
Updated Branches:
  refs/heads/develop 6dd0df217 -> e19734c75


Added check for TLF_HOME


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

Branch: refs/heads/develop
Commit: e19734c75dfdbc56f6abf9501769de42c3b3a2e8
Parents: 6dd0df2
Author: Justin Mclean <jmclean@apache.org>
Authored: Thu Apr 18 08:04:24 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Thu Apr 18 08:04:24 2013 +1000

----------------------------------------------------------------------
 build.xml |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e19734c7/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index a96af41..96e0cba 100644
--- a/build.xml
+++ b/build.xml
@@ -133,7 +133,7 @@
     <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description"

         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"
+    <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-pixelbender-home,check-tlf-home"
         description="Check for the required environment variables for compilation.">
             <echo>OS: ${os.name} / ${os.version} / ${os.arch}</echo>
             <echo>VM: ${java.vm.name} / ${java.vm.version}</echo>
@@ -214,6 +214,19 @@
             unless="pbutil.exe.exists"/>
     </target>
 
+    <target name="check-tlf-home" unless="TLF_HOME.set"
+        description="Check TLF_HOME is a directory.">
+        
+        <echo message="TLF_HOME is ${env.TLF_HOME}"/>
+
+        <available file="${env.TLF_HOME}" 
+            type="dir" 
+            property="TLF_HOME.set"/>
+
+        <fail message="TLF_HOME must be set correctly for a release build" 
+            unless="TLF_HOME.set"/>
+    </target>
+
     <target name="check-adobe-extension-manager-env" unless="ADOBE_EXTENSION_MANAGER.set"
         description="Check ADOBE_EXTENSION_MANAGER is a directory.">
         


Mime
View raw message