You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2025/04/01 17:26:29 UTC

(royale-asjs) branch develop updated (a05e085279 -> 68e6107b13)

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

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


    from a05e085279 TourDeJewel: README should include build instructions
     add 771d021e5d Init download resources
     add 59c7a61b9f Jewel: Including web-animation.min.js in .swc library output via -js-include-script build parameter. Overriding <inject_script> block in TabBarView.as
     add 8c25616608 TDJ: - Added necessary third-party licenses (`SIL OFL-1.1` for Lato, `BSD-3-Clause` for Highlight.js). - Updated `README.md` and `LICENSE` to reflect these changes.
     add 96b561f1f3 Jewel: Overriding the </inject_script> block by including it in a comment block. Clearing previously added comments in royale-asjs\ApproveRoyale.xml
     add 0b2ec882e4 TDJ: Files that are self-licensed and ASF-compliant are excluded from RAT scanning. Configure pom.xml and create the rat-excludes.txt file.
     add b12267aa9e Including the 'web-animations.min.js' file in the JewelJS compilation.
     add d0cbce9461 Basic/BasicJS: Including 'dialog-polyfill.min.js' and 'dialog-polyfill.min.css'  in .swc library output via -js-include-script and -js-include-css build parameters. Comment <inject_script> block in DialogPolyfill.as
     add 3730e09056 Jewel / Basic pom's. Change ${basedir} by ${project.basedir}
     add 41cf4b127f Icons/IconsJS: Including 'Material webfonts' and 'FontAwesomeIcon webfonts' in .swc library output via -js-include-css and -js-include-asset build parameters. Comment <inject_script> block in MaterialIcon.as and FontAwesomeIcon.as
     add 5333dbdca4 Icons: reorganize assets a bit
     add 02eb93ed7a Jewel: reorganize assets
     add 99304eed73 Basic: reorganize assets
     add 8192fc0cf3 Maven: update rat to match sub-projects
     add 10d1c17826 Jewel: remove commented out inject_script
     add d296ae6267 TourDeJewel: reorganize assets a bit, fix asconfig.json and Ant build
     add e2371a051c RoyaleSite: include css/fonts for JS
     add 996a01c22a examples: fix some templates to avoid duplicate styles
     add adb82f8cdc TourDeJewel: fix lato font path
     add a8280b1343 Init download resources
     add 0d82128a35 Jewel: Including web-animation.min.js in .swc library output via -js-include-script build parameter. Overriding <inject_script> block in TabBarView.as
     add 498cc2dc2e TDJ: - Added necessary third-party licenses (`SIL OFL-1.1` for Lato, `BSD-3-Clause` for Highlight.js). - Updated `README.md` and `LICENSE` to reflect these changes.
     add de96c8646e Jewel: Overriding the </inject_script> block by including it in a comment block. Clearing previously added comments in royale-asjs\ApproveRoyale.xml
     add 8156c36ea7 TDJ: Files that are self-licensed and ASF-compliant are excluded from RAT scanning. Configure pom.xml and create the rat-excludes.txt file.
     add 82fafb77b8 TDJ: Files that are self-licensed and ASF-compliant are excluded from RAT scanning. Configure pom.xml and create the rat-excludes.txt file.
     add 067f81d622 Merge branch 'examples/TDJ_localresources' of https://github.com/apache/royale-asjs into examples/TDJ_localresources
     add 5b8075721e Including the 'web-animations.min.js' file in the JewelJS compilation.
     add 54f582be69 Basic/BasicJS: Including 'dialog-polyfill.min.js' and 'dialog-polyfill.min.css'  in .swc library output via -js-include-script and -js-include-css build parameters. Comment <inject_script> block in DialogPolyfill.as
     add 1005bfc74e Jewel / Basic pom's. Change ${basedir} by ${project.basedir}
     add d0e0c985e9 Icons/IconsJS: Including 'Material webfonts' and 'FontAwesomeIcon webfonts' in .swc library output via -js-include-css and -js-include-asset build parameters. Comment <inject_script> block in MaterialIcon.as and FontAwesomeIcon.as
     add acac2831a8 Icons: reorganize assets a bit
     add 924e3e5369 Jewel: reorganize assets
     add 61c5fd22ce Basic: reorganize assets
     add 58c9a9f723 Maven: update rat to match sub-projects
     add 1c9c97e791 Jewel: remove commented out inject_script
     add 80c016c75e TourDeJewel: reorganize assets a bit, fix asconfig.json and Ant build
     add 371343b282 RoyaleSite: include css/fonts for JS
     add 21afd58a39 examples: fix some templates to avoid duplicate styles
     add 00e9288cd2 TourDeJewel: fix lato font path
     add ed43cd6877 Merge branch 'examples/TDJ_localresources' of https://github.com/apache/royale-asjs into examples/TDJ_localresources
     add a3685a7bac Merge branch 'examples/TDJ_localresources' of https://github.com/apache/royale-asjs into examples/TDJ_localresources
     add 500067a7ce RoyaleSite: fix rat excludes and relative paths for Maven
     add fbe358b347 pom.xml: fix rat-excludes.txt in examples being seemingly ignored if the with-examples profile isn't activated
     add 41ffc96581 TourDeJewel: js-includes can't be in src/main/resources because they will be copied by Maven/Ant builds
     add 1a6294c0bf Libraries: move third-party libraries from src/main/resources to src/main/assembly/third-party
     add 7cf3c0942a JewelTheme: js-includes for Lato font
     add 33111142d3 TourDeJewel: doesn't need Lato font anymore because it comes from JewelTheme
     add 5d4260a795 JewelTheme: edited wrong config file for Lato font Ant build
     new 3c975ad52c TourDeJewel: copy .mxml files into output and load from there instead of GitHub
     new 68e6107b13 TourDeJewel: fix some grammar

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ApproveRoyale.xml                                  |    2 +
 LICENSE.base => examples/jewel/TourDeJewel/LICENSE |   25 +
 .../jewel/TourDeJewel/{README.txt => README.md}    |   34 +-
 examples/jewel/TourDeJewel/TourDeJewel.as3proj     |    2 +-
 examples/jewel/TourDeJewel/asconfig.json           |   25 +-
 examples/jewel/TourDeJewel/build.xml               |   12 +
 examples/jewel/TourDeJewel/pom.xml                 |   56 +-
 .../jewel/TourDeJewel/rat-excludes.txt             |    5 +-
 .../highlight.js/9.12.0/LICENSE-highlightjs        |   29 +
 .../highlight.js/9.12.0/atom-one-dark.min.css      |   34 +
 .../highlight.js/9.12.0/highlight.min.js           |    3 +
 .../src/main/config/compile-app-config.xml         |    7 +
 .../resources/jewel-example-index-template.html    |    1 -
 .../src/main/royale/WelcomeSection.mxml            |    2 +-
 .../ExampleAndSourceCodeTabbedSectionContent.as    |   10 +-
 examples/jewel/TourDeJewel/src/main/royale/hljs.as |   12 -
 .../{GitHubService.as => SourceCodeService.as}     |   25 +-
 .../src/main/resources/royale-index-template.html  |  273 +-
 .../src/main/resources/royale-index-template.html  |  273 +-
 .../BasicJS/src/main/config/compile-js-config.xml  |    8 +
 .../IconsJS/src/main/config/compile-js-config.xml  |   24 +
 .../JewelJS/src/main/config/compile-js-config.xml  |    5 +-
 .../src/main/config/compile-js-config.xml          |   15 +
 .../src/main/config/compile-js-config.xml          |   10 +
 frameworks/projects/Basic/.vscode/tasks.json       |    2 +-
 frameworks/projects/Basic/asconfig.json            |    8 +-
 frameworks/projects/Basic/pom.xml                  |   15 +-
 .../projects/Basic/rat-excludes.txt                |    8 +-
 .../dialog-polyfill/0.4.9/LICENSE-dialog-polyfill  |   28 +
 .../dialog-polyfill/0.4.9/dialog-polyfill.min.css  |    2 +
 .../dialog-polyfill/0.4.9/dialog-polyfill.min.js   |    1 +
 .../org/apache/royale/html/util/DialogPolyfill.as  |   14 +-
 frameworks/projects/Icons/asconfig.json            |   27 +-
 frameworks/projects/Icons/pom.xml                  |   29 +
 .../projects/Icons/rat-excludes.txt                |   10 +-
 .../font-awesome/5.15.4/LICENSE-fontawesome        |  113 +
 .../font-awesome/5.15.4/fa-brands-400.eot          |  Bin 0 -> 134294 bytes
 .../font-awesome/5.15.4/fa-brands-400.svg          | 3720 +++++++++++++++
 .../font-awesome/5.15.4/fa-brands-400.ttf          |  Bin 0 -> 133988 bytes
 .../font-awesome/5.15.4/fa-brands-400.woff         |  Bin 0 -> 89988 bytes
 .../font-awesome/5.15.4/fa-brands-400.woff2        |  Bin 0 -> 76736 bytes
 .../font-awesome/5.15.4/fa-regular-400.eot         |  Bin 0 -> 34034 bytes
 .../font-awesome/5.15.4/fa-regular-400.svg         |  802 ++++
 .../font-awesome/5.15.4/fa-regular-400.ttf         |  Bin 0 -> 33736 bytes
 .../font-awesome/5.15.4/fa-regular-400.woff        |  Bin 0 -> 16276 bytes
 .../font-awesome/5.15.4/fa-regular-400.woff2       |  Bin 0 -> 13224 bytes
 .../font-awesome/5.15.4/fa-solid-900.eot           |  Bin 0 -> 203030 bytes
 .../font-awesome/5.15.4/fa-solid-900.svg           | 5035 ++++++++++++++++++++
 .../font-awesome/5.15.4/fa-solid-900.ttf           |  Bin 0 -> 202744 bytes
 .../font-awesome/5.15.4/fa-solid-900.woff          |  Bin 0 -> 101648 bytes
 .../font-awesome/5.15.4/fa-solid-900.woff2         |  Bin 0 -> 78268 bytes
 .../font-awesome/5.15.4/fontawesome-all.css        | 4617 ++++++++++++++++++
 .../material-icons/4.0.0/LICENSE-material-icons    |    1 -
 .../material-icons/4.0.0/material-icons.css        |   37 +
 .../material-icons/4.0.0/material-icons.woff2      |  Bin 0 -> 128616 bytes
 .../org/apache/royale/icons/FontAwesomeIcon.as     |   10 +-
 .../royale/org/apache/royale/icons/MaterialIcon.as |   10 +-
 frameworks/projects/Jewel/asconfig.json            |    5 +-
 frameworks/projects/Jewel/pom.xml                  |    5 +-
 .../web-animations/2.3.1/LICENSE-web-animations    |    1 -
 .../web-animations/2.3.1/web-animations.min.js     |   16 +
 .../apache/royale/jewel/beads/views/TabBarView.as  |    6 -
 frameworks/projects/RoyaleSite/asconfig.json       |   55 +
 frameworks/projects/RoyaleSite/pom.xml             |   25 +
 .../projects/RoyaleSite/rat-excludes.txt           |   10 +-
 .../third-party/font-awesome/LICENSE-fontawesome   |  113 +
 .../third-party/font-awesome/font-awesome.min.css  |    4 +
 .../font-awesome/fontawesome-webfont.eot           |  Bin 0 -> 165742 bytes
 .../font-awesome/fontawesome-webfont.svg           | 2671 +++++++++++
 .../font-awesome/fontawesome-webfont.ttf           |  Bin 0 -> 165548 bytes
 .../font-awesome/fontawesome-webfont.woff          |  Bin 0 -> 98024 bytes
 .../font-awesome/fontawesome-webfont.woff2         |  Bin 0 -> 77160 bytes
 .../hind-siliguri/HindSiliguri-Bold.woff2          |  Bin 0 -> 90228 bytes
 .../hind-siliguri/HindSiliguri-Light.woff2         |  Bin 0 -> 83516 bytes
 .../hind-siliguri/HindSiliguri-Medium.woff2        |  Bin 0 -> 91560 bytes
 .../hind-siliguri/HindSiliguri-Regular.woff2       |  Bin 0 -> 88092 bytes
 .../hind-siliguri/HindSiliguri-SemiBold.woff2      |  Bin 0 -> 92484 bytes
 .../hind-siliguri/LICENSE-HindSiliguri.txt         |   93 +
 .../assembly/third-party/signika/LICENSE-Signika   |   93 +
 .../third-party/signika/Signika-Bold.woff2         |  Bin 0 -> 107288 bytes
 .../third-party/signika/Signika-Regular.woff2      |  Bin 0 -> 108700 bytes
 .../third-party/signika/Signika-SemiBold.woff2     |  Bin 0 -> 109476 bytes
 .../RoyaleSite/src/main/resources/defaults.css     |   35 +
 frameworks/themes/JewelTheme/asconfig.json         |   11 +-
 frameworks/themes/JewelTheme/pom.xml               |    7 +
 .../main/assembly/third-party/lato/LICENSE-lato    |   93 +
 .../main/assembly/third-party/lato/Lato-Bold.ttf   |  Bin 0 -> 73332 bytes
 .../assembly/third-party/lato/Lato-BoldItalic.ttf  |  Bin 0 -> 77732 bytes
 .../main/assembly/third-party/lato/Lato-Italic.ttf |  Bin 0 -> 75792 bytes
 .../assembly/third-party/lato/Lato-Regular.ttf     |  Bin 0 -> 75152 bytes
 .../src/main/assembly/third-party/lato/Lato.css    |   30 +-
 pom.xml                                            |   13 +-
 92 files changed, 18025 insertions(+), 642 deletions(-)
 copy LICENSE.base => examples/jewel/TourDeJewel/LICENSE (89%)
 rename examples/jewel/TourDeJewel/{README.txt => README.md} (67%)
 copy frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/locale/es_ES/validator.properties => examples/jewel/TourDeJewel/rat-excludes.txt (85%)
 create mode 100644 examples/jewel/TourDeJewel/src/main/assembly/third-party/highlight.js/9.12.0/LICENSE-highlightjs
 create mode 100644 examples/jewel/TourDeJewel/src/main/assembly/third-party/highlight.js/9.12.0/atom-one-dark.min.css
 create mode 100644 examples/jewel/TourDeJewel/src/main/assembly/third-party/highlight.js/9.12.0/highlight.min.js
 rename examples/jewel/TourDeJewel/src/main/royale/services/{GitHubService.as => SourceCodeService.as} (80%)
 copy distribution/src/main/resources/air/adt => frameworks/projects/Basic/rat-excludes.txt (84%)
 mode change 100755 => 100644
 create mode 100644 frameworks/projects/Basic/src/main/assembly/third-party/dialog-polyfill/0.4.9/LICENSE-dialog-polyfill
 create mode 100644 frameworks/projects/Basic/src/main/assembly/third-party/dialog-polyfill/0.4.9/dialog-polyfill.min.css
 create mode 100644 frameworks/projects/Basic/src/main/assembly/third-party/dialog-polyfill/0.4.9/dialog-polyfill.min.js
 copy distribution/src/main/resources/air/adt => frameworks/projects/Icons/rat-excludes.txt (85%)
 mode change 100755 => 100644
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/LICENSE-fontawesome
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-brands-400.eot
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-brands-400.svg
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-brands-400.ttf
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-brands-400.woff
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-brands-400.woff2
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-regular-400.eot
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-regular-400.svg
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-regular-400.ttf
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-regular-400.woff
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-regular-400.woff2
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-solid-900.eot
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-solid-900.svg
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-solid-900.ttf
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-solid-900.woff
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fa-solid-900.woff2
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/font-awesome/5.15.4/fontawesome-all.css
 copy LICENSE.base => frameworks/projects/Icons/src/main/assembly/third-party/material-icons/4.0.0/LICENSE-material-icons (99%)
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/material-icons/4.0.0/material-icons.css
 create mode 100644 frameworks/projects/Icons/src/main/assembly/third-party/material-icons/4.0.0/material-icons.woff2
 copy LICENSE.base => frameworks/projects/Jewel/src/main/assembly/third-party/web-animations/2.3.1/LICENSE-web-animations (99%)
 create mode 100644 frameworks/projects/Jewel/src/main/assembly/third-party/web-animations/2.3.1/web-animations.min.js
 create mode 100644 frameworks/projects/RoyaleSite/asconfig.json
 copy distribution/src/main/resources/air/adt => frameworks/projects/RoyaleSite/rat-excludes.txt (85%)
 mode change 100755 => 100644
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/LICENSE-fontawesome
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/font-awesome.min.css
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/fontawesome-webfont.eot
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/fontawesome-webfont.svg
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/fontawesome-webfont.ttf
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/fontawesome-webfont.woff
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/font-awesome/fontawesome-webfont.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/HindSiliguri-Bold.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/HindSiliguri-Light.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/HindSiliguri-Medium.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/HindSiliguri-Regular.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/HindSiliguri-SemiBold.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/hind-siliguri/LICENSE-HindSiliguri.txt
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/signika/LICENSE-Signika
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/signika/Signika-Bold.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/signika/Signika-Regular.woff2
 create mode 100644 frameworks/projects/RoyaleSite/src/main/assembly/third-party/signika/Signika-SemiBold.woff2
 create mode 100644 frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/LICENSE-lato
 create mode 100644 frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/Lato-Bold.ttf
 create mode 100644 frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/Lato-BoldItalic.ttf
 create mode 100644 frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/Lato-Italic.ttf
 create mode 100644 frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/Lato-Regular.ttf
 copy examples/blog/BE0002_Using_Jewel_Alert_Control/src/main/resources/styles.css => frameworks/themes/JewelTheme/src/main/assembly/third-party/lato/Lato.css (64%)


