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 2012/07/23 16:45:53 UTC
svn commit: r1364660 - /incubator/flex/trunk/build.xml
Author: jmclean
Date: Mon Jul 23 14:45:53 2012
New Revision: 1364660
URL: http://svn.apache.org/viewvc?rev=1364660&view=rev
Log:
Changes to enable the SDK to be compiled to locales other than en_US
Modified:
incubator/flex/trunk/build.xml
Modified: incubator/flex/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/build.xml?rev=1364660&r1=1364659&r2=1364660&view=diff
==============================================================================
--- incubator/flex/trunk/build.xml (original)
+++ incubator/flex/trunk/build.xml Mon Jul 23 14:45:53 2012
@@ -39,7 +39,6 @@
<property name="debug" value="true"/>
<property name="strict" value="true"/>
<property name="javac.src" value="1.5"/>
- <property name="target.player" value="11.1"/>
<property name="kit.prefix" value="apache-flex-sdk-${release.version}-incubating"/>
<property name="source.kit" value="${kit.prefix}-src"/>
@@ -231,7 +230,7 @@
-->
<flex-sdk-description>
-<name>${release}</name>
+<name>${release} FP${playerglobal.version} ${locale}</name>
<version>${release.version}</version>
<build>${build.number}</build>
</flex-sdk-description>
@@ -351,13 +350,13 @@
<target name="frameworks" description="Full build of all framework SWCs, including resource bundles and themes">
<ant dir="${basedir}/frameworks">
- <property name="locale" value="en_US"/>
+ <property name="locale" value="${locale}"/>
</ant>
</target>
<target name="framework-compile" description="Recompile framework.swc">
<ant dir="${basedir}/frameworks/projects/framework" target="compile">
- <property name="locale" value="en_US"/>
+ <property name="locale" value="${locale}"/>
</ant>
</target>
@@ -964,7 +963,7 @@
value="${release.version}.${build.number}"/>
</replace>
</sequential>
- </macrodef>
+ </macrodef>
<!--
tar with gzip compression, the temp directory and put it in the out directory.
@@ -1049,8 +1048,8 @@
<!--
Remove these files from the binary kit.
- copylocale looks for bundles and then uses en_US so if there is
- not a en_US sub-directory don't include the bundles directory.
+ copylocale looks for bundles and then uses default locale so if there is
+ not a locale sub-directory don't include the bundles directory.
-->
<delete dir="${basedir}/temp/frameworks/projects" includeEmptyDirs="false">
<include name="airspark/bundles/**"/>
@@ -1062,7 +1061,7 @@
<include name="*/bundles/**/docs/**"/>
<include name="*/bundles/*/*.xml"/>
<include name="*/bundles/*/packages.dita"/>
- <exclude name="*/bundles/en_US"/>
+ <exclude name="*/bundles/{$locale}"/>
</delete>