incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1401765 - /incubator/flex/sdk/branches/develop/mustella/build.xml
Date Wed, 24 Oct 2012 16:29:30 GMT
Author: cframpton
Date: Wed Oct 24 16:29:30 2012
New Revision: 1401765

URL: http://svn.apache.org/viewvc?rev=1401765&view=rev
Log:
Mustella requires embedded fonts.  Check and fail if Adobe's embedded font jars aren't in
lib/external/optional.

Modified:
    incubator/flex/sdk/branches/develop/mustella/build.xml

Modified: incubator/flex/sdk/branches/develop/mustella/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/build.xml?rev=1401765&r1=1401764&r2=1401765&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/build.xml (original)
+++ incubator/flex/sdk/branches/develop/mustella/build.xml Wed Oct 24 16:29:30 2012
@@ -346,6 +346,18 @@
     <echo message="    air.sdk.dir:             ${air.sdk.dir}"/>
     <echo message="    mustella exclude file:   ${exclude_filename}"/> 
 
+    <!-- Check that Adobe's embedded font jars exist and fail if any are missing.  -->
+    <condition property="fonts.exist">
+    <and>
+        <available file="${sdk.dir}/lib/external/optional/afe.jar" />
+        <available file="${sdk.dir}/lib/external/optional/aglj40.jar" />
+        <available file="${sdk.dir}/lib/external/optional/flex-fontkit.jar" />
+        <available file="${sdk.dir}/lib/external/optional/rideau.jar" />
+     </and>
+    </condition>
+    
+    <fail message="Mustella uses embedded fonts.  Please install Adobe's embedded font
support." unless="fonts.exist"/>
+    
     <target name="getExcludeIds" unless="exclude_ids" description="Fetch exclude ids"
>
         <taskdef name="excluder" classname="mustella.GetExcludeIdsTask" classpathref="flex.test.classpath"/>
         <excluder property="exclude_ids" type="${exclude_type}" filename="${exclude_filename}"
branch="${branch_name}" os="${target_os_name}" browser="${browser_name}" apollo="${use_apollo}"
bbrowser="${use_browser}" untilTime="${db_time}" write="false" excludeIds=""/>



Mime
View raw message