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
The following commit(s) were added to refs/heads/develop by this push:
new e96738926b blog-examples: add missing Ant build scripts and configs
for the BE00* examples
e96738926b is described below
commit e96738926b8e5db94421ed29b5eb63b586c83279
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon May 5 16:14:13 2025 -0700
blog-examples: add missing Ant build scripts and configs for the BE00*
examples
These examples could be built with Maven only before now.
Added them all to examples/build.xml so that they are always checked"
---
examples/blog/BE0001_Hello_World/build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 31 +++++++++++++++++++
.../BE0003_Using_Jewel_Slider_Control/build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 31 +++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../build.xml | 13 +++++++-
.../src/main/config/compile-app-config.xml | 30 +++++++++++++++++++
.../build.xml | 13 +++++++-
.../src/main/config/compile-app-config.xml | 35 ++++++++++++++++++++++
.../JewelModule/asconfig.json | 8 +++--
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
.../MainJewelApp/asconfig.json | 8 +++--
.../src/main/config/compile-app-config.xml | 32 ++++++++++++++++++++
.../build.xml | 4 +--
.../src/main/config/compile-app-config.xml | 28 +++++++++++++++++
.../build.xml | 4 +--
.../src/main/config/compile-app-config.xml | 28 +++++++++++++++++
examples/blog/BE0016_Using_ComboBox/build.xml | 2 +-
.../src/main/config/compile-app-config.xml | 29 ++++++++++++++++++
examples/build.xml | 14 +++++++++
33 files changed, 540 insertions(+), 20 deletions(-)
diff --git a/examples/blog/BE0001_Hello_World/build.xml
b/examples/blog/BE0001_Hello_World/build.xml
index b2cad9be8c..7c8a8fe5f6 100644
--- a/examples/blog/BE0001_Hello_World/build.xml
+++ b/examples/blog/BE0001_Hello_World/build.xml
@@ -21,7 +21,7 @@
<project name="0001_Hello_World" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="HelloWorld" />
+ <property name="example" value="BE0001_Hello_World" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0002_Using_Jewel_Alert_Control/src/main/config/compile-app-config.xml
b/examples/blog/BE0002_Using_Jewel_Alert_Control/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..aed375292e
--- /dev/null
+++
b/examples/blog/BE0002_Using_Jewel_Alert_Control/src/main/config/compile-app-config.xml
@@ -0,0 +1,31 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Topaz-Theme/src/main/resources/defaults.css</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Secondary-Sapphire-Theme/src/main/resources/defaults.css</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Emphasized-Red-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
b/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
index af3edd437a..3d9c4bf01d 100644
--- a/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
+++ b/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
@@ -21,7 +21,7 @@
<project name="BE0003_Using_Jewel_Slider_Control" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0003_Using_Jewel_Slider_Control" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0003_Using_Jewel_Slider_Control/src/main/config/compile-app-config.xml
b/examples/blog/BE0003_Using_Jewel_Slider_Control/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..aed375292e
--- /dev/null
+++
b/examples/blog/BE0003_Using_Jewel_Slider_Control/src/main/config/compile-app-config.xml
@@ -0,0 +1,31 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Topaz-Theme/src/main/resources/defaults.css</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Secondary-Sapphire-Theme/src/main/resources/defaults.css</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Emphasized-Red-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/build.xml
b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/build.xml
index 2e9dc391a5..9eb62af1ec 100644
--- a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/build.xml
+++ b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/build.xml
@@ -21,7 +21,7 @@
<project name="BE0004_Adding_an_item_to_a_Jewel_List" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0004_Adding_an_item_to_a_Jewel_List" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/config/compile-app-config.xml
b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..db8ac4a358
--- /dev/null
+++
b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/build.xml
b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/build.xml
index 095fef3c35..6cbc07491d 100644
--- a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/build.xml
+++ b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/build.xml
@@ -21,7 +21,7 @@
<project name="BE0005_Creating_a_group_of_Jewel_RadioButtons" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0005_Creating_a_group_of_Jewel_RadioButtons" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/src/main/config/compile-app-config.xml
b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..e9e00cab96
--- /dev/null
+++
b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Blue-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
index 99e33df492..1b99560842 100644
---
a/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
+++
b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
@@ -21,7 +21,7 @@
<project
name="BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label"
default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label"
/>
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/config/compile-app-config.xml
b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..e9e00cab96
--- /dev/null
+++
b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Blue-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/build.xml
b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/build.xml
index 70e55f5b25..5bf52043d5 100644
---
a/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/build.xml
+++
b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/build.xml
@@ -21,7 +21,7 @@
<project
name="BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls"
default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/src/main/config/compile-app-config.xml
b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..e9e00cab96
--- /dev/null
+++
b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Blue-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/build.xml
b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/build.xml
index 5bec019305..89f2ccece1 100644
--- a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/build.xml
+++ b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/build.xml
@@ -21,7 +21,7 @@
<project name="BE0008_Using_View_States_to_show_or_hide_content"
default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0008_Using_View_States_to_show_or_hide_content" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/src/main/config/compile-app-config.xml
b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..e9e00cab96
--- /dev/null
+++
b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Blue-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/build.xml
b/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/build.xml
index f543437290..20ddbd9c76 100644
--- a/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/build.xml
+++ b/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/build.xml
@@ -21,7 +21,7 @@
<project name="BE0009_Using_an_Item_Renderer_with_a_List" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0009_Using_an_Item_Renderer_with_a_List"
/>
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/src/main/config/compile-app-config.xml
b/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..05dcd1bbe5
--- /dev/null
+++
b/examples/blog/BE0009_Using_an_Item_Renderer_with_a_List/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Green-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0010_Customization_through_the_Royale_API/build.xml
b/examples/blog/BE0010_Customization_through_the_Royale_API/build.xml
index 835f21a74a..28814eee2c 100644
--- a/examples/blog/BE0010_Customization_through_the_Royale_API/build.xml
+++ b/examples/blog/BE0010_Customization_through_the_Royale_API/build.xml
@@ -21,7 +21,7 @@
<project name="BE0010_Customization_through_the_Royale_API" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0010_Customization_through_the_Royale_API" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/config/compile-app-config.xml
b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..464122b179
--- /dev/null
+++
b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Red-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0011_Loading_external_data_through_HTTPService/build.xml
b/examples/blog/BE0011_Loading_external_data_through_HTTPService/build.xml
index 835f21a74a..e94dbc857d 100644
--- a/examples/blog/BE0011_Loading_external_data_through_HTTPService/build.xml
+++ b/examples/blog/BE0011_Loading_external_data_through_HTTPService/build.xml
@@ -21,7 +21,7 @@
<project name="BE0010_Customization_through_the_Royale_API" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0011_Loading_external_data_through_HTTPService" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
@@ -43,6 +43,17 @@
<include name="**" />
</fileset>
</copy>
+ <!-- copy the mock JSON response -->
+ <copy todir="${basedir}/bin/js-debug" failonerror="false">
+ <fileset dir="${basedir}/src/main/resources">
+ <include name="*.json" />
+ </fileset>
+ </copy>
+ <copy todir="${basedir}/bin/js-release" failonerror="false">
+ <fileset dir="${basedir}/src/main/resources">
+ <include name="*.json" />
+ </fileset>
+ </copy>
</target>
<target name="clean">
diff --git
a/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/config/compile-app-config.xml
b/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..3a07799c6f
--- /dev/null
+++
b/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/config/compile-app-config.xml
@@ -0,0 +1,30 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <define><name>CONFIG::MOCK_RESPONSE</name><value>false</value></define>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Turquoise-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git
a/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/build.xml
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/build.xml
index c2d2c1babc..605359e791 100644
---
a/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/build.xml
+++
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/build.xml
@@ -21,7 +21,7 @@
<project name="BE0012_Using_external_javascript_libraries_in_Apache_Royale"
default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example"
value="BE0012_Using_external_javascript_libraries_in_Apache_Royale" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
@@ -43,6 +43,17 @@
<include name="**" />
</fileset>
</copy>
+ <!-- copy the mock JSON response -->
+ <copy todir="${basedir}/bin/js-debug" failonerror="false">
+ <fileset dir="${basedir}/src/main/resources">
+ <include name="as3code.txt" />
+ </fileset>
+ </copy>
+ <copy todir="${basedir}/bin/js-release" failonerror="false">
+ <fileset dir="${basedir}/src/main/resources">
+ <include name="as3code.txt" />
+ </fileset>
+ </copy>
</target>
<target name="clean">
diff --git
a/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/config/compile-app-config.xml
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..f179b08688
--- /dev/null
+++
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/config/compile-app-config.xml
@@ -0,0 +1,35 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Sunflower-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+ <js-include-script>
+
<path-element>../assembly/third-party/highlight.js/9.12.0/highlight.min.js</path-element>
+ </js-include-script>
+ <js-include-css>
+
<path-element>../assembly/third-party/highlight.js/9.12.0/atom-one-dark.min.css</path-element>
+ </js-include-css>
+</royale-config>
diff --git
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/asconfig.json
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/asconfig.json
index 1a356323fe..362039d4f2 100644
---
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/asconfig.json
+++
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/asconfig.json
@@ -22,10 +22,14 @@
"debug": false,
"targets": ["JSRoyale"],
"source-map": true,
- "theme":
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
+ "theme":
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css",
+ "remove-circulars": true
},
"copySourcePathAssets": true,
- "additionalOptions": "-remove-circulars
-js-output-optimization=skipAsCoercions ",
+ "additionalOptions": [
+ "-js-compiler-option=--variable_map_input_file
../../../MainJewelApp/bin/js-release/gccvars.txt",
+ "-js-compiler-option+=--property_map_input_file
../../../MainJewelApp/bin/js-release/gccprops.txt"
+ ],
"files":
[
"src/main/royale/JewelModule.mxml"
diff --git
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/config/compile-app-config.xml
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..bf312e2765
--- /dev/null
+++
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ </compiler>
+ <js-compiler-option>
+ <option>--variable_map_input_file
../../../MainJewelApp/bin/js-release/gccvars.txt</option>
+ <option>--property_map_input_file
../../../MainJewelApp/bin/js-release/gccprops.txt</option>
+ </js-compiler-option>
+</royale-config>
diff --git
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/asconfig.json
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/asconfig.json
index 2efab75f5a..ac165b1e8b 100644
---
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/asconfig.json
+++
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/asconfig.json
@@ -23,10 +23,14 @@
"targets": ["JSRoyale"],
"source-map": true,
"html-template":
"src/main/resources/jewel-example-index-template.html",
- "theme":
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
+ "theme":
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css",
+ "remove-circulars": true
},
"copySourcePathAssets": true,
- "additionalOptions": "-remove-circulars
-js-output-optimization=skipAsCoercions",
+ "additionalOptions": [
+ "-js-compiler-option=--variable_map_output_file gccvars.txt",
+ "-js-compiler-option+=--property_map_output_file gccprops.txt"
+ ],
"files":
[
"src/main/royale/MainJewelApp.mxml"
diff --git
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/config/compile-app-config.xml
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..a70f8580c6
--- /dev/null
+++
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/config/compile-app-config.xml
@@ -0,0 +1,32 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../../frameworks/libs/JewelTheme.swc</filename>
+ </theme>
+ </compiler>
+ <js-compiler-option>
+ <option>--variable_map_output_file gccvars.txt</option>
+ <option>--property_map_output_file gccprops.txt</option>
+ </js-compiler-option>
+</royale-config>
diff --git a/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
b/examples/blog/BE0014_Working_with_vector_graphics/build.xml
similarity index 94%
copy from examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
copy to examples/blog/BE0014_Working_with_vector_graphics/build.xml
index af3edd437a..f21890139f 100644
--- a/examples/blog/BE0003_Using_Jewel_Slider_Control/build.xml
+++ b/examples/blog/BE0014_Working_with_vector_graphics/build.xml
@@ -19,9 +19,9 @@
-->
-<project name="BE0003_Using_Jewel_Slider_Control" default="main" basedir=".">
+<project name="0014_Working_with_vector_graphics" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0014_Working_with_vector_graphics" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0014_Working_with_vector_graphics/src/main/config/compile-app-config.xml
b/examples/blog/BE0014_Working_with_vector_graphics/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..ed1cf8b00f
--- /dev/null
+++
b/examples/blog/BE0014_Working_with_vector_graphics/src/main/config/compile-app-config.xml
@@ -0,0 +1,28 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/blog/BE0016_Using_ComboBox/build.xml
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/build.xml
similarity index 94%
copy from examples/blog/BE0016_Using_ComboBox/build.xml
copy to examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/build.xml
index 2e9dc391a5..84a2a165c8 100644
--- a/examples/blog/BE0016_Using_ComboBox/build.xml
+++ b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/build.xml
@@ -19,9 +19,9 @@
-->
-<project name="BE0004_Adding_an_item_to_a_Jewel_List" default="main"
basedir=".">
+<project name="0015_Using_Jewel_TileHorizontalLayout" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0015_Using_Jewel_TileHorizontalLayout" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/config/compile-app-config.xml
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..ed1cf8b00f
--- /dev/null
+++
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/config/compile-app-config.xml
@@ -0,0 +1,28 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/blog/BE0016_Using_ComboBox/build.xml
b/examples/blog/BE0016_Using_ComboBox/build.xml
index 2e9dc391a5..dd065ab39c 100644
--- a/examples/blog/BE0016_Using_ComboBox/build.xml
+++ b/examples/blog/BE0016_Using_ComboBox/build.xml
@@ -21,7 +21,7 @@
<project name="BE0004_Adding_an_item_to_a_Jewel_List" default="main"
basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
- <property name="example" value="App" />
+ <property name="example" value="BE0016_Using_ComboBox" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
diff --git
a/examples/blog/BE0016_Using_ComboBox/src/main/config/compile-app-config.xml
b/examples/blog/BE0016_Using_ComboBox/src/main/config/compile-app-config.xml
new file mode 100644
index 0000000000..db8ac4a358
--- /dev/null
+++ b/examples/blog/BE0016_Using_ComboBox/src/main/config/compile-app-config.xml
@@ -0,0 +1,29 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<royale-config>
+ <compiler>
+ <targets>
+ <target>JSRoyale</target>
+ </targets>
+ <theme>
+
<filename>../../../../../../frameworks/libs/JewelTheme.swc</filename>
+
<filename>../../../../../../frameworks/themes/Jewel-Light-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css</filename>
+ </theme>
+ </compiler>
+</royale-config>
diff --git a/examples/build.xml b/examples/build.xml
index 10e307ed41..713c5bf3fe 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -127,6 +127,20 @@
<ant dir="${basedir}/mxroyale/ResourceManagerExample"/>
<ant dir="${basedir}/native/ButtonExample"/>
<ant dir="${basedir}/native/USStatesMap"/>
+ <ant dir="${basedir}/blog/BE0001_Hello_World"/>
+ <ant dir="${basedir}/blog/BE0002_Using_Jewel_Alert_Control"/>
+ <ant dir="${basedir}/blog/BE0003_Using_Jewel_Slider_Control"/>
+ <ant dir="${basedir}/blog/BE0004_Adding_an_item_to_a_Jewel_List"/>
+ <ant
dir="${basedir}/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons"/>
+ <ant
dir="${basedir}/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label"/>
+ <ant
dir="${basedir}/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls"/>
+ <ant
dir="${basedir}/blog/BE0008_Using_View_States_to_show_or_hide_content"/>
+ <ant dir="${basedir}/blog/BE0009_Using_an_Item_Renderer_with_a_List"/>
+ <ant
dir="${basedir}/blog/BE0010_Customization_through_the_Royale_API"/>
+ <ant
dir="${basedir}/blog/BE0011_Loading_external_data_through_HTTPService"/>
+ <ant
dir="${basedir}/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale"/>
+ <ant
dir="${basedir}/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules"/>
+ <ant dir="${basedir}/blog/BE0014_Working_with_vector_graphics"/>
</target>
<!--