You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/08/31 20:47:28 UTC

[royale-asjs] branch develop updated: this seems to fix playerglobal.swc in maven build distribution SDK, but still Flash classes are not found

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

carlosrovira 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 f86cdea  this seems to fix playerglobal.swc in maven build distribution SDK, but still Flash classes are not found
f86cdea is described below

commit f86cdea85d8abbdb8aa540d7d4e1efda86866ed2
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Aug 31 22:47:23 2018 +0200

    this seems to fix playerglobal.swc in maven build distribution SDK, but still Flash classes are not found
---
 distribution/pom.xml                                                | 4 ++++
 distribution/src/main/resources/frameworks/flex-config-template.xml | 4 ++--
 distribution/src/main/resources/frameworks/flex-config.xml          | 4 ++--
 examples/royale/ASDoc/src/main/config/asdoc-js-config.xml           | 2 +-
 examples/royale/ASDoc/src/main/config/asdoc-swf-config.xml          | 2 +-
 examples/royale/Flex2Royale/src/main/config/asdoc-config.xml        | 2 +-
 frameworks/asdoc-config.xml                                         | 2 +-
 frameworks/flex-config-template.xml                                 | 4 ++--
 frameworks/royale-config-template.xml                               | 4 ++--
 9 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index 544912e..7858296 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -37,6 +37,10 @@
     <distributionFileName>apache-royale-${project.version}</distributionFileName>
     <timestamp>${maven.build.timestamp}</timestamp>
     <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
+    
+    <playerglobalHome>libs/player</playerglobalHome>
+    <targetPlayerMajorVersion>20</targetPlayerMajorVersion>
+    <targetPlayerMinorVersion>0</targetPlayerMinorVersion>
   </properties>
 
   <modules>
diff --git a/distribution/src/main/resources/frameworks/flex-config-template.xml b/distribution/src/main/resources/frameworks/flex-config-template.xml
index 9d68460..16a9267 100644
--- a/distribution/src/main/resources/frameworks/flex-config-template.xml
+++ b/distribution/src/main/resources/frameworks/flex-config-template.xml
@@ -70,7 +70,7 @@
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
       <swf-external-library-path>
-          <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+          <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}/playerglobal.swc</path-element>
       </swf-external-library-path>
 
       <!-- List of SWC files or directories to compile against but to omit from -->
@@ -94,7 +94,7 @@
       <!-- List of SWC files or directories that contain SWC files. -->
       <swf-library-path>
          <path-element>libs</path-element>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </swf-library-path>
 
       <!-- List of SWC files or directories that contain SWC files. -->
diff --git a/distribution/src/main/resources/frameworks/flex-config.xml b/distribution/src/main/resources/frameworks/flex-config.xml
index 14e0148..91b8987 100644
--- a/distribution/src/main/resources/frameworks/flex-config.xml
+++ b/distribution/src/main/resources/frameworks/flex-config.xml
@@ -70,7 +70,7 @@
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
       <swf-external-library-path>
-          <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+          <path-element>libs/player/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}/playerglobal.swc</path-element>
       </swf-external-library-path>
 
       <!-- List of SWC files or directories to compile against but to omit from -->
@@ -94,7 +94,7 @@
       <!-- List of SWC files or directories that contain SWC files. -->
       <swf-library-path>
          <path-element>libs</path-element>
-         <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>libs/player/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </swf-library-path>
 
       <!-- List of SWC files or directories that contain SWC files. -->
diff --git a/examples/royale/ASDoc/src/main/config/asdoc-js-config.xml b/examples/royale/ASDoc/src/main/config/asdoc-js-config.xml
index c862a2a..8be3eba 100644
--- a/examples/royale/ASDoc/src/main/config/asdoc-js-config.xml
+++ b/examples/royale/ASDoc/src/main/config/asdoc-js-config.xml
@@ -135,7 +135,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
         <!-- namespace declaration for asdoc -->
diff --git a/examples/royale/ASDoc/src/main/config/asdoc-swf-config.xml b/examples/royale/ASDoc/src/main/config/asdoc-swf-config.xml
index eb185a3..dbb944d 100644
--- a/examples/royale/ASDoc/src/main/config/asdoc-swf-config.xml
+++ b/examples/royale/ASDoc/src/main/config/asdoc-swf-config.xml
@@ -135,7 +135,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
         <!-- namespace declaration for asdoc -->
diff --git a/examples/royale/Flex2Royale/src/main/config/asdoc-config.xml b/examples/royale/Flex2Royale/src/main/config/asdoc-config.xml
index 3555330..450098a 100644
--- a/examples/royale/Flex2Royale/src/main/config/asdoc-config.xml
+++ b/examples/royale/Flex2Royale/src/main/config/asdoc-config.xml
@@ -135,7 +135,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
         <!-- namespace declaration for asdoc -->
diff --git a/frameworks/asdoc-config.xml b/frameworks/asdoc-config.xml
index a36470e..a77c9ea 100644
--- a/frameworks/asdoc-config.xml
+++ b/frameworks/asdoc-config.xml
@@ -100,7 +100,7 @@
       <library-path>
           <path-element>${royalelib}/libs/core.swc</path-element>
           <path-element>${royalelib}/libs/framework.swc</path-element>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
         <!-- namespace declaration for asdoc -->
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index 19be559..c399c33 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -70,7 +70,7 @@
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
       <external-library-path>
-          <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+          <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}/playerglobal.swc</path-element>
       </external-library-path>
 
       <!-- List of SWC files or directories to compile against but to omit from -->
@@ -94,7 +94,7 @@
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
          <path-element>libs</path-element>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
       <!-- List of SWC files or directories that contain SWC files. -->
diff --git a/frameworks/royale-config-template.xml b/frameworks/royale-config-template.xml
index 487b0ca..220400b 100644
--- a/frameworks/royale-config-template.xml
+++ b/frameworks/royale-config-template.xml
@@ -70,7 +70,7 @@
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
       <external-library-path>
-          <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+          <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}/playerglobal.swc</path-element>
       </external-library-path>
 
       <!-- List of SWC files or directories to compile against but to omit from -->
@@ -94,7 +94,7 @@
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
          <path-element>libs</path-element>
-         <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+         <path-element>{playerglobalHome}/${targetPlayerMajorVersion}.${targetPlayerMinorVersion}</path-element>
       </library-path>
 
       <!-- List of SWC files or directories that contain SWC files. -->