incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1403460 - in /incubator/flex/sdk/branches/develop/frameworks/projects: halo/ mobilecomponents/ mobiletheme/ spark/ spark_dmv/ sparkskins/ wireframe/
Date Mon, 29 Oct 2012 18:57:43 GMT
Author: cframpton
Date: Mon Oct 29 18:57:42 2012
New Revision: 1403460

URL: http://svn.apache.org/viewvc?rev=1403460&view=rev
Log:
Work on FLEX-33226.  Patches by Chema Balsas.  Removed output tag from compile-config.xml files since it must be specified on the compc tag itself.

Added:
    incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml   (with props)
    incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml   (with props)
    incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml   (with props)
    incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml   (with props)
    incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml   (with props)
    incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml   (with props)
Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/halo/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/spark/compile-config.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/build.xml

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/halo/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/halo/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/halo/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/halo/build.xml Mon Oct 29 18:57:42 2012
@@ -21,65 +21,54 @@
 
 <project name="halo" default="main" basedir=".">
 
-	<property name="FLEX_HOME" location="${basedir}/../../.."/>
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
 
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
+    <property file="${FLEX_HOME}/build.properties"/>
 
-	<target name="main" depends="clean,compile" description="Clean build of halo.swc"/>
+    <target name="main" depends="clean,compile" description="Clean build of halo.swc"/>
 
-	<target name="clean">
-		<delete failonerror="false">
-			<fileset file="${basedir}/bundles.properties"/>
-			<fileset dir="${FLEX_HOME}/frameworks/themes/Halo">
-				<include name="halo.swc"/>
-				<include name="halo.swc.incr"/>
-			</fileset>
-		</delete>
-	</target>
-
-	<target name="compile" description="Compiles halo.swc">
-		<echo message="Compiling frameworks/themes/Halo/halo.swc"/>
-
-		<!-- Load the <compc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-		<!--
-			This project builds a theme SWC containing the default stylesheet. 
-			It has no MXML tags and therefore no manifest.
-			Compile against framework.swc, but don't link it into halo.swc.
-			Link in accessibility support.
-			Don't put any resources into the SWC. (The classes don't require any.)
-			Write a bundle list of referenced resource bundles
-			into the file bundles.properties in this directory.
-			(This should be an empty list.)
-		-->
-		<compc fork="true"
-			   output="${FLEX_HOME}/frameworks/themes/Halo/halo.swc"
-			   resource-bundle-list="${basedir}/bundles.properties">
-            <target-player>${playerglobal.version}</target-player>
-			<jvmarg line="${compc.jvm.args}"/>
-			<library-path/>
-            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
-                <include name="${playerglobal.version}/playerglobal.swc"/>
-            </external-library-path>
-            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc"/>
-				<include name="mx/mx.swc"/>
-	                  <include name="textLayout.swc"/>
-			</external-library-path>
-			<include-file name="defaults.css" path="${basedir}/defaults.css"/>
-			<locale/>
-			<accessible>true</accessible>
-		</compc>
-	</target>
-
-	<target name="doc" depends="clean-temp-docs" description="updates halo.swc with asdoc xml">
-	</target>
-
-	<target name="clean-temp-docs">
-		<delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
-	</target>
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset file="${basedir}/bundles.properties"/>
+            <fileset dir="${FLEX_HOME}/frameworks/themes/Halo">
+                <include name="halo.swc"/>
+                <include name="halo.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+
+    <target name="compile" description="Compiles halo.swc">
+        <echo message="Compiling frameworks/themes/Halo/halo.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            This project builds a theme SWC containing the default stylesheet. 
+            It has no MXML tags and therefore no manifest.
+            Compile against framework.swc, but don't link it into halo.swc.
+            Link in accessibility support.
+            Don't put any resources into the SWC. (The classes don't require any.)
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+            (This should be an empty list.)
+        -->
+        <compc fork="true"
+               output="${FLEX_HOME}/frameworks/themes/Halo/halo.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+    </target>
+
+    <target name="doc" depends="clean-temp-docs" description="updates halo.swc with asdoc xml">
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
 
 </project>

Added: incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,46 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/mx/mx.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <locale/>
+        
+        <library-path/>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-file>
+        <name>defaults.css</name>
+        <path>defaults.css</path>
+    </include-file> 
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/halo/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/build.xml Mon Oct 29 18:57:42 2012
@@ -25,7 +25,7 @@
 
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
+    <property file="${FLEX_HOME}/build.properties"/>
 
         <macrodef name="bundle">
             <attribute name="locale"/>