(royale-asjs) 01/02: TourDeJewel: copy .mxml files into output and load from there instead of GitHub

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3c975ad52c0732d8fa00529c35e3c976f300efe4
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Apr 1 10:10:26 2025 -0700

    TourDeJewel: copy .mxml files into output and load from there instead of GitHub
---
 examples/jewel/TourDeJewel/build.xml               | 12 ++++++++
 examples/jewel/TourDeJewel/pom.xml                 | 36 ++++++++++++++++++++++
 .../ExampleAndSourceCodeTabbedSectionContent.as    |  8 ++---
 .../{GitHubService.as => SourceCodeService.as}     | 25 +++------------
 4 files changed, 56 insertions(+), 25 deletions(-)

diff --git a/examples/jewel/TourDeJewel/build.xml b/examples/jewel/TourDeJewel/build.xml
index f3f473a51d..a6dd92524f 100644
--- a/examples/jewel/TourDeJewel/build.xml
+++ b/examples/jewel/TourDeJewel/build.xml
@@ -43,6 +43,18 @@
                 <include name="**" />
             </fileset>
         </copy>
+        <mkdir dir="${basedir}/bin/js-debug/src" />
+        <copy todir="${basedir}/bin/js-debug/src" failonerror="false">
+            <fileset dir="${basedir}/src/main/royale">
+                <include name="**/*.mxml" />
+            </fileset>
+        </copy>
+        <mkdir dir="${basedir}/bin/js-release/src" />
+        <copy todir="${basedir}/bin/js-release/src" failonerror="false">
+            <fileset dir="${basedir}/src/main/royale">
+                <include name="**/*.mxml" />
+            </fileset>
+        </copy>
     </target>
     
     <target name="clean">
