You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/10/10 21:36:58 UTC

[royale-asjs] branch develop updated: try to fix jsonly package subset from jsswf

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/develop by this push:
     new 17c7d11  try to fix jsonly package subset from jsswf
17c7d11 is described below

commit 17c7d11563ae1e70cad4d6e74920ec68edf17016
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Oct 10 14:36:48 2019 -0700

    try to fix jsonly package subset from jsswf
---
 build.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build.xml b/build.xml
index f8cfcd6..d304517 100644
--- a/build.xml
+++ b/build.xml
@@ -1008,6 +1008,8 @@ limitations under the License.
                 <include name="royale-config.xml"/>
             </fileset>
         </replace>
+        <replaceregexp file="${staging-dir}/frameworks/royale-config.xml" match="(\s+?)&lt;path-element&gt;libs\/[^\.]+\.swc&lt;\/path-element&gt;(\s+?)" replace="" flags ="g"/>
+        <replace file="${staging-dir}/frameworks/royale-config.xml" token="&lt;path-element&gt;libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}&lt;/path-element&gt;" value="&lt;path-element&gt;libs/KeepsFBFromHanging.swc&lt;/path-element&gt;"/>
         <!-- replace npm descriptor with js-only descriptor -->
         <antcall target="create-jsonly-description" />
         <copy file="${basedir}/npm/js-only/package.json" todir="${basedir}/temp" overwrite="true"/>