@@ -102,9 +102,9 @@
     <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
     <target name="bundles">
         <!-- these languages do not have localized docs-->
-		<bundler locale="en_AU"/><!-- Australian resources -->
-		<bundler locale="en_GB"/><!-- United Kingdom resources -->
-		<bundler locale="en_CA"/><!-- Canadian resources -->
+        <bundler locale="en_AU"/><!-- Australian resources -->
+        <bundler locale="en_GB"/><!-- United Kingdom resources -->
+        <bundler locale="en_CA"/><!-- Canadian resources -->
         <bundler locale="da_DK"/><!-- Danish resources -->
         <bundler locale="de_DE"><!-- German resources -->
             <run.fat.swc>
@@ -141,7 +141,7 @@
             </run.fat.swc>
         </bundler>
         <bundler locale="zh_TW"/><!-- Traditional Chinese resources -->
-    	<bundler locale="el_GR"/><!-- Greek Language  resources -->
+        <bundler locale="el_GR"/><!-- Greek Language  resources -->
     </target>
     
     <target name="clean" depends="bundles-clean">
@@ -168,7 +168,7 @@
 
     <target name="compile" description="Compiles mobilecomponents.swc">
         <echo message="Compiling frameworks/libs/mobile/mobilecomponents.swc"/>
-		<echo message="Using ${env.AIR_HOME}/frameworks/libs/air/airglobal.swc" level="info"/>
+        <echo message="Using ${env.AIR_HOME}/frameworks/libs/air/airglobal.swc" level="info"/>
 
         <!-- Load the <compc> task. We can't do this at the <project> level -->
         <!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -186,26 +186,12 @@
             Write a bundle list of referenced resource bundles
             into the file bundles.properties in this directory.
         -->
-        <compc fork="true" include-classes="MobileComponentsClasses spark.transitions.FlipViewTransitionMode spark.transitions.ZoomViewTransitionMode"
-               output="${FLEX_HOME}/frameworks/libs/mobile/mobilecomponents.swc"
-               resource-bundle-list="${basedir}/bundles.properties">
-            <target-player>${playerglobal.version}</target-player>
+        <compc fork="true"
+               output="${FLEX_HOME}/frameworks/libs/mobile/mobilecomponents.swc">
             <jvmarg line="${compc.jvm.args}"/>
-            <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/manifest.xml"/>
-            <include-namespaces uri="library://ns.adobe.com/flex/spark"/>
-            <source-path path-element="${basedir}/src"/>
-            <library-path/>
-            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-                <include name="framework.swc"/>
-                <include name="spark.swc"/>
-                <include name="textLayout.swc"/>
-            </external-library-path>
-            <external-library-path dir="${env.AIR_HOME}/frameworks/libs/air">
-                <include name="airglobal.swc"/>
-            </external-library-path>
-            <locale/>
-                <keep-as3-metadata name="SkinPart"/>
-                <accessible>true</accessible>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
         </compc>
     </target>
     

Added: incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,66 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <keep-as3-metadata>
+            <name>SkinPart</name>
+        </keep-as3-metadata>
+        
+        <locale/>
+        
+        <library-path/>
+        
+        <namespaces>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/spark</uri>
+                <manifest>manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>MobileComponentsClasses</class>
+        <class>spark.transitions.FlipViewTransitionMode</class>
+        <class>spark.transitions.ZoomViewTransitionMode</class>
+    </include-classes>
+    
+    <include-namespaces>
+        <uri>library://ns.adobe.com/flex/spark</uri>
+    </include-namespaces>  
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/mobilecomponents/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/build.xml Mon Oct 29 18:57:42 2012
@@ -21,114 +21,99 @@
 
 <project name="mobiletheme" default="main" basedir=".">
 
-	<property name="FLEX_HOME" location="${basedir}/../../.."/>
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
 
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
+    <property file="${FLEX_HOME}/build.properties"/>
 
-	<target name="main" depends="clean,compile" description="Clean build of mobile.swc"/>
+    <target name="main" depends="clean,compile" description="Clean build of mobile.swc"/>
 