diff --git a/examples/jewel/TourDeJewel/pom.xml b/examples/jewel/TourDeJewel/pom.xml
index 2c37fa2c70..530ef5fd17 100644
--- a/examples/jewel/TourDeJewel/pom.xml
+++ b/examples/jewel/TourDeJewel/pom.xml
@@ -938,6 +938,42 @@
               <outputDirectory>${project.build.directory}/javascript/bin/js-release/assets/themes</outputDirectory>
             </configuration>
           </execution>
+          <execution>
+            <id>copy-source-to-debug</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <resources>
+                <resource>
+                  <directory>${project.build.sourceDirectory}</directory>
+                  <includes>
+                    <include>**/*.mxml</include>
+                  </includes>
+                </resource>
+              </resources>
+              <outputDirectory>${project.build.directory}/javascript/bin/js-debug/src/</outputDirectory>
+            </configuration>
+          </execution>
+          <execution>
+            <id>copy-source-to-release</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <resources>
+                <resource>
+                  <directory>${project.build.sourceDirectory}</directory>
+                  <includes>
+                    <include>**/*.mxml</include>
+                  </includes>
+                </resource>
+              </resources>
+              <outputDirectory>${project.build.directory}/javascript/bin/js-release/src/</outputDirectory>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>
diff --git a/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as b/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
index 2f0c9e3ea5..66fb7e0791 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
+++ b/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
@@ -29,7 +29,7 @@ package components
     import org.apache.royale.jewel.TabBarContent;
     import org.apache.royale.html.beads.layouts.Paddings;
 
