You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/10/16 19:46:01 UTC

svn commit: r1398898 - /incubator/flex/sdk/branches/develop/frameworks/build_framework.xml

Author: cframpton
Date: Tue Oct 16 17:46:01 2012
New Revision: 1398898

URL: http://svn.apache.org/viewvc?rev=1398898&view=rev
Log:
Add target for textLayout now that it is built from source.

Modified:
    incubator/flex/sdk/branches/develop/frameworks/build_framework.xml

Modified: incubator/flex/sdk/branches/develop/frameworks/build_framework.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/build_framework.xml?rev=1398898&r1=1398897&r2=1398898&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/build_framework.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/build_framework.xml Tue Oct 16 17:46:01 2012
@@ -56,6 +56,7 @@
     <property name="spark.dir" value="${projects.dir}/spark"/>
     <property name="sparkskin.dir" value="${projects.dir}/sparkskins"/>
     <property name="spark_dmv.dir" value="${projects.dir}/spark_dmv"/>
+    <property name="textLayout.dir" value="${projects.dir}/textLayout/3.0.33"/>
 
     <!-- automation -->
     <property name="automation.dir" value="${projects.dir}/automation"/>
@@ -75,9 +76,9 @@
 
     <property name="compc.jvm.args" value="-Xmx384m" />
     
-    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
+    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar;${FLEX_HOME}/lib/flexTasks.jar"/>
 
-    <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv"/>
+    <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,textLayout,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv"/>
 
     <target name="bundles" depends="framework_rb,mx_rb,spark_rb,airframework_rb,airspark_rb,mobilecomponents_rb,rpc_rb,charts_rb,advancedgrids_rb,automation-rbs"/>
     
@@ -858,6 +859,25 @@
             <jvmarg line="${compc.jvm.args}"/>
         </compc>
     </target>
+	
+	<target name="textLayout" description="Builds the textLayout.swc">
+		<compc fork="true"
+			   output="${basedir}/libs/textLayout.swc"
+			   show-actionscript-warnings="false"
+			   compute-digest="true"
+			   include-classes="flashx.textLayout.CoreClasses flashx.textLayout.EditClasses flashx.textLayout.ConversionClasses">
+			<jvmarg line="${compc.jvm.args}"/>
+			<keep-as3-metadata>IMXMLObject</keep-as3-metadata>
+			<include-namespaces uri="library://ns.adobe.com/flashx/textLayout"/>
+			<namespace uri="library://ns.adobe.com/flashx/textLayout" manifest="${textLayout.dir}/manifest.xml"/>
+			<source-path path-element="${textLayout.dir}/src"/>
+			<library-path/>
+			<include-file name="manifest.xml" path="${textLayout.dir}/manifest.xml"/>
+			<static-link-runtime-shared-libraries/>
+			<define name="CONFIG::debug" value="false"/>
+			<define name="CONFIG::release" value="true"/>
+		</compc>
+     </target>
 
     <target name="tool_air" description="Builds the tool_air.swc">
         <compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}" accessible="true"
@@ -987,6 +1007,7 @@
                 <include name="rpc.swc"/>
                 <include name="sparkskins.swc"/>
                 <include name="spark.swc"/>
+                <include name="textLayout.swc"/>
                 <include name="authoringsupport.swc"/>
                 <include name="flash-integration.swc"/>
             </fileset>