-	<target name="clean">
-		<delete failonerror="false">
-			<fileset file="${basedir}/bundles.properties"/>
-			<fileset dir="${FLEX_HOME}/frameworks/themes/Mobile">
-				<include name="mobile.swc"/>
-				<include name="mobile.swc.incr"/>
-			</fileset>
-		</delete>
-	</target>
-
-	<target name="compile" description="Compiles mobile.swc">
-		<echo message="Compiling frameworks/themes/Mobile/mobile.swc"/>
-
-		<!-- Load the <compc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-		<!--
-			This project builds a theme SWC containing skin classes.
-			It has no MXML tags and therefore no manifest.
-			Link in the classes (and their dependencies)
-			listed in MobileThemeClasses.as.
-			Compile against framework.swc, but don't link it into mobile.swc.
-			Link in accessibility support.
-			Include various CSS and asset files in the SWC.
-			Don't put any resources into the SWC. (The classes don't require any.)
-			Write a bundle list of referenced resource bundles
-			into the file bundles.properties in this directory.
-			(This should be an empty list.)
-		-->
-		<compc fork="true"
-			   output="${FLEX_HOME}/frameworks/themes/Mobile/mobile.swc"
-			   resource-bundle-list="${basedir}/bundles.properties">
-            <target-player>10</target-player>
-			<jvmarg line="${compc.jvm.args}"/>
-			<include-classes>MobileThemeClasses</include-classes>
-			<source-path path-element="${basedir}/src"/>
-			<library-path/>
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset file="${basedir}/bundles.properties"/>
+            <fileset dir="${FLEX_HOME}/frameworks/themes/Mobile">
+                <include name="mobile.swc"/>
+                <include name="mobile.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+
+    <target name="compile" description="Compiles mobile.swc">
+        <echo message="Compiling frameworks/themes/Mobile/mobile.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            This project builds a theme SWC containing skin classes.
+            It has no MXML tags and therefore no manifest.
+            Link in the classes (and their dependencies)
+            listed in MobileThemeClasses.as.
+            Compile against framework.swc, but don't link it into mobile.swc.
+            Link in accessibility support.
+            Include various CSS and asset files in the SWC.
+            Don't put any resources into the SWC. (The classes don't require any.)
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+            (This should be an empty list.)
+        -->
+        <compc fork="true"
+               output="${FLEX_HOME}/frameworks/themes/Mobile/mobile.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+    </target>
+
+    <target name="doc" depends="clean-temp-docs" description="updates mobile.swc with asdoc xml">
+        <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+        <condition property="asdoc.jvm.args" value="-Xmx384m">
+            <os family="windows"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="mac"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="unix"/>
+        </condition>
+
+        <!-- Call asdoc to generate dita xml files -->
+        <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+            <compiler.source-path path-element="${basedir}/src"/>
+            <doc-classes class="MobileThemeClasses"/>
             <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
                 <include name="${playerglobal.version}/playerglobal.swc"/>
             </external-library-path>
             <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc"/>
-				<include name="spark.swc"/>
-                <include name="textLayout.swc"/>
-			</external-library-path>
-			<external-library-path dir="${FLEX_HOME}/frameworks/libs/mobile">
-			    <include name="mobilecomponents.swc" />
-			</external-library-path>
-			<include-file name="defaults.css" path="${basedir}/defaults.css"/>
-			<locale/>
-			<accessible>false</accessible>
-		</compc>
-	</target>
-
-	<target name="doc" depends="clean-temp-docs" description="updates mobile.swc with asdoc xml">
-		<!-- Load the <asdoc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx384m">
-	        <os family="windows"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="mac"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="unix"/>
-	    </condition>
-
-		<!-- Call asdoc to generate dita xml files -->
-		<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
-			<compiler.source-path path-element="${basedir}/src"/>
-			<doc-classes class="MobileThemeClasses"/>
-            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
-                <include name="${playerglobal.version}/playerglobal.swc"/>
+                <include name="framework.swc" />
+                <include name="spark.swc" />
             </external-library-path>
