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 7165e3c ant: add todo examples to ant build
7165e3c is described below
commit 7165e3cf13a7cd74ebd3bf8398b10e3b45ed1897
Author: Carlos Rovira <[email protected]>
AuthorDate: Fri Feb 21 15:55:46 2020 +0100
ant: add todo examples to ant build
---
examples/build.xml | 2 ++
examples/crux/todomvc-jewel-crux/build.xml | 4 ++--
.../src/main/config/compile-app-config.xml | 14 ++++++++++++++
examples/jewel/todomvc/build.xml | 2 +-
4 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/examples/build.xml b/examples/build.xml
index 72602cb..2c0d6cb 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -78,9 +78,11 @@
<ant dir="${basedir}/express/DataBindingExample"/>
<ant dir="${basedir}/express/DataGridExample"/>
<ant dir="${basedir}/express/GitHubCommitLogViewer"/>
+ <ant dir="${basedir}/jewel/todomvc"/>
<ant dir="${basedir}/crux/CruxQuickStart"/>
<ant dir="${basedir}/crux/CruxQuickStartBasic"/>
<ant dir="${basedir}/crux/CruxGitHubCommitLogViewer"/>
+ <ant dir="${basedir}/crux/todomvc-jewel-crux"/>
<ant dir="${basedir}/royale/AccordionExample"/>
<ant dir="${basedir}/royale/ASDoc"/>
<ant dir="${basedir}/royale/CordovaCameraExample"/>
diff --git a/examples/crux/todomvc-jewel-crux/build.xml
b/examples/crux/todomvc-jewel-crux/build.xml
index 36b2dd6..abc202d 100644
--- a/examples/crux/todomvc-jewel-crux/build.xml
+++ b/examples/crux/todomvc-jewel-crux/build.xml
@@ -19,9 +19,9 @@
-->
-<project name="todomvc" default="main" basedir=".">
+<project name="todomvc-jewel-crux" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="todomvc" />
+ <property name="example" value="App" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/crux/todomvc-jewel-crux/src/main/config/compile-app-config.xml
b/examples/crux/todomvc-jewel-crux/src/main/config/compile-app-config.xml
index a507639..08e9cbb 100644
--- a/examples/crux/todomvc-jewel-crux/src/main/config/compile-app-config.xml
+++ b/examples/crux/todomvc-jewel-crux/src/main/config/compile-app-config.xml
@@ -29,11 +29,21 @@
<keep-as3-metadata>
<name>Bindable</name>
<name>Transient</name>
+
+ <name>Inject</name>
+ <name>Dispatcher</name>
+ <name>EventHandler</name>
+ <name>PostConstruct</name>
+ <name>PreDestroy</name>
+ <name>ViewAdded</name>
+ <name>ViewRemoved</name>
</keep-as3-metadata>
<js-library-path append="true">
<path-element>../../../../../../frameworks/js/libs/BasicJS.swc</path-element>
<path-element>../../../../../../frameworks/js/libs/IconsJS.swc</path-element>
+
<path-element>../../../../../../frameworks/js/libs/CruxJS.swc</path-element>
+
<path-element>../../../../../../frameworks/js/libs/MXRoyaleJS.swc</path-element>
</js-library-path>
<!--<library-path append="true">
<path-element>../../../../../../frameworks/libs/Basic.swc</path-element>
@@ -42,5 +52,9 @@
<theme>
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
</theme>
+ <exclude-defaults-css-files>
+ <!--<filename>MXRoyale.swc:defaults.css</filename>-->
+ <filename>MXRoyaleJS.swc:defaults.css</filename>
+ </exclude-defaults-css-files>
</compiler>
</royale-config>
diff --git a/examples/jewel/todomvc/build.xml b/examples/jewel/todomvc/build.xml
index 36b2dd6..67e783e 100644
--- a/examples/jewel/todomvc/build.xml
+++ b/examples/jewel/todomvc/build.xml
@@ -21,7 +21,7 @@
<project name="todomvc" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="todomvc" />
+ <property name="example" value="App" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>