royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] branch packaging updated: fix up config files
Date Mon, 02 Oct 2017 03:30:25 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch packaging
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/packaging by this push:
     new d06eeb2  fix up config files
d06eeb2 is described below

commit d06eeb25d0d32da53da14a53909ad9c2b5b39dbe
Author: Alex Harui <aharui@apache.org>
AuthorDate: Sun Oct 1 20:30:11 2017 -0700

    fix up config files
---
 InstallAdobeSDKs.xml | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 51 insertions(+), 1 deletion(-)

diff --git a/InstallAdobeSDKs.xml b/InstallAdobeSDKs.xml
index 86d3f4c..dcef41d 100644
--- a/InstallAdobeSDKs.xml
+++ b/InstallAdobeSDKs.xml
@@ -336,6 +336,13 @@
         <input
         message="${flash.prompt.text}" />
         
+        <pathconvert property="fpversion">
+            <fileset dir="${download.dir}">
+                <include name="playerglobal*.swc"/>
+            </fileset>
+            <regexpmapper from="playerglobal([0-9]*)_([0-9]*)\.swc" to="\1.\2" />
+        </pathconvert>
+        
         <copy todir="${FLEXJS_HOME}/frameworks/libs/player" overwrite="true">
             <fileset dir="${download.dir}">
                 <include name="playerglobal*.swc" />
@@ -343,7 +350,50 @@
             <regexpmapper from="playerglobal([0-9]*)_([0-9]*)\.swc" to="\1.\2/playerglobal.swc"
/>
         </copy>
         
-        <echo>${INFO_COPIED_FLASH}</echo>
+        <replaceregexp file="${FLEXJS_HOME}/flex-sdk-description.xml"
+            match="FP.*AIR"
+            replace="FP${fpversion} AIR" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/flex-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/flex-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/air-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/air-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/airmobile-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/js-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/js-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/node-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/node-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/jquery-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/jquery-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/createjs-config.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+        <replaceregexp file="${FLEXJS_HOME}/frameworks/createjs-config-template.xml"
+            match="target-player.*target-player"
+            replace="target-player&gt;${fpversion}&lt;target-player" />
+            
+        <echo>${INFO_COPIED_FLASH} ${fpversion}</echo>
         
     </target>
     

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message