-			<external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc" />
-				<include name="spark.swc" />
-			</external-library-path>
-			<external-library-path dir="${FLEX_HOME}/frameworks/libs/mobile">
-			    <include name="mobilecomponents.swc" />
-			</external-library-path>
-			<jvmarg line="${asdoc.jvm.args}"/>
-		</asdoc>
-
-		<!-- updates mobile.swc with asdoc xml -->
-		<zip destfile="${FLEX_HOME}/frameworks/themes/Mobile/mobile.swc" update="true">
-		    <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
-			    <include name="*.*"/>
-				<exclude name="ASDoc_Config.xml"/>
-				<exclude name="overviews.xml"/>
-		    </zipfileset>
-		</zip>
-	</target>
-
-	<target name="clean-temp-docs">
-		<delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
-	</target>
+            <external-library-path dir="${FLEX_HOME}/frameworks/libs/mobile">
+                <include name="mobilecomponents.swc" />
+            </external-library-path>
+            <jvmarg line="${asdoc.jvm.args}"/>
+        </asdoc>
+
+        <!-- updates mobile.swc with asdoc xml -->
+        <zip destfile="${FLEX_HOME}/frameworks/themes/Mobile/mobile.swc" update="true">
+            <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+                <include name="*.*"/>
+                <exclude name="ASDoc_Config.xml"/>
+                <exclude name="overviews.xml"/>
+            </zipfileset>
+        </zip>
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
 
 </project>

Added: incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,51 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+            <path-element>../../libs/mobile/mobilecomponents.swc</path-element>
+        </external-library-path>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>MobileThemeClasses</class>
+    </include-classes>
+    
+    <include-file>
+        <name>defaults.css</name>
+        <path>defaults.css</path>
+    </include-file>
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/mobiletheme/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/spark/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/spark/compile-config.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/spark/compile-config.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/spark/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -80,8 +80,6 @@
         <uri>library://ns.adobe.com/flex/spark</uri>
     </include-namespaces>  
     
-    <output>../../libs/spark.swc</output>
-    
     <resource-bundle-list>bundles.properties</resource-bundle-list>
     
     <target-player>${playerglobal.version}</target-player>

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/build.xml Mon Oct 29 18:57:42 2012
@@ -20,110 +20,94 @@
 
 
 <project name="spark_dmv" default="main" basedir=".">
