This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch feature/distribution-allignment in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 957e6a6fb862e1b29b08cb03259974fb91ac3629 Author: Carlos Rovira <[email protected]> AuthorDate: Sat Feb 27 17:55:57 2021 +0100 moving new example from examples/jewel to crux, since it will have some crux code --- .../{jewel => crux}/AppWithLib/AppWithLib.mxml.as3proj | 0 examples/{jewel => crux}/AppWithLib/asconfig.json | 0 examples/{jewel => crux}/AppWithLib/pom.xml | 8 +++----- .../AppWithLib/src/main/resources/default.css | 0 .../main/resources/jewel-example-index-template.html | 0 .../AppWithLib/src/main/royale/AppWithLib.mxml | 0 .../org/apache/royale/examples/config/Beans.mxml | 0 .../org/apache/royale/examples/events/SomeEvent.as | 0 .../org/apache/royale/examples/views/MainView.mxml | 0 .../AppWithLib/src/main/sass/_global.sass | 0 .../AppWithLib}/src/main/sass/default.sass | 0 .../{jewel => crux}/SampleLib/SampleLib.mxml.as3proj | 0 examples/{jewel => crux}/SampleLib/asconfig.json | 0 examples/{jewel => crux}/SampleLib/pom.xml | 18 ++++++++++++------ .../SampleLib/src/main/resources/default.css | 0 .../src/main/resources/samplelib-as-manifest.xml | 0 .../src/main/resources/samplelib-manifest.xml | 1 + .../SampleLib/src/main/royale/SampleLibClasses.as | 0 .../royale/org/apache/royale/examples/SampleClass.as | 0 .../SampleLib/src/main/sass/_global.sass | 0 .../SampleLib}/src/main/sass/default.sass | 0 21 files changed, 16 insertions(+), 11 deletions(-) diff --git a/examples/jewel/AppWithLib/AppWithLib.mxml.as3proj b/examples/crux/AppWithLib/AppWithLib.mxml.as3proj similarity index 100% rename from examples/jewel/AppWithLib/AppWithLib.mxml.as3proj rename to examples/crux/AppWithLib/AppWithLib.mxml.as3proj diff --git a/examples/jewel/AppWithLib/asconfig.json b/examples/crux/AppWithLib/asconfig.json similarity index 100% rename from examples/jewel/AppWithLib/asconfig.json rename to examples/crux/AppWithLib/asconfig.json diff --git a/examples/jewel/AppWithLib/pom.xml b/examples/crux/AppWithLib/pom.xml similarity index 97% rename from examples/jewel/AppWithLib/pom.xml rename to examples/crux/AppWithLib/pom.xml index 03b87df..1196525 100644 --- a/examples/jewel/AppWithLib/pom.xml +++ b/examples/crux/AppWithLib/pom.xml @@ -23,13 +23,11 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>23</version> - <relativePath /> + <groupId>org.apache.royale.examples</groupId> + <artifactId>examples-crux</artifactId> + <version>0.9.8-SNAPSHOT</version> </parent> - <groupId>org.apache.royale.examples</groupId> <artifactId>AppWithLib</artifactId> <version>0.9.8-SNAPSHOT</version> <packaging>swf</packaging> diff --git a/examples/jewel/AppWithLib/src/main/resources/default.css b/examples/crux/AppWithLib/src/main/resources/default.css similarity index 100% rename from examples/jewel/AppWithLib/src/main/resources/default.css rename to examples/crux/AppWithLib/src/main/resources/default.css diff --git a/examples/jewel/AppWithLib/src/main/resources/jewel-example-index-template.html b/examples/crux/AppWithLib/src/main/resources/jewel-example-index-template.html similarity index 100% rename from examples/jewel/AppWithLib/src/main/resources/jewel-example-index-template.html rename to examples/crux/AppWithLib/src/main/resources/jewel-example-index-template.html diff --git a/examples/jewel/AppWithLib/src/main/royale/AppWithLib.mxml b/examples/crux/AppWithLib/src/main/royale/AppWithLib.mxml similarity index 100% rename from examples/jewel/AppWithLib/src/main/royale/AppWithLib.mxml rename to examples/crux/AppWithLib/src/main/royale/AppWithLib.mxml diff --git a/examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/config/Beans.mxml b/examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/config/Beans.mxml similarity index 100% rename from examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/config/Beans.mxml rename to examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/config/Beans.mxml diff --git a/examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/events/SomeEvent.as b/examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/events/SomeEvent.as similarity index 100% rename from examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/events/SomeEvent.as rename to examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/events/SomeEvent.as diff --git a/examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/views/MainView.mxml b/examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/views/MainView.mxml similarity index 100% rename from examples/jewel/AppWithLib/src/main/royale/org/apache/royale/examples/views/MainView.mxml rename to examples/crux/AppWithLib/src/main/royale/org/apache/royale/examples/views/MainView.mxml diff --git a/examples/jewel/AppWithLib/src/main/sass/_global.sass b/examples/crux/AppWithLib/src/main/sass/_global.sass similarity index 100% rename from examples/jewel/AppWithLib/src/main/sass/_global.sass rename to examples/crux/AppWithLib/src/main/sass/_global.sass diff --git a/examples/jewel/SampleLib/src/main/sass/default.sass b/examples/crux/AppWithLib/src/main/sass/default.sass similarity index 100% rename from examples/jewel/SampleLib/src/main/sass/default.sass rename to examples/crux/AppWithLib/src/main/sass/default.sass diff --git a/examples/jewel/SampleLib/SampleLib.mxml.as3proj b/examples/crux/SampleLib/SampleLib.mxml.as3proj similarity index 100% rename from examples/jewel/SampleLib/SampleLib.mxml.as3proj rename to examples/crux/SampleLib/SampleLib.mxml.as3proj diff --git a/examples/jewel/SampleLib/asconfig.json b/examples/crux/SampleLib/asconfig.json similarity index 100% rename from examples/jewel/SampleLib/asconfig.json rename to examples/crux/SampleLib/asconfig.json diff --git a/examples/jewel/SampleLib/pom.xml b/examples/crux/SampleLib/pom.xml similarity index 96% rename from examples/jewel/SampleLib/pom.xml rename to examples/crux/SampleLib/pom.xml index 2508c8c..822480f 100644 --- a/examples/jewel/SampleLib/pom.xml +++ b/examples/crux/SampleLib/pom.xml @@ -23,13 +23,11 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>23</version> - <relativePath /> + <groupId>org.apache.royale.examples</groupId> + <artifactId>examples-crux</artifactId> + <version>0.9.8-SNAPSHOT</version> </parent> - - <groupId>org.apache.royale.examples</groupId> + <artifactId>SampleLib</artifactId> <version>0.9.8-SNAPSHOT</version> <packaging>swc</packaging> @@ -223,6 +221,14 @@ <!-- Add dependencies you might be needing here --> <dependency> <groupId>org.apache.royale.framework</groupId> + <artifactId>Crux</artifactId> + <version>0.9.8-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + + <dependency> + <groupId>org.apache.royale.framework</groupId> <artifactId>Core</artifactId> <version>0.9.8-SNAPSHOT</version> <type>swc</type> diff --git a/examples/jewel/SampleLib/src/main/resources/default.css b/examples/crux/SampleLib/src/main/resources/default.css similarity index 100% rename from examples/jewel/SampleLib/src/main/resources/default.css rename to examples/crux/SampleLib/src/main/resources/default.css diff --git a/examples/jewel/SampleLib/src/main/resources/samplelib-as-manifest.xml b/examples/crux/SampleLib/src/main/resources/samplelib-as-manifest.xml similarity index 100% rename from examples/jewel/SampleLib/src/main/resources/samplelib-as-manifest.xml rename to examples/crux/SampleLib/src/main/resources/samplelib-as-manifest.xml diff --git a/examples/jewel/SampleLib/src/main/resources/samplelib-manifest.xml b/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml similarity index 90% rename from examples/jewel/SampleLib/src/main/resources/samplelib-manifest.xml rename to examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml index 523a781..351c690 100644 --- a/examples/jewel/SampleLib/src/main/resources/samplelib-manifest.xml +++ b/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml @@ -21,6 +21,7 @@ <componentPackage> + <!-- <component id="Beans" class="org.apache.royale.examples.Beans"/> --> <component id="SampleClass" class="org.apache.royale.examples.SampleClass"/> </componentPackage> \ No newline at end of file diff --git a/examples/jewel/SampleLib/src/main/royale/SampleLibClasses.as b/examples/crux/SampleLib/src/main/royale/SampleLibClasses.as similarity index 100% rename from examples/jewel/SampleLib/src/main/royale/SampleLibClasses.as rename to examples/crux/SampleLib/src/main/royale/SampleLibClasses.as diff --git a/examples/jewel/SampleLib/src/main/royale/org/apache/royale/examples/SampleClass.as b/examples/crux/SampleLib/src/main/royale/org/apache/royale/examples/SampleClass.as similarity index 100% rename from examples/jewel/SampleLib/src/main/royale/org/apache/royale/examples/SampleClass.as rename to examples/crux/SampleLib/src/main/royale/org/apache/royale/examples/SampleClass.as diff --git a/examples/jewel/SampleLib/src/main/sass/_global.sass b/examples/crux/SampleLib/src/main/sass/_global.sass similarity index 100% rename from examples/jewel/SampleLib/src/main/sass/_global.sass rename to examples/crux/SampleLib/src/main/sass/_global.sass diff --git a/examples/jewel/AppWithLib/src/main/sass/default.sass b/examples/crux/SampleLib/src/main/sass/default.sass similarity index 100% rename from examples/jewel/AppWithLib/src/main/sass/default.sass rename to examples/crux/SampleLib/src/main/sass/default.sass