-    import services.GitHubService;
+    import services.SourceCodeService;
 
     import vos.TabBarButtonVO;
     
@@ -50,7 +50,7 @@ package components
             addEventListener("beadsAdded", beadsAddedHandler);
 		}
 
-        private var service:GitHubService;
+        private var service:SourceCodeService;
         private var tabbar:TabBar;
         private var tabBarNavigation:ArrayList;
         private var tabcontent:TabBarContent;
@@ -58,7 +58,7 @@ package components
         private var sourceCodeTab:ScrollableSectionContent;
         private var sourceCodeMXMLText:Code;
 
-        private var sourceCodeUrlPrefix:String = "https://api.github.com/repos/apache/royale-asjs/contents/examples/jewel/TourDeJewel/src/main/royale/";
+        private var sourceCodeUrlPrefix:String = "./src/";
         private var sourceCodeUrlWebPrefix:String = "https://github.com/apache/royale-asjs/blob/develop/examples/jewel/TourDeJewel/src/main/royale/";
         
         private var _sourceCodeUrl:String;
@@ -118,7 +118,7 @@ package components
             tabcontent.selectedContent = "exampleTab";
             strandChildren.addElement(tabcontent);
             
-            service = new GitHubService();
+            service = new SourceCodeService();
             service.addEventListener("dataReady", dataReadyHandler);
             service.sourceCodeUrl = sourceCodeUrlPrefix + sourceCodeUrl;
         }