-	<property name="FLEX_HOME" location="${basedir}/../../.."/>
-	
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
+    
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
-		
-	<target name="main" depends="clean,compile" description="Clean build of spark_dmv.swc and en_US"/>
-		
-	<target name="clean">
-		<delete failonerror="false">
-			<fileset dir="${basedir}" >
-				<include name="bundles.properties"/>
-			</fileset>
-			<fileset dir="${FLEX_HOME}/frameworks/libs">
-				<include name="spark_dmv.swc"/>
-				<include name="spark_dmv.swc.incr"/>
-			</fileset>
-		</delete>
-	</target>
-	
-	<target name="compile" description="Compiles spark_dmv.swc">
-		<echo file="${FLEX_HOME}/frameworks/version.properties" append="false">build=${build.number}</echo>
-		<echo message="Compiling frameworks/libs/spark_dmv.swc"/>
-
-		<!-- Load the <compc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-		<!--
-			Link in the classes (and their dependencies) for the MXML tags
-			listed in this project's manifest_spark_dmv.xml.
-			Also link the additional classes (and their dependencies)
-			listed in SparkDmvClasses.as,
-			because these aren't referenced by the manifest classes.
-			Link in accessibility support.
-			Include the appropriate CSS files and assets in the SWC.
-			Don't include any resources in the SWC.
-			Write a bundle list of referenced resource bundles
-			into the file bundles.properties in this directory.
-		-->
-		<compc fork="true" minimum-supported-version="4.0.0"
-			   output="${FLEX_HOME}/frameworks/libs/spark_dmv.swc"
-			   resource-bundle-list="${basedir}/bundles.properties">
-			<jvmarg line="${compc.jvm.args}"/>
-			<namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/manifest_spark_dmv.xml"/>
-			<include-namespaces uri="library://ns.adobe.com/flex/spark"/>
-			<include-classes>SparkDmvClasses</include-classes>
-			<source-path path-element="${basedir}/src"/>
-			<library-path />
-            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
-                <include name="${playerglobal.version}/playerglobal.swc"/>
-            </external-library-path>
-			<external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc"/>
-				<include name="spark.swc"/>
-				<include name="mx/mx.swc"/>
-				<include name="advancedgrids.swc"/>
-                <include name="textLayout.swc"/>
-			</external-library-path>
-			<include-file name="version.properties" path="${FLEX_HOME}/frameworks/version.properties"/>
-			<locale/>
-			<accessible>true</accessible>
-		</compc>
-		<delete file="${FLEX_HOME}/frameworks/version.properties"/>
-     	</target>
-	
-	<target name="doc" depends="clean-temp-docs" description="updates spark_dmv.swc with asdoc xml">
-		<!-- Load the <asdoc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx384m">
-	        <os family="windows"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="mac"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="unix"/>
-	    </condition>
-
-		<!-- Call asdoc to generate dita xml files -->
-		<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
-		    <compiler.source-path path-element="${basedir}/src"/>
-		    <doc-classes class="SparkDmvClasses"/>
-		    <doc-namespaces uri="library://ns.adobe.com/flex/spark"/>
-			<namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/manifest_spark_dmv.xml"/>
-		    <jvmarg line="${asdoc.jvm.args}"/>
-		</asdoc>
-
-		<!-- updates spark_dmv.swc with asdoc xml -->
-		<zip destfile="${FLEX_HOME}/frameworks/libs/spark_dmv.swc" update="true">
-		    <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
-			    <include name="*.*"/>
-				<exclude name="ASDoc_Config.xml"/>
-				<exclude name="overviews.xml"/>
-		    </zipfileset>
-		</zip>
-	</target>
-
-	<target name="clean-temp-docs">
-		<delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
-	</target>
+    <property file="${FLEX_HOME}/build.properties"/>
+        
+    <target name="main" depends="clean,compile" description="Clean build of spark_dmv.swc and en_US"/>
+        
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${basedir}" >
+                <include name="bundles.properties"/>
+            </fileset>
+            <fileset dir="${FLEX_HOME}/frameworks/libs">
+                <include name="spark_dmv.swc"/>
+                <include name="spark_dmv.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <target name="compile" description="Compiles spark_dmv.swc">
+        <echo file="${FLEX_HOME}/frameworks/version.properties" append="false">build=${build.number}</echo>
+        <echo message="Compiling frameworks/libs/spark_dmv.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            Link in the classes (and their dependencies) for the MXML tags
+            listed in this project's manifest_spark_dmv.xml.
+            Also link the additional classes (and their dependencies)
+            listed in SparkDmvClasses.as,
+            because these aren't referenced by the manifest classes.
+            Link in accessibility support.
+            Include the appropriate CSS files and assets in the SWC.
+            Don't include any resources in the SWC.
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+        -->
+        <compc fork="true"
+               output="${FLEX_HOME}/frameworks/libs/spark_dmv.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+        <delete file="${FLEX_HOME}/frameworks/version.properties"/>
+        </target>
+    
+    <target name="doc" depends="clean-temp-docs" description="updates spark_dmv.swc with asdoc xml">
+        <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+        <condition property="asdoc.jvm.args" value="-Xmx384m">
+            <os family="windows"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="mac"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="unix"/>
+        </condition>
+
+        <!-- Call asdoc to generate dita xml files -->
+        <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+            <compiler.source-path path-element="${basedir}/src"/>
+            <doc-classes class="SparkDmvClasses"/>
+            <doc-namespaces uri="library://ns.adobe.com/flex/spark"/>
+            <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/manifest_spark_dmv.xml"/>
+            <jvmarg line="${asdoc.jvm.args}"/>
+        </asdoc>
+
+        <!-- updates spark_dmv.swc with asdoc xml -->
+        <zip destfile="${FLEX_HOME}/frameworks/libs/spark_dmv.swc" update="true">
+            <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+                <include name="*.*"/>
+                <exclude name="ASDoc_Config.xml"/>
+                <exclude name="overviews.xml"/>
+            </zipfileset>
+        </zip>
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
 
 </project>
 

Added: incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,69 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/mx/mx.swc</path-element>
+            <path-element>../../libs/advancedgrids.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <mxml>
+            <minimum-supported-version>4.0.0</minimum-supported-version>
+        </mxml>
+        
+        <locale/>
+        
+        <library-path/>
+
+        <namespaces>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/spark</uri>
+                <manifest>manifest_spark_dmv.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>SparkDmvClasses</class>
+    </include-classes>
+    
+    <include-file>
+        <name>version.properties</name>
+        <path>../../version.properties</path>
+    </include-file>
+    
+    <include-namespaces>
+        <uri>library://ns.adobe.com/flex/spark</uri>
+    </include-namespaces>  
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>    
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/spark_dmv/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/build.xml Mon Oct 29 18:57:42 2012
@@ -21,107 +21,96 @@
 
 <project name="sparkskins" default="main" basedir=".">
 
