replace tokens in config files

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

Branch: refs/heads/master
Commit: 563c8e14766ee2b355f5c72ce8ec25c877c4b70c
Parents: 306a2f0
Author: Alex Harui <aha...@apache.org>
Authored: Sun Mar 2 08:42:34 2014 -0800
Committer: Alex Harui <aha...@apache.org>
Committed: Sun Mar 2 08:43:40 2014 -0800

----------------------------------------------------------------------
 installer.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/563c8e14/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index baeecbc..67935b5 100644
--- a/installer.xml
+++ b/installer.xml
@@ -598,6 +598,18 @@
         <antcall target="fixup-config-files-version" />
         <antcall target="fixup-config-files-swfversion" />
         <antcall target="fixup-config-files-locale" />
+        <replace file="${FLEX_HOME}/frameworks/flex-config.xml">
+            <replacefilter token="{playerglobalHome}"
+                value="libs/player"/>
+        </replace>
+        <replace file="${FLEX_HOME}/frameworks/air-config.xml">
+            <replacefilter token="{airHome}/frameworks/libs"
+            value="libs"/>
+        </replace>
+        <replace file="${FLEX_HOME}/frameworks/airmobile-config.xml">
+            <replacefilter token="{airHome}/frameworks/libs"
+            value="libs"/>
+        </replace>
     </target>
     
     <target name="fixup-config-files-version" if="flash.version.changed">

Reply via email to