diff --git a/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as b/examples/jewel/TourDeJewel/src/main/royale/services/SourceCodeService.as
similarity index 80%
rename from examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as
rename to examples/jewel/TourDeJewel/src/main/royale/services/SourceCodeService.as
index 28c834035e..cd2cd528bd 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as
+++ b/examples/jewel/TourDeJewel/src/main/royale/services/SourceCodeService.as
@@ -22,19 +22,18 @@ package services
 	import org.apache.royale.events.EventDispatcher;
 	import org.apache.royale.net.HTTPConstants;
 	import org.apache.royale.net.HTTPService;
-	import org.apache.royale.utils.string.Base64;
 
     [Event(name="dataReady", type="org.apache.royale.events.Event")]
     /**
-     * GitHubService is in charge of getting the source code of some example
+     * SourceCodeService is in charge of getting the source code of some example
      * so we can show the code in a TabBarContentPanel along with the working example
      */
-	public class GitHubService extends EventDispatcher
+	public class SourceCodeService extends EventDispatcher
 	{
         /**
          * constructor
          */
-        public function GitHubService():void
+        public function SourceCodeService():void
         {    
             service = new HTTPService();
             service.addEventListener(HTTPConstants.COMPLETE, completeHandler);
@@ -70,25 +69,9 @@ package services
         /**
          * json return the retrieved GitHub JSON Object
          */
-        public function get json():Object
-        {
-            return service.json;
-        }
-
-        /**
-         * jsonToString return the retrieved GitHub JSON Object as String
-         */
-        public function get jsonToString():String
-        {
-            return service.data;
-        }
-
-        /**
-         * decode and return the base 64 content (real source code)
-         */
         public function get sourceCode():String
         {
-            return Base64.decode(service.json.content);
+            return service.data;
         }
         
         /**


(royale-asjs) 02/02: TourDeJewel: fix some grammar

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 68e6107b1330a891b27091bd1b11119cf4a9708a
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Apr 1 10:12:30 2025 -0700

    TourDeJewel: fix some grammar
---
 examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml          | 2 +-
 .../main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml b/examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml
index a4dbcf9c6d..24cd157e87 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml
@@ -120,7 +120,7 @@ limitations under the License.
             </j:Form>
         </j:VGroup>
 
-        <j:Label width="400" multiline="true" html="Jewel is a themeable and responsive set of user interface components for Apache Royale to help you quickly build the front end of your applications with ActionScript &amp; MXML.&lt;br>Check &lt;a href='https://royale.apache.org'>https://royale.apache.org&lt;/a>">
+        <j:Label width="400" multiline="true" html="Jewel is a themeable and responsive set of user interface components for Apache Royale to help you quickly build the front-end of your applications with ActionScript &amp; MXML.&lt;br>Visit &lt;a href='https://royale.apache.org'>https://royale.apache.org&lt;/a> to learn more">
             <j:beads>
                 <j:SizeControl size="large"/>
                 <j:TextAlign align="center"/>
diff --git a/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as b/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
index 66fb7e0791..4ed97e5186 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
+++ b/examples/jewel/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
@@ -101,7 +101,7 @@ package components
             
             var link:A = new A();
             link.href = sourceCodeUrlWebPrefix + sourceCodeUrl;
-            link.text = "Watch the source code for this page in GitHub";
+            link.text = "View the source code for this page in GitHub";
             link.target = "_blank";
             link.rel = "noreferrer noopener"
             sourceCodeTab.addElement(link);