-	<property name="FLEX_HOME" location="${basedir}/../../.."/>
-	
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
+    
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
+    <property file="${FLEX_HOME}/build.properties"/>
 
-	<target name="main" depends="clean,compile" description="Clean build of sparkskins.swc"/>
+    <target name="main" depends="clean,compile" description="Clean build of sparkskins.swc"/>
 
-	<target name="clean">
-		<delete failonerror="false">
-			<fileset file="${basedir}/bundles.properties"/>
-			<fileset dir="${FLEX_HOME}/frameworks/libs">
-				<include name="sparkskins.swc"/>
-				<include name="sparkskins.swc.incr"/>
-			</fileset>
-		</delete>
-	</target>
-
-	<target name="compile" description="Compiles sparkskins.swc">
-		<echo message="Compiling frameworks/libs/sparkskins.swc"/>
-
-		<!-- Load the <compc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-		<!--
-			This project builds a theme SWC containing skin classes.
-			It has no MXML tags and therefore no manifest.
-			Link in the classes (and their dependencies)
-			listed in SparkSkinsClasses.as.
-			Compile against framework.swc, but don't link it into sparkskins.swc.
-			Link in accessibility support.
-			Include various CSS and asset files in the SWC.
-			Don't put any resources into the SWC. (The classes don't require any.)
-			Write a bundle list of referenced resource bundles
-			into the file bundles.properties in this directory.
-			(This should be an empty list.)
-		-->
-		<compc fork="true" 
-			   output="${FLEX_HOME}/frameworks/libs/sparkskins.swc"
-			   resource-bundle-list="${basedir}/bundles.properties">
-            <target-player>${playerglobal.version}</target-player>
-			<jvmarg line="${compc.jvm.args}"/>
-			<include-classes>SparkSkinsClasses</include-classes>
-			<source-path path-element="${basedir}/src"/>
-			<library-path/>
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset file="${basedir}/bundles.properties"/>
+            <fileset dir="${FLEX_HOME}/frameworks/libs">
+                <include name="sparkskins.swc"/>
+                <include name="sparkskins.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+
+    <target name="compile" description="Compiles sparkskins.swc">
+        <echo message="Compiling frameworks/libs/sparkskins.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            This project builds a theme SWC containing skin classes.
+            It has no MXML tags and therefore no manifest.
+            Link in the classes (and their dependencies)
+            listed in SparkSkinsClasses.as.
+            Compile against framework.swc, but don't link it into sparkskins.swc.
+            Link in accessibility support.
+            Include various CSS and asset files in the SWC.
+            Don't put any resources into the SWC. (The classes don't require any.)
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+            (This should be an empty list.)
+        -->
+        <compc fork="true" 
+               output="${FLEX_HOME}/frameworks/libs/sparkskins.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+    </target>
+
+    <target name="doc" depends="clean-temp-docs" description="updates sparkskins.swc with asdoc xml">
+        <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+        <condition property="asdoc.jvm.args" value="-Xmx384m">
+            <os family="windows"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="mac"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="unix"/>
+        </condition>
+
+        <!-- Call asdoc to generate dita xml files -->
+        <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" >
+            <compiler.source-path path-element="${basedir}/src"/>
+            <doc-classes class="SparkSkinsClasses"/>
             <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
                 <include name="${playerglobal.version}/playerglobal.swc"/>
             </external-library-path>
             <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc"/>
-				<include name="spark.swc" />
-                <include name="textLayout.swc"/>
-			</external-library-path>
-			<locale/>
-			<accessible>true</accessible>
-		</compc>
-	</target>
-
-	<target name="doc" depends="clean-temp-docs" description="updates sparkskins.swc with asdoc xml">
-		<!-- Load the <asdoc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx384m">
-	        <os family="windows"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="mac"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="unix"/>
-	    </condition>
-
-		<!-- Call asdoc to generate dita xml files -->
-		<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" >
-		    <compiler.source-path path-element="${basedir}/src"/>
-		    <doc-classes class="SparkSkinsClasses"/>
-            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
-                <include name="${playerglobal.version}/playerglobal.swc"/>
+                <include name="framework.swc" />
+                <include name="spark.swc" />
             </external-library-path>
