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 d030999e84be17f89103271cc26fa231b3d3c7c3 Author: Carlos Rovira <[email protected]> AuthorDate: Sun Feb 28 17:04:40 2021 +0100 AppWithLib: fix project and and allow fx:Array --- examples/crux/SampleLib/pom.xml | 15 ++++++++------ .../src/main/resources/samplelib-manifest.xml | 2 +- .../royale/examples/config/ServicesConfig.mxml} | 23 +++++++++++++--------- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/examples/crux/SampleLib/pom.xml b/examples/crux/SampleLib/pom.xml index 822480f..8ab6447 100644 --- a/examples/crux/SampleLib/pom.xml +++ b/examples/crux/SampleLib/pom.xml @@ -27,14 +27,14 @@ <artifactId>examples-crux</artifactId> <version>0.9.8-SNAPSHOT</version> </parent> - + <artifactId>SampleLib</artifactId> <version>0.9.8-SNAPSHOT</version> <packaging>swc</packaging> <properties> - <compiler.debug>true</compiler.debug> - <royale.framework.version>0.9.8-SNAPSHOT</royale.framework.version> + <!-- <compiler.debug>true</compiler.debug> + <royale.framework.version>0.9.8-SNAPSHOT</royale.framework.version> --> <compiler.output-dir-debug>${basedir}/target/javascript/bin/js-debug</compiler.output-dir-debug> <compiler.output-dir-release>${basedir}/target/javascript/bin/js-release</compiler.output-dir-release> </properties> @@ -95,6 +95,7 @@ <extensions>true</extensions> <configuration> <targets>JSRoyale</targets> + <debug>false</debug> <namespaces> <namespace> <uri>library://ns.apache.org/royale/samplelib</uri> @@ -124,10 +125,12 @@ <path>../src/main/resources/js/*</path> </include-file> --> </includeFiles> - <!-- <includeLookupOnly>true</includeLookupOnly> - <allowSubclassOverrides>true</allowSubclassOverrides> + <skipAS>true</skipAS> <skipExtern>true</skipExtern> - <skipAS>true</skipAS> --> + <!-- + <includeLookupOnly>true</includeLookupOnly> + <allowSubclassOverrides>true</allowSubclassOverrides> + --> <!-- <additionalCompilerOptions> -source-map=true; -source-map-source-root=/frameworks/projects/Jewel/src/main/royale/ diff --git a/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml b/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml index 351c690..6898206 100644 --- a/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml +++ b/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml @@ -21,7 +21,7 @@ <componentPackage> - <!-- <component id="Beans" class="org.apache.royale.examples.Beans"/> --> <component id="SampleClass" class="org.apache.royale.examples.SampleClass"/> + <component id="ServicesConfig" class="org.apache.royale.examples.config.ServicesConfig"/> </componentPackage> \ No newline at end of file diff --git a/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml b/examples/crux/SampleLib/src/main/royale/org/apache/royale/examples/config/ServicesConfig.mxml similarity index 66% copy from examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml copy to examples/crux/SampleLib/src/main/royale/org/apache/royale/examples/config/ServicesConfig.mxml index 351c690..a9ebf44 100644 --- a/examples/crux/SampleLib/src/main/resources/samplelib-manifest.xml +++ b/examples/crux/SampleLib/src/main/royale/org/apache/royale/examples/config/ServicesConfig.mxml @@ -1,4 +1,3 @@ -<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more @@ -17,11 +16,17 @@ limitations under the License. --> - - -<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 +<crux:BeanProvider + xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:mx="library://ns.apache.org/royale/mx" + xmlns:crux="library://ns.apache.org/royale/crux"> + + <crux:beans> + <fx:Array> + <mx:HTTPService id="configuratorService" + url="project.json" resultFormat="text"/> + <mx:HTTPService id="commitsService" resultFormat="text" /> + </fx:Array> + </crux:beans> + +</crux:BeanProvider> \ No newline at end of file