-		    <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-		    	<include name="framework.swc" />
-				<include name="spark.swc" />
-		    </external-library-path>
-		    <jvmarg line="${asdoc.jvm.args}"/>
-		</asdoc>
-
-		<!-- updates sparkskins.swc with asdoc xml -->
-		<zip destfile="${FLEX_HOME}/frameworks/libs/sparkskins.swc" update="true">
-		    <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
-			    <include name="*.*"/>
-				<exclude name="ASDoc_Config.xml"/>
-				<exclude name="overviews.xml"/>
-		    </zipfileset>
-		</zip>
-	</target>
-
-	<target name="clean-temp-docs">
-		<delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
-	</target>
+            <jvmarg line="${asdoc.jvm.args}"/>
+        </asdoc>
+
+        <!-- updates sparkskins.swc with asdoc xml -->
+        <zip destfile="${FLEX_HOME}/frameworks/libs/sparkskins.swc" update="true">
+            <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+                <include name="*.*"/>
+                <exclude name="ASDoc_Config.xml"/>
+                <exclude name="overviews.xml"/>
+            </zipfileset>
+        </zip>
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
 
 </project>

Added: incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,49 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <locale/>
+        
+        <library-path/>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>SparkSkinsClasses</class>
+    </include-classes>
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/sparkskins/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/build.xml?rev=1403460&r1=1403459&r2=1403460&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/build.xml Mon Oct 29 18:57:42 2012
@@ -21,113 +21,97 @@
 
 <project name="wireframe" default="main" basedir=".">
 
-	<property name="FLEX_HOME" location="${basedir}/../../.."/>
-	
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
+    
     <property file="${FLEX_HOME}/env.properties"/>
     <property environment="env"/>
-	<property file="${FLEX_HOME}/build.properties"/>
+    <property file="${FLEX_HOME}/build.properties"/>
 
-	<target name="main" depends="clean,compile" description="Clean build of wireframe.swc"/>
+    <target name="main" depends="clean,compile" description="Clean build of wireframe.swc"/>
 
-	<target name="clean">
-		<delete failonerror="false">
-			<fileset file="${basedir}/bundles.properties"/>
-			<fileset dir="${FLEX_HOME}/frameworks/themes/Wireframe">
-				<include name="wireframe.swc"/>
-				<include name="wireframe.swc.incr"/>
-			</fileset>
-		</delete>
-	</target>
-
-	<target name="compile" description="Compiles wireframe.swc">
-		<echo message="Compiling frameworks/themes/Wireframe/wireframe.swc"/>
-
-		<!-- Load the <compc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-		<!--
-			This project builds a theme SWC containing skin classes.
-			It has no MXML tags and therefore no manifest.
-			Link in the classes (and their dependencies)
-			listed in WireframeClasses.as.
-			Compile against framework.swc, but don't link it into wireframe.swc.
-			Link in accessibility support.
-			Include various CSS and asset files in the SWC.
-			Don't put any resources into the SWC. (The classes don't require any.)
-			Write a bundle list of referenced resource bundles
-			into the file bundles.properties in this directory.
-			(This should be an empty list.)
-		-->
-		<compc fork="true"
-			   output="${FLEX_HOME}/frameworks/themes/Wireframe/wireframe.swc"
-			   resource-bundle-list="${basedir}/bundles.properties">
-            <target-player>${playerglobal.version}</target-player>
-			<jvmarg line="${compc.jvm.args}"/>
-			<include-classes>WireframeClasses</include-classes>
-			<source-path path-element="${basedir}/src"/>
-			<library-path/>
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset file="${basedir}/bundles.properties"/>
+            <fileset dir="${FLEX_HOME}/frameworks/themes/Wireframe">
+                <include name="wireframe.swc"/>
+                <include name="wireframe.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+
+    <target name="compile" description="Compiles wireframe.swc">
+        <echo message="Compiling frameworks/themes/Wireframe/wireframe.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            This project builds a theme SWC containing skin classes.
+            It has no MXML tags and therefore no manifest.
+            Link in the classes (and their dependencies)
+            listed in WireframeClasses.as.
+            Compile against framework.swc, but don't link it into wireframe.swc.
+            Link in accessibility support.
+            Include various CSS and asset files in the SWC.
+            Don't put any resources into the SWC. (The classes don't require any.)
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+            (This should be an empty list.)
+        -->
+        <compc fork="true"
+               output="${FLEX_HOME}/frameworks/themes/Wireframe/wireframe.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+    </target>
+
+    <target name="doc" depends="clean-temp-docs" description="updates wireframe.swc with asdoc xml">
+        <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+        <condition property="asdoc.jvm.args" value="-Xmx384m">
+            <os family="windows"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="mac"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="unix"/>
+        </condition>
+
+        <!-- Call asdoc to generate dita xml files -->
+        <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+            <compiler.source-path path-element="${basedir}/src"/>
+            <doc-classes class="WireframeClasses"/>
             <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
                 <include name="${playerglobal.version}/playerglobal.swc"/>
-			</external-library-path>
+            </external-library-path>
             <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc"/>
-				<include name="mx/mx.swc"/>
-				<include name="spark.swc"/>
-				<include name="airspark.swc"/>
-                <include name="textLayout.swc"/>
-			</external-library-path>
-			<include-file name="defaults.css" path="${basedir}/defaults.css"/>
-			<include-file name="assets/Tree_folderClosedIcon.png" path="${basedir}/assets/Tree_folderClosedIcon.png"/>
-			<include-file name="assets/Tree_folderOpenIcon.png" path="${basedir}/assets/Tree_folderOpenIcon.png"/>
-			<locale/>
-			<accessible>true</accessible>
-		</compc>
-	</target>
-
-	<target name="doc" depends="clean-temp-docs" description="updates wireframe.swc with asdoc xml">
-		<!-- Load the <asdoc> task. We can't do this at the <project> level -->
-		<!-- because targets that run before flexTasks.jar gets built would fail. -->
-		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx384m">
-	        <os family="windows"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="mac"/>
-	    </condition>
-
-	    <condition property="asdoc.jvm.args" value="-Xmx512m">
-	        <os family="unix"/>
-	    </condition>
-
-		<!-- Call asdoc to generate dita xml files -->
-		<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
-			<compiler.source-path path-element="${basedir}/src"/>
-			<doc-classes class="WireframeClasses"/>
-            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
-                <include name="${playerglobal.version}/playerglobal.swc"/>
+                <include name="framework.swc" />
+                <include name="mx/mx.swc"/>
+                <include name="spark.swc" />
             </external-library-path>
-			<external-library-path dir="${FLEX_HOME}/frameworks/libs">
-				<include name="framework.swc" />
-				<include name="mx/mx.swc"/>
-				<include name="spark.swc" />
-			</external-library-path>
-			<jvmarg line="${asdoc.jvm.args}"/>
-		</asdoc>
-
-		<!-- updates wireframe.swc with asdoc xml -->
-		<zip destfile="${FLEX_HOME}/frameworks/themes/Wireframe/wireframe.swc" update="true">
-		    <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
-			    <include name="*.*"/>
-				<exclude name="ASDoc_Config.xml"/>
-				<exclude name="overviews.xml"/>
-		    </zipfileset>
-		</zip>
-	</target>
-
-	<target name="clean-temp-docs">
-		<delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
-	</target>
+            <jvmarg line="${asdoc.jvm.args}"/>
+        </asdoc>
+
+        <!-- updates wireframe.swc with asdoc xml -->
+        <zip destfile="${FLEX_HOME}/frameworks/themes/Wireframe/wireframe.swc" update="true">
+            <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+                <include name="*.*"/>
+                <exclude name="ASDoc_Config.xml"/>
+                <exclude name="overviews.xml"/>
+            </zipfileset>
+        </zip>
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
 
 </project>

Added: incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml?rev=1403460&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml (added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml Mon Oct 29 18:57:42 2012
@@ -0,0 +1,64 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/mx/mx.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/air/airspark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <locale/>
+        
+        <library-path/>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>WireframeClasses</class>
+    </include-classes>
+
+    <include-file>
+        <name>defaults.css</name>
+        <path>defaults.css</path>
+    </include-file>
+    <include-file>
+        <name>assets/Tree_folderClosedIcon.png</name>
+        <path>assets/Tree_folderClosedIcon.png</path>
+    </include-file>
+    <include-file>
+        <name>assets/Tree_folderOpenIcon.png</name>
+        <path>assets/Tree_folderOpenIcon.png</path>
+    </include-file>
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/frameworks/projects/wireframe/compile-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message