You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by cd...@apache.org on 2021/03/21 11:35:28 UTC
[royale-asjs] 03/17: - First major refactoring to align the Maven
and the ANT distribution a bit more
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit d7b6f9fc56327cd6d6fdaaaa8e0fbec9d72e2906
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Mar 1 23:08:24 2021 +0100
- First major refactoring to align the Maven and the ANT distribution a bit more
---
distribution/pom.xml | 272 +++++---
.../main/assembly/component-royale-with-swf.xml | 12 +-
.../main/assembly/component-royale-without-swf.xml | 10 -
.../src/main/assembly/component-royale.xml | 700 +++++++++------------
.../frameworks/flex-config-template.xml | 491 ---------------
.../frameworks/royale-config-template.xml | 547 ----------------
.../frameworks/flex-config-template.xml | 489 --------------
.../frameworks/royale-config-template.xml | 546 ----------------
distribution/src/main/resources/bin/acompc | 29 -
distribution/src/main/resources/bin/acompc.bat | 26 -
distribution/src/main/resources/bin/amxmlc | 29 -
distribution/src/main/resources/bin/amxmlc.bat | 26 -
distribution/src/main/resources/bin/compc | 71 ---
distribution/src/main/resources/bin/compc.bat | 32 -
distribution/src/main/resources/bin/mxmlc | 71 ---
distribution/src/main/resources/bin/mxmlc.bat | 33 -
distribution/src/main/resources/bin/optimizer | 62 --
distribution/src/main/resources/bin/optimizer.bat | 27 -
distribution/src/main/resources/bin/swcdepends | 71 ---
distribution/src/main/resources/bin/swcdepends.bat | 31 -
distribution/src/main/resources/bin/swfdump | 62 --
distribution/src/main/resources/bin/swfdump.bat | 26 -
.../resources/frameworks/ace-config-template.xml | 347 ----------
.../src/main/resources/frameworks/ace-config.xml | 347 ----------
.../resources/frameworks/air-config-template.xml | 461 --------------
.../src/main/resources/frameworks/air-config.xml | 457 --------------
.../main/resources/frameworks/airmobile-config.xml | 457 --------------
.../src/main/resources/frameworks/asdoc-config.xml | 479 --------------
.../frameworks/createjs-config-template.xml | 348 ----------
.../main/resources/frameworks/createjs-config.xml | 348 ----------
.../frameworks/jquery-config-template.xml | 347 ----------
.../main/resources/frameworks/jquery-config.xml | 347 ----------
.../resources/frameworks/js-config-template.xml | 345 ----------
.../src/main/resources/frameworks/js-config.xml | 345 ----------
.../src/main/resources/frameworks/mx/readme.md | 20 +
.../resources/frameworks/mxml-2009-manifest.xml | 45 --
.../main/resources/frameworks/mxml-manifest.xml | 8 +-
.../resources/frameworks/node-config-template.xml | 346 ----------
.../src/main/resources/frameworks/node-config.xml | 346 ----------
.../main/resources/frameworks/spark-manifest.xml | 8 +-
distribution/src/main/resources/js/bin/asjsc | 70 ---
distribution/src/main/resources/js/bin/asjsc.bat | 29 -
distribution/src/main/resources/js/bin/asjscompc | 70 ---
.../src/main/resources/js/bin/asjscompc.bat | 29 -
distribution/src/main/resources/js/bin/asnodec | 70 ---
distribution/src/main/resources/js/bin/asnodec.bat | 29 -
distribution/src/main/resources/js/bin/compc | 70 ---
distribution/src/main/resources/js/bin/compc.bat | 29 -
distribution/src/main/resources/js/bin/externc | 70 ---
distribution/src/main/resources/js/bin/externc.bat | 29 -
distribution/src/main/resources/js/bin/jquery | 70 ---
distribution/src/main/resources/js/bin/jquery.bat | 29 -
distribution/src/main/resources/js/bin/mxmlc | 70 ---
distribution/src/main/resources/js/bin/mxmlc.bat | 31 -
distribution/src/main/xslt/process-configs.xsl | 101 +++
55 files changed, 609 insertions(+), 9251 deletions(-)
diff --git a/distribution/pom.xml b/distribution/pom.xml
index c1b91d8..f3291f6 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -16,7 +16,8 @@
See the License for the specific language governing permissions and
limitations under the License.
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -41,6 +42,7 @@
<targetPlayerMajorVersion>20</targetPlayerMajorVersion>
<targetPlayerMinorVersion>0</targetPlayerMinorVersion>
+ <strip-swf>true</strip-swf>
<assembly.bin>bin.xml</assembly.bin>
<assembly.dir>dir.xml</assembly.dir>
<assembly.sdk-description>royale-sdk-description.xml</assembly.sdk-description>
@@ -58,6 +60,170 @@
<module>jars/mxmlc</module>
</modules>
+ <build>
+ <finalName>${distributionFileName}</finalName>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.5</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.10</version>
+ <executions>
+ <execution>
+ <id>copy-compiler-jx</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.royale.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>${royale.compiler.version}</version>
+ <type>jar</type>
+ <destFileName>jsc.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/jsc</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack-compiler-scripts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.royale.compiler</groupId>
+ <artifactId>compiler</artifactId>
+ <version>${royale.compiler.version}</version>
+ <type>jar</type>
+ <classifier>scripts</classifier>
+ <outputDirectory>${project.build.directory}/dependency/compiler</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack-closure-compiler</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>com.google.javascript</groupId>
+ <artifactId>closure-compiler</artifactId>
+ <version>v20181210</version>
+ <type>jar</type>
+ <destFileName>closure-compiler.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack-closure-library</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.clojure</groupId>
+ <artifactId>google-closure-library</artifactId>
+ <version>0.0-20170809-b9c14c6b</version>
+ <type>jar</type>
+ <outputDirectory>${project.build.directory}/closure-library-temp</outputDirectory>
+ <includes>**</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0.2</version>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>${project.basedir}/../frameworks</dir>
+ <includes>*.xml</includes>
+ <stylesheet>src/main/xslt/process-configs.xsl</stylesheet>
+ <includes>*-template.xml</includes>
+ <parameters>
+ <parameter>
+ <name>SwfVersion</name>
+ <value>${swf.version}</value>
+ </parameter>
+ <parameter>
+ <name>PlayerVersion</name>
+ <value>${flash.version}</value>
+ </parameter>
+ <parameter>
+ <name>Locale</name>
+ <value>en_US</value>
+ </parameter>
+ <parameter>
+ <name>StripSwf</name>
+ <value>${strip-swf}</value>
+ </parameter>
+ </parameters>
+ <outputDir>${project.build.directory}/processed-configs</outputDir>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>9.1.0.8</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-distro-packages</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/${assembly.bin}</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<!-- Add the compiler module -->
<dependency>
@@ -67,6 +233,12 @@
</dependency>
<dependency>
<groupId>org.apache.royale.compiler</groupId>
+ <artifactId>compiler</artifactId>
+ <version>${royale.compiler.version}</version>
+ <classifier>scripts</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.royale.compiler</groupId>
<artifactId>flex-compiler-oem</artifactId>
<version>${royale.compiler.version}</version>
</dependency>
@@ -481,102 +653,6 @@
</dependency>
</dependencies>
- <build>
- <finalName>${distributionFileName}</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <version>1.5</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- <executions>
- <execution>
- <id>copy-compiler-jx</id>
- <phase>package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.royale.compiler</groupId>
- <artifactId>compiler-jx</artifactId>
- <version>${royale.compiler.version}</version>
- <type>jar</type>
- <destFileName>jsc.jar</destFileName>
- </artifactItem>
- </artifactItems>
- <outputDirectory>${project.build.directory}/jsc</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>unpack-closure-compiler</id>
- <phase>package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.google.javascript</groupId>
- <artifactId>closure-compiler</artifactId>
- <version>v20181210</version>
- <type>jar</type>
- <destFileName>closure-compiler.jar</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>unpack-closure-library</id>
- <phase>process-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.clojure</groupId>
- <artifactId>google-closure-library</artifactId>
- <version>0.0-20170809-b9c14c6b</version>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/closure-library-temp</outputDirectory>
- <includes>**</includes>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>create-distro-packages</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/${assembly.bin}</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>apache-release</id>
@@ -607,6 +683,7 @@
<profile>
<id>option-with-swf</id>
<properties>
+ <strip-swf>false</strip-swf>
<assembly.bin>bin-with-swf.xml</assembly.bin>
<assembly.dir>dir-with-swf.xml</assembly.dir>
<assembly.sdk-description>royale-sdk-description-with-swf.xml</assembly.sdk-description>
@@ -937,6 +1014,7 @@
</dependency>
</dependencies>
</profile>
+
<profile>
<id>_create-distribution-in-folder</id>
<activation>
diff --git a/distribution/src/main/assembly/component-royale-with-swf.xml b/distribution/src/main/assembly/component-royale-with-swf.xml
index ac748cb..f5492f0 100644
--- a/distribution/src/main/assembly/component-royale-with-swf.xml
+++ b/distribution/src/main/assembly/component-royale-with-swf.xml
@@ -18,26 +18,18 @@ under the License.
-->
<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3 http://maven.apache.org/xsd/component-1.1.3.xsd">
- <fileSets>
- <fileSet>
- <directory>src/main/resources-with-swf</directory>
- <outputDirectory></outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- <filtered>true</filtered>
- </fileSet>
- </fileSets>
<dependencySets>
<!-- Put the framework swcs into the frameworks/libs directory -->
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>frameworks/libs</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
<includes>
<include>org.apache.royale.framework:*:swc</include>
</includes>
<excludes>
<exclude>org.apache.royale.framework:*:swc:typedefs</exclude>
+ <exclude>org.apache.royale.framework:*:swc:js</exclude>
</excludes>
</dependencySet>
</dependencySets>
diff --git a/distribution/src/main/assembly/component-royale-without-swf.xml b/distribution/src/main/assembly/component-royale-without-swf.xml
index 30fba5a..147dbc0 100644
--- a/distribution/src/main/assembly/component-royale-without-swf.xml
+++ b/distribution/src/main/assembly/component-royale-without-swf.xml
@@ -18,14 +18,4 @@ under the License.
-->
<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3 http://maven.apache.org/xsd/component-1.1.3.xsd">
- <fileSets>
- <fileSet>
- <directory>src/main/resources-without-swf</directory>
- <outputDirectory></outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- <filtered>true</filtered>
- </fileSet>
- </fileSets>
</component>
diff --git a/distribution/src/main/assembly/component-royale.xml b/distribution/src/main/assembly/component-royale.xml
index 5593312..d8aa2bd 100644
--- a/distribution/src/main/assembly/component-royale.xml
+++ b/distribution/src/main/assembly/component-royale.xml
@@ -16,413 +16,319 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3 http://maven.apache.org/xsd/component-1.1.3.xsd">
- <dependencySets>
- <!--
- Every lib - except the jx related ones - in the royale.compiler namespace
- should go to the lib directory.
- -->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>lib</outputDirectory>
- <!-- FlashBuilder doesn't like us appending the version to the jar name -->
- <!--outputFileNameMapping>${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping-->
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>org.apache.royale.compiler:*:jar</include>
- <include>org.apache.royale.framework.distribution:*:jar</include>
- </includes>
- <excludes>
- <exclude>org.apache.royale.compiler:compiler-jx:jar</exclude>
- </excludes>
- </dependencySet>
- <!-- Everything else should go to the lib/ext directory -->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>lib/external</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>*:jar</include>
- </includes>
- <excludes>
- <exclude>org.apache.royale.compiler:*</exclude>
- <exclude>*:args4j:jar</exclude>
- <exclude>*:google-closure-library*:jar</exclude>
- <exclude>*:org.json:jar</exclude>
- </excludes>
- </dependencySet>
- <!-- Put the externs swcs into the externs directory -->
- <!--dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>externs</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>org.apache.royale.typedefs:*</include>
- </includes>
- </dependencySet-->
- <!-- Put the framework js-swcs into the frameworks/libs directory -->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>frameworks/js/libs</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}JS.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>org.apache.royale.framework:*:swc:js</include>
- </includes>
- </dependencySet>
+<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.3 http://maven.apache.org/xsd/component-1.1.3.xsd">
+ <dependencySets>
+ <!--
+ Every lib - except the jx related ones - in the royale.compiler namespace
+ should go to the lib directory.
+ -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib</outputDirectory>
+ <!-- FlashBuilder doesn't like us appending the version to the jar name -->
+ <!--outputFileNameMapping>${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping-->
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <includes>
+ <include>org.apache.royale.compiler:*:jar</include>
+ <include>org.apache.royale.framework.distribution:*:jar</include>
+ </includes>
+ <excludes>
+ <exclude>org.apache.royale.compiler:compiler:jar:scripts</exclude>
+ <exclude>org.apache.royale.compiler:compiler-jx:jar</exclude>
+ </excludes>
+ </dependencySet>
+ <!-- Everything else should go to the lib/ext directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib/external</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <includes>
+ <include>*:jar</include>
+ </includes>
+ <excludes>
+ <exclude>org.apache.royale.compiler:*</exclude>
+ <exclude>*:args4j:jar</exclude>
+ <exclude>*:google-closure-library*:jar</exclude>
+ <exclude>*:org.json:jar</exclude>
+ </excludes>
+ </dependencySet>
+ <!-- Put the externs swcs into the externs directory -->
+ <!--dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>externs</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <includes>
+ <include>org.apache.royale.typedefs:*</include>
+ </includes>
+ </dependencySet-->
+ <!-- Put the framework js-swcs into the frameworks/libs directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>frameworks/js/libs</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}JS.${artifact.extension}</outputFileNameMapping>
+ <includes>
+ <include>org.apache.royale.framework:*:swc:js</include>
+ </includes>
+ </dependencySet>
- <!-- Put all the jx libs in the js/lib directory -->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>js/lib</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <!-- <include>org.apache.royale.compiler:compiler-jx:jar</include> -->
- <include>*:args4j:jar</include>
- <include>*:commons-io:*</include>
- <include>*:flex-tool-api:*</include>
- <!-- <include>*:google-closure-library*:jar</include> -->
- <include>*:guava:*</include>
- <include>*:org.json:jar</include>
- </includes>
- </dependencySet>
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>js/libs</outputDirectory>
- <includes>
- <include>org.apache.royale.typedefs:*:swc</include>
- </includes>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- </dependencySet>
+ <!-- Put all the jx libs in the js/lib directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>js/lib</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <includes>
+ <!-- <include>org.apache.royale.compiler:compiler-jx:jar</include> -->
+ <include>*:args4j:jar</include>
+ <include>*:commons-io:*</include>
+ <include>*:flex-tool-api:*</include>
+ <!-- <include>*:google-closure-library*:jar</include> -->
+ <include>*:guava:*</include>
+ <include>*:org.json:jar</include>
+ </includes>
+ </dependencySet>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>js/libs</outputDirectory>
+ <includes>
+ <include>org.apache.royale.typedefs:*:swc</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ </dependencySet>
- <!-- Put the framework swcs into the frameworks/libs directory (needed for IDEs) -->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>frameworks/libs</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>org.apache.royale.framework:*:swc</include>
- </includes>
- <excludes>
- <exclude>org.apache.royale.framework:*:swc:typedefs</exclude>
- </excludes>
- </dependencySet>
+ <!-- Copy the fonts -->
+ <!-- Disabled as currently font swf compilation is deactivated -->
+ <!--dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>frameworks/fonts</outputDirectory>
+ <includes>
+ <include>org.apache.royale.framework:Fonts:swf</include>
+ </includes>
+ <outputFileNameMapping>flat-ui-icons-regular.swf</outputFileNameMapping>
+ </dependencySet-->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>frameworks/fonts</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <unpack>true</unpack>
+ <includes>
+ <include>org.apache.royale.framework:Fonts:war</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
- <!-- Copy the fonts -->
- <!-- Disabled as currently font swf compilation is deactivated -->
- <!--dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>frameworks/fonts</outputDirectory>
- <includes>
- <include>org.apache.royale.framework:Fonts:swf</include>
- </includes>
- <outputFileNameMapping>flat-ui-icons-regular.swf</outputFileNameMapping>
- </dependencySet-->
- <dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
- <outputDirectory>frameworks/fonts</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <unpack>true</unpack>
- <includes>
- <include>org.apache.royale.framework:Fonts:war</include>
- </includes>
- </dependencySet>
- </dependencySets>
+ <fileSets>
+ <!-- Include the LICENSE, NOTICE, README, RELEASE_NOTES from the root -->
+ <fileSet>
+ <directory>..</directory>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE</include>
+ <include>README*</include>
+ <include>RELEASE*</include>
+ <include>ide/**</include>
+ </includes>
+ </fileSet>
- <fileSets>
- <!-- Include the LICENSE, NOTICE, README, RELEASE_NOTES from the root -->
- <fileSet>
- <directory>..</directory>
- <includes>
- <include>LICENSE*</include>
- <include>NOTICE</include>
- <include>README*</include>
- <include>RELEASE*</include>
- <include>ide/**</include>
- </includes>
- </fileSet>
+ <!-- Copy the bin scripts -->
+ <fileSet>
+ <directory>${project.build.directory}/dependency/compiler</directory>
+ <outputDirectory>bin</outputDirectory>
+ <includes>
+ <include>*</include>
+ </includes>
+ <excludes>
+ <exclude>META-INF/**</exclude>
+ </excludes>
+ <!-- Make all scripts in here executable -->
+ <fileMode>0755</fileMode>
+ </fileSet>
- <!-- Copy the bin scripts -->
- <fileSet>
- <directory>src/main/resources/bin</directory>
- <outputDirectory>bin</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- <!-- Make all scripts in here executable -->
- <fileMode>0755</fileMode>
- </fileSet>
+ <!-- Copy the js scripts -->
+ <fileSet>
+ <directory>../js/bin</directory>
+ <outputDirectory>js/bin</outputDirectory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <!-- Make all scripts in here executable -->
+ <fileMode>0755</fileMode>
+ </fileSet>
- <!-- Copy the js scripts -->
- <fileSet>
- <directory>src/main/resources/js/bin</directory>
- <outputDirectory>js/bin</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- <!-- Make all scripts in here executable -->
- <fileMode>0755</fileMode>
- </fileSet>
+ <!-- Copy the dummy files needed by some software -->
+ <fileSet>
+ <directory>src/main/resources/frameworks</directory>
+ <outputDirectory>frameworks</outputDirectory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <filtered>true</filtered>
+ </fileSet>
- <!-- Copy the configurations -->
- <fileSet>
- <directory>src/main/resources/frameworks</directory>
- <outputDirectory>frameworks</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- <filtered>true</filtered>
- </fileSet>
-
- <!-- Copy the themes -->
- <fileSet>
- <directory>../frameworks/themes</directory>
- <outputDirectory>frameworks/themes</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- </fileSet>
+ <!-- Copy the projects -->
+ <fileSet>
+ <outputDirectory>frameworks/projects</outputDirectory>
+ <directory>../frameworks/projects</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ </excludes>
+ </fileSet>
- <!-- Copy the sdk descriptor -->
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory></outputDirectory>
- <includes>
- <include>flex-sdk-description.xml</include>
- </includes>
- <filtered>true</filtered>
- </fileSet>
+ <!-- Copy the js-projects -->
+ <fileSet>
+ <outputDirectory>frameworks/js</outputDirectory>
+ <directory>../frameworks/js</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet>
- <!-- Copy the unpacked closure-compiler -->
- <!-- <fileSet>
- <outputDirectory>js/lib/google/closure-compiler/compiler</outputDirectory>
- <directory>target/closure-compiler-temp</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileSet> -->
- <!-- Copy all from the parent -->
- <!-- <fileSet>
- <directory>../js/lib/google/closure-compiler/compiler</directory>
- <outputDirectory>js/lib/google/closure-compiler/compiler</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- </fileSet> -->
-
- <!-- Copy the unpacked closure-library -->
- <fileSet>
- <outputDirectory>js/lib/google/closure-library/closure</outputDirectory>
- <directory>target/closure-library-temp</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileSet>
- <!-- Copy all from the parent -->
- <!-- <fileSet>
- <directory>../js/lib/google/closure-library/closure</directory>
- <outputDirectory>js/lib/google/closure-library/closure</outputDirectory>
- <includes>
- <include>**</include>
- </includes>
- </fileSet> -->
- </fileSets>
+ <!-- Copy the themes -->
+ <fileSet>
+ <directory>../frameworks/themes</directory>
+ <outputDirectory>frameworks/themes</outputDirectory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet>
- <files>
- <!-- Copy the right sdk-description -->
- <file>
- <source>src/main/resources/${assembly.sdk-description}</source>
- <outputDirectory></outputDirectory>
- <destName>royale-sdk-description.xml</destName>
- <filtered>true</filtered>
- </file>
+ <!-- Copy the sdk descriptor -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>flex-sdk-description.xml</include>
+ </includes>
+ <filtered>true</filtered>
+ </fileSet>
- <!-- Rename main js dummy jar artifacts to "mxmlc.jar" and "compc.jar" that is what an IDE expects to find -->
- <file>
- <source>jars/compiler-mxmljsc/target/compiler-mxmljsc-${royale.compiler.version}.jar</source>
- <outputDirectory>js/lib</outputDirectory>
- <destName>mxmlc.jar</destName>
- </file>
- <file>
- <source>jars/compiler-compjsc/target/compiler-compjsc-${royale.compiler.version}.jar</source>
- <outputDirectory>js/lib</outputDirectory>
- <destName>compc.jar</destName>
- </file>
- <file>
- <source>${project.build.directory}/jsc/jsc.jar</source>
- <outputDirectory>js/lib</outputDirectory>
- </file>
+ <!-- Copy the unpacked closure-compiler -->
+ <!-- <fileSet>
+ <outputDirectory>js/lib/google/closure-compiler/compiler</outputDirectory>
+ <directory>target/closure-compiler-temp</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet> -->
+ <!-- Copy all from the parent -->
+ <!-- <fileSet>
+ <directory>../js/lib/google/closure-compiler/compiler</directory>
+ <outputDirectory>js/lib/google/closure-compiler/compiler</outputDirectory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet> -->
- <!-- Copy the manifests -->
- <file>
- <source>../frameworks/projects/Binding/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-binding.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Basic/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-basic.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Basic/src/main/resources/basic-as-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-as-manifest-basic.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Basic/src/main/resources/svg-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>svg-manifest-basic.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Charts/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-charts.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Collections/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-collections.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Core/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-core.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>createjs-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/DragDrop/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-dragdrop.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Effects/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-effects.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Flat/src/main/resources/flat-as-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>flat-as-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Flat/src/main/resources/flat-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>flat-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Formatters/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-formatters.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/GoogleMaps/src/main/resources/google-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>google-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Graphics/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-graphics.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Graphics/src/main/resources/svg-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>svg-manifest-graphics.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/HTML/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-html.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/HTML/src/main/resources/html-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>html-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/HTML5/src/main/resources/html5-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>html5-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/JQuery/src/main/resources/jquery-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>jquery-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Mobile/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-mobile.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Mobile/src/main/resources/cordova-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>cordova-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Network/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-network.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Icons/src/main/resources/icons-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-icons.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Storage/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-storage.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/XML/src/main/resources/basic-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>basic-manifest-xml.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Express/src/main/resources/express-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>express-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/FontAwesome/src/main/resources/fa-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>fa-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>mdl-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Jewel/src/main/resources/jewel-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>jewel-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Crux/src/main/resources/crux-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>crux-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/Icons/src/main/resources/icons-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>icons-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>mx-royale-manifest.xml</destName>
- </file>
- <file>
- <source>../frameworks/projects/SparkRoyale/src/main/resources/spark-royale-manifest.xml</source>
- <outputDirectory>frameworks/manifests</outputDirectory>
- <destName>spark-royale-manifest.xml</destName>
- </file>
- </files>
+ <!-- Copy the unpacked closure-library -->
+ <fileSet>
+ <outputDirectory>js/lib/google/closure-library/closure</outputDirectory>
+ <directory>target/closure-library-temp</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet>
+ <!-- Copy all from the parent -->
+ <!-- <fileSet>
+ <directory>../js/lib/google/closure-library/closure</directory>
+ <outputDirectory>js/lib/google/closure-library/closure</outputDirectory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileSet> -->
+ </fileSets>
+
+ <files>
+ <!-- Copy the right sdk-description -->
+ <file>
+ <source>src/main/resources/${assembly.sdk-description}</source>
+ <outputDirectory></outputDirectory>
+ <destName>royale-sdk-description.xml</destName>
+ <filtered>true</filtered>
+ </file>
+
+ <!-- Copy the configurations (also filter the content and rename them) -->
+ <file>
+ <source>${project.build.directory}/processed-configs/ace-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>ace-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/air-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>air-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <!-- In ant air-config.xml is simply copied to airmobile-config.xml -->
+ <file>
+ <source>${project.build.directory}/processed-configs/air-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>airmobile-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>../frameworks/asdoc-config.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/createjs-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>createjs-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/flex-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>flex-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/jquery-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>jquery-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/js-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>js-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>../frameworks/mxml-2009-manifest.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/node-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>node-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+ <file>
+ <source>${project.build.directory}/processed-configs/royale-config-template.xml</source>
+ <outputDirectory>frameworks</outputDirectory>
+ <destName>royale-config.xml</destName>
+ <filtered>true</filtered>
+ </file>
+
+ <!-- Rename main js dummy jar artifacts to "mxmlc.jar" and "compc.jar" that is what an IDE expects to find -->
+ <file>
+ <source>jars/compiler-mxmljsc/target/compiler-mxmljsc-${royale.compiler.version}.jar</source>
+ <outputDirectory>js/lib</outputDirectory>
+ <destName>mxmlc.jar</destName>
+ </file>
+ <file>
+ <source>jars/compiler-compjsc/target/compiler-compjsc-${royale.compiler.version}.jar</source>
+ <outputDirectory>js/lib</outputDirectory>
+ <destName>compc.jar</destName>
+ </file>
+ <file>
+ <source>${project.build.directory}/jsc/jsc.jar</source>
+ <outputDirectory>js/lib</outputDirectory>
+ </file>
+ </files>
</component>
diff --git a/distribution/src/main/resources-with-swf/frameworks/flex-config-template.xml b/distribution/src/main/resources-with-swf/frameworks/flex-config-template.xml
deleted file mode 100644
index 8c68552..0000000
--- a/distribution/src/main/resources-with-swf/frameworks/flex-config-template.xml
+++ /dev/null
@@ -1,491 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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.
-
--->
-
-
-<flex-config>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>@locale@</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs</path-element>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.Event</implicit-import>
- <implicit-import>org.apache.royale.events.EventDispatcher</implicit-import>
- <implicit-import>org.apache.royale.events.IEventDispatcher</implicit-import>
- <implicit-import>mx.events.MouseEvent</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
- <fxg-base-class>flash.display.Sprite</fxg-base-class>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/svg</uri>
- <manifest>manifests/svg-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>manifests/html-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mdl</uri>
- <manifest>manifests/mdl-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/express</uri>
- <manifest>manifests/express-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/fa</uri>
- <manifest>manifests/fa-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mx</uri>
- <manifest>manifests/mx-royale-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</flex-config>
diff --git a/distribution/src/main/resources-with-swf/frameworks/royale-config-template.xml b/distribution/src/main/resources-with-swf/frameworks/royale-config-template.xml
deleted file mode 100644
index 49c1201..0000000
--- a/distribution/src/main/resources-with-swf/frameworks/royale-config-template.xml
+++ /dev/null
@@ -1,547 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>@locale@</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs/Basic.swc</path-element>
- <path-element>libs/Binding.swc</path-element>
- <path-element>libs/Charts.swc</path-element>
- <path-element>libs/Collections.swc</path-element>
- <path-element>libs/Core.swc</path-element>
- <path-element>libs/CreateJS.swc</path-element>
- <path-element>libs/DragDrop.swc</path-element>
- <path-element>libs/Effects.swc</path-element>
- <path-element>libs/Express.swc</path-element>
- <path-element>libs/Flat.swc</path-element>
- <path-element>libs/FontAwesome.swc</path-element>
- <path-element>libs/Formatters.swc</path-element>
- <path-element>libs/GoogleMaps.swc</path-element>
- <path-element>libs/Graphics.swc</path-element>
- <path-element>libs/HTML.swc</path-element>
- <path-element>libs/HTML5.swc</path-element>
- <path-element>libs/Icons.swc</path-element>
- <path-element>libs/Jewel.swc</path-element>
- <path-element>libs/Crux.swc</path-element>
- <path-element>libs/jQuery.swc</path-element>
- <path-element>libs/Language.swc</path-element>
- <path-element>libs/MaterialDesignLite.swc</path-element>
- <path-element>libs/Mobile.swc</path-element>
- <path-element>libs/Network.swc</path-element>
- <path-element>libs/Reflection.swc</path-element>
- <path-element>libs/RoyaleSite.swc</path-element>
- <path-element>libs/RoyaleUnit.swc</path-element>
- <path-element>libs/RoyaleUnitUI.swc</path-element>
- <path-element>libs/Storage.swc</path-element>
- <path-element>libs/TLF.swc</path-element>
- <path-element>libs/Text.swc</path-element>
- <path-element>libs/XML.swc</path-element>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs/AceJS.swc</path-element>
- <path-element>js/libs/BasicJS.swc</path-element>
- <path-element>js/libs/BindingJS.swc</path-element>
- <path-element>js/libs/ChartsJS.swc</path-element>
- <path-element>js/libs/CollectionsJS.swc</path-element>
- <path-element>js/libs/CoreJS.swc</path-element>
- <path-element>js/libs/CreateJSJS.swc</path-element>
- <path-element>js/libs/DragDropJS.swc</path-element>
- <path-element>js/libs/EffectsJS.swc</path-element>
- <path-element>js/libs/ExpressJS.swc</path-element>
- <path-element>js/libs/FlatJS.swc</path-element>
- <path-element>js/libs/FontAwesomeJS.swc</path-element>
- <path-element>js/libs/FormattersJS.swc</path-element>
- <path-element>js/libs/GoogleMapsJS.swc</path-element>
- <path-element>js/libs/GraphicsJS.swc</path-element>
- <path-element>js/libs/HTMLJS.swc</path-element>
- <path-element>js/libs/HTML5JS.swc</path-element>
- <path-element>js/libs/IconsJS.swc</path-element>
- <path-element>js/libs/JewelJS.swc</path-element>
- <path-element>js/libs/CruxJS.swc</path-element>
- <path-element>js/libs/jQueryJS.swc</path-element>
- <path-element>js/libs/LanguageJS.swc</path-element>
- <path-element>js/libs/MaterialDesignLiteJS.swc</path-element>
- <path-element>js/libs/MobileJS.swc</path-element>
- <path-element>js/libs/NetworkJS.swc</path-element>
- <path-element>js/libs/ReflectionJS.swc</path-element>
- <path-element>js/libs/RoyaleSiteJS.swc</path-element>
- <path-element>js/libs/RoyaleUnitJS.swc</path-element>
- <path-element>js/libs/RoyaleUnitUIJS.swc</path-element>
- <path-element>js/libs/StorageJS.swc</path-element>
- <path-element>js/libs/TLFJS.swc</path-element>
- <path-element>js/libs/TextJS.swc</path-element>
- <path-element>js/libs/XMLJS.swc</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
- <fxg-base-class>flash.display.Sprite</fxg-base-class>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/svg</uri>
- <manifest>manifests/svg-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>manifests/html-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mdl</uri>
- <manifest>manifests/mdl-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/express</uri>
- <manifest>manifests/express-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/fa</uri>
- <manifest>manifests/fa-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources-without-swf/frameworks/flex-config-template.xml b/distribution/src/main/resources-without-swf/frameworks/flex-config-template.xml
deleted file mode 100644
index 66859f1..0000000
--- a/distribution/src/main/resources-without-swf/frameworks/flex-config-template.xml
+++ /dev/null
@@ -1,489 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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.
-
--->
-
-
-<flex-config>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>@locale@</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.Event</implicit-import>
- <implicit-import>org.apache.royale.events.EventDispatcher</implicit-import>
- <implicit-import>org.apache.royale.events.IEventDispatcher</implicit-import>
- <implicit-import>mx.events.MouseEvent</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
- <fxg-base-class>flash.display.Sprite</fxg-base-class>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/svg</uri>
- <manifest>manifests/svg-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>manifests/html-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mdl</uri>
- <manifest>manifests/mdl-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/express</uri>
- <manifest>manifests/express-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/fa</uri>
- <manifest>manifests/fa-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mx</uri>
- <manifest>manifests/mx-royale-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</flex-config>
diff --git a/distribution/src/main/resources-without-swf/frameworks/royale-config-template.xml b/distribution/src/main/resources-without-swf/frameworks/royale-config-template.xml
deleted file mode 100644
index e0e6e82..0000000
--- a/distribution/src/main/resources-without-swf/frameworks/royale-config-template.xml
+++ /dev/null
@@ -1,546 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>@locale@</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs/Basic.swc</path-element>
- <path-element>libs/Binding.swc</path-element>
- <path-element>libs/Charts.swc</path-element>
- <path-element>libs/Collections.swc</path-element>
- <path-element>libs/Core.swc</path-element>
- <path-element>libs/CreateJS.swc</path-element>
- <path-element>libs/DragDrop.swc</path-element>
- <path-element>libs/Effects.swc</path-element>
- <path-element>libs/Express.swc</path-element>
- <path-element>libs/Flat.swc</path-element>
- <path-element>libs/FontAwesome.swc</path-element>
- <path-element>libs/Formatters.swc</path-element>
- <path-element>libs/GoogleMaps.swc</path-element>
- <path-element>libs/Graphics.swc</path-element>
- <path-element>libs/HTML.swc</path-element>
- <path-element>libs/HTML5.swc</path-element>
- <path-element>libs/Icons.swc</path-element>
- <path-element>libs/Jewel.swc</path-element>
- <path-element>libs/Crux.swc</path-element>
- <path-element>libs/jQuery.swc</path-element>
- <path-element>libs/Language.swc</path-element>
- <path-element>libs/MaterialDesignLite.swc</path-element>
- <path-element>libs/Mobile.swc</path-element>
- <path-element>libs/Network.swc</path-element>
- <path-element>libs/Reflection.swc</path-element>
- <path-element>libs/RoyaleSite.swc</path-element>
- <path-element>libs/RoyaleUnit.swc</path-element>
- <path-element>libs/RoyaleUnitUI.swc</path-element>
- <path-element>libs/Storage.swc</path-element>
- <path-element>libs/TLF.swc</path-element>
- <path-element>libs/Text.swc</path-element>
- <path-element>libs/XML.swc</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs/AceJS.swc</path-element>
- <path-element>js/libs/BasicJS.swc</path-element>
- <path-element>js/libs/BindingJS.swc</path-element>
- <path-element>js/libs/ChartsJS.swc</path-element>
- <path-element>js/libs/CollectionsJS.swc</path-element>
- <path-element>js/libs/CoreJS.swc</path-element>
- <path-element>js/libs/CreateJSJS.swc</path-element>
- <path-element>js/libs/DragDropJS.swc</path-element>
- <path-element>js/libs/EffectsJS.swc</path-element>
- <path-element>js/libs/ExpressJS.swc</path-element>
- <path-element>js/libs/FlatJS.swc</path-element>
- <path-element>js/libs/FontAwesomeJS.swc</path-element>
- <path-element>js/libs/FormattersJS.swc</path-element>
- <path-element>js/libs/GoogleMapsJS.swc</path-element>
- <path-element>js/libs/GraphicsJS.swc</path-element>
- <path-element>js/libs/HTMLJS.swc</path-element>
- <path-element>js/libs/HTML5JS.swc</path-element>
- <path-element>js/libs/IconsJS.swc</path-element>
- <path-element>js/libs/JewelJS.swc</path-element>
- <path-element>js/libs/CruxJS.swc</path-element>
- <path-element>js/libs/jQueryJS.swc</path-element>
- <path-element>js/libs/LanguageJS.swc</path-element>
- <path-element>js/libs/MaterialDesignLiteJS.swc</path-element>
- <path-element>js/libs/MobileJS.swc</path-element>
- <path-element>js/libs/NetworkJS.swc</path-element>
- <path-element>js/libs/ReflectionJS.swc</path-element>
- <path-element>js/libs/RoyaleSiteJS.swc</path-element>
- <path-element>js/libs/RoyaleUnitJS.swc</path-element>
- <path-element>js/libs/RoyaleUnitUIJS.swc</path-element>
- <path-element>js/libs/StorageJS.swc</path-element>
- <path-element>js/libs/TLFJS.swc</path-element>
- <path-element>js/libs/TextJS.swc</path-element>
- <path-element>js/libs/XMLJS.swc</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
- <fxg-base-class>flash.display.Sprite</fxg-base-class>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/svg</uri>
- <manifest>manifests/svg-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>manifests/html-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/mdl</uri>
- <manifest>manifests/mdl-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/express</uri>
- <manifest>manifests/express-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/fa</uri>
- <manifest>manifests/fa-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/bin/acompc b/distribution/src/main/resources/bin/acompc
deleted file mode 100644
index 767bd7f..0000000
--- a/distribution/src/main/resources/bin/acompc
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# acompc shell script to launch compiler-compc.jar on OSX, Unix, or Cygwin to
-# compile SWC libraries for Adobe AIR.
-# In Windows Command Prompt, use acompc.bat instead.
-#
-
-compc=`dirname "$0"`/compc
-"$compc" +configname=air "$@"
diff --git a/distribution/src/main/resources/bin/acompc.bat b/distribution/src/main/resources/bin/acompc.bat
deleted file mode 100644
index 519411d..0000000
--- a/distribution/src/main/resources/bin/acompc.bat
+++ /dev/null
@@ -1,26 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem acompc.bat script to launch compiler-compc.jar in Windows Command Prompt to
-rem compile SWC libraries for Adobe AIR.
-rem On OSX, Unix, or Cygwin, use the acompc shell script instead.
-rem
-
-"%~dp0compc.bat" +configname=air %*
diff --git a/distribution/src/main/resources/bin/amxmlc b/distribution/src/main/resources/bin/amxmlc
deleted file mode 100644
index f675543..0000000
--- a/distribution/src/main/resources/bin/amxmlc
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# amxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin to
-# compile SWF applications for Adobe AIR.
-# In Windows Command Prompt, use amxmlc.bat instead.
-#
-
-mxmlc=`dirname "$0"`/mxmlc
-"$mxmlc" +configname=air "$@"
diff --git a/distribution/src/main/resources/bin/amxmlc.bat b/distribution/src/main/resources/bin/amxmlc.bat
deleted file mode 100644
index d476061..0000000
--- a/distribution/src/main/resources/bin/amxmlc.bat
+++ /dev/null
@@ -1,26 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem amxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt to
-rem compile SWF applications for Adobe AIR.
-rem On OSX, Unix, or Cygwin, use the amxmlc shell script instead.
-rem
-
-"%~dp0mxmlc.bat" +configname=air %*
diff --git a/distribution/src/main/resources/bin/compc b/distribution/src/main/resources/bin/compc
deleted file mode 100755
index 64d071e..0000000
--- a/distribution/src/main/resources/bin/compc
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# compc shell script to launch compiler-compc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use compc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-fi
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale SDK: $ROYALE_HOME
-fi
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/js/lib/compc.jar" --targets=SWF "$@"
diff --git a/distribution/src/main/resources/bin/compc.bat b/distribution/src/main/resources/bin/compc.bat
deleted file mode 100644
index acd4cea..0000000
--- a/distribution/src/main/resources/bin/compc.bat
+++ /dev/null
@@ -1,32 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem compc.bat script to launch compiler-compc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the compc shell script instead.
-rem
-
-setlocal
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%/frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar" --targets=SWF %*
-
diff --git a/distribution/src/main/resources/bin/mxmlc b/distribution/src/main/resources/bin/mxmlc
deleted file mode 100755
index 74dabce..0000000
--- a/distribution/src/main/resources/bin/mxmlc
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-fi
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale SDK: $ROYALE_HOME
-fi
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/js/lib/mxmlc.jar" --targets=SWF "$@"
diff --git a/distribution/src/main/resources/bin/mxmlc.bat b/distribution/src/main/resources/bin/mxmlc.bat
deleted file mode 100644
index 6092fa1..0000000
--- a/distribution/src/main/resources/bin/mxmlc.bat
+++ /dev/null
@@ -1,33 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem mxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
-rem
-
-setlocal
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" --targets=SWF %*
-
-
diff --git a/distribution/src/main/resources/bin/optimizer b/distribution/src/main/resources/bin/optimizer
deleted file mode 100644
index 02446a8..0000000
--- a/distribution/src/main/resources/bin/optimizer
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# foptimizer shell script to launch the optimizer from compiler-optimizer.jar on
-# OSX, Unix, or Cygwin. In Windows Command Prompt, use foptimizer.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-fi
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xms32m -Xmx512m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -jar "${ROYALE_COMPILER_HOME}/lib/compiler-optimizer.jar" "$@"
diff --git a/distribution/src/main/resources/bin/optimizer.bat b/distribution/src/main/resources/bin/optimizer.bat
deleted file mode 100644
index 1ea9fdf..0000000
--- a/distribution/src/main/resources/bin/optimizer.bat
+++ /dev/null
@@ -1,27 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem foptimizer.bat script to launch the compiler-optimizer.jar in a Windows
-rem Command Prompt. On OSX, Unix, or Cygwin, use the foptimizer shell script
-rem instead.
-rem
-
-@java -Dsun.io.useCanonCaches=false -Dapplication.home="%~dp0.." -Xms32m -Xmx512m -jar "%~dp0..\lib\compiler-optimizer.jar" %*
-
diff --git a/distribution/src/main/resources/bin/swcdepends b/distribution/src/main/resources/bin/swcdepends
deleted file mode 100644
index 65c1d91..0000000
--- a/distribution/src/main/resources/bin/swcdepends
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# fasc shell script to launch compiler-asc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use fasc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-fi
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale SDK: $ROYALE_HOME
-fi
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "${ROYALE_COMPILER_HOME}/lib/compiler-swcdepends.jar" "$@"
diff --git a/distribution/src/main/resources/bin/swcdepends.bat b/distribution/src/main/resources/bin/swcdepends.bat
deleted file mode 100644
index af325e9..0000000
--- a/distribution/src/main/resources/bin/swcdepends.bat
+++ /dev/null
@@ -1,31 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem swcdepends.bat script to launch compiler-swcdepends.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the swcdepends shell script instead.
-rem
-
-setlocal
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set ROYALE_COMPILER_HOME=%~dp0..) else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set ROYALE_HOME=%~dp0..) else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\lib\compiler-swcdepends.jar" %*
diff --git a/distribution/src/main/resources/bin/swfdump b/distribution/src/main/resources/bin/swfdump
deleted file mode 100644
index 55c3ea0..0000000
--- a/distribution/src/main/resources/bin/swfdump
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-#
-# fasc shell script to launch compiler-asc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use fasc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/..
-else
- echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-fi
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -jar "${ROYALE_COMPILER_HOME}/lib/compiler-swfdump.jar" "$@"
diff --git a/distribution/src/main/resources/bin/swfdump.bat b/distribution/src/main/resources/bin/swfdump.bat
deleted file mode 100644
index bc441bb..0000000
--- a/distribution/src/main/resources/bin/swfdump.bat
+++ /dev/null
@@ -1,26 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem fasc.bat script to launch compiler-asc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the fasc shell script instead.
-rem
-
-@java -Dsun.io.useCanonCaches=false -Dapplication.home="%~dp0.." -Xms32m -Xmx512m -jar "%~dp0..\lib\compiler-swfdump.jar" %*
-
diff --git a/distribution/src/main/resources/frameworks/ace-config-template.xml b/distribution/src/main/resources/frameworks/ace-config-template.xml
deleted file mode 100644
index 2503a1d..0000000
--- a/distribution/src/main/resources/frameworks/ace-config-template.xml
+++ /dev/null
@@ -1,347 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-ace.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/ace-config.xml b/distribution/src/main/resources/frameworks/ace-config.xml
deleted file mode 100644
index 58bf3ca..0000000
--- a/distribution/src/main/resources/frameworks/ace-config.xml
+++ /dev/null
@@ -1,347 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-ace.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/air-config-template.xml b/distribution/src/main/resources/frameworks/air-config-template.xml
deleted file mode 100644
index db39351..0000000
--- a/distribution/src/main/resources/frameworks/air-config-template.xml
+++ /dev/null
@@ -1,461 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>@locale@</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>{airHome}/frameworks/libs/air/airglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs</path-element>
- <path-element>{airHome}/frameworks/libs/air</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>manifests/html-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <!-- not set -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-U+007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order-->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>Apache Software Foundation</creator>
- <language>en_US</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/air-config.xml b/distribution/src/main/resources/frameworks/air-config.xml
deleted file mode 100644
index e3b926c..0000000
--- a/distribution/src/main/resources/frameworks/air-config.xml
+++ /dev/null
@@ -1,457 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>en_US</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>libs/air/airglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs</path-element>
- <path-element>{airHome}/frameworks/libs/air</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <!-- not set -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-U+007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order-->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>Apache Software Foundation</creator>
- <language>en_US</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/airmobile-config.xml b/distribution/src/main/resources/frameworks/airmobile-config.xml
deleted file mode 100644
index 73dfdba..0000000
--- a/distribution/src/main/resources/frameworks/airmobile-config.xml
+++ /dev/null
@@ -1,457 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>SWF</target>
- <target>JSRoyale</target>
- </targets>
-
- <define><name>COMPILE::SWF</name><value>AUTO</value></define>
- <define><name>COMPILE::JS</name><value>AUTO</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>en_US</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>{airHome}/frameworks/libs/air/airglobal.swc</path-element>
- </external-library-path>
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <js-external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </js-external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>libs</path-element>
- <path-element>{airHome}/frameworks/libs/air</path-element>
- </library-path>
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <js-library-path>
- <path-element>js/libs</path-element>
- </js-library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- <namespace>
- <uri>http://ns.adobe.com/mxml/2009</uri>
- <manifest>mxml-2009-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-binding.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-basic.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-charts.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-collections.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-core.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-dragdrop.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-effects.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-formatters.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-graphics.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-html.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-mobile.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>manifests/basic-manifest-network.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>manifests/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/flat</uri>
- <manifest>manifests/flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>manifests/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>manifests/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/cordova</uri>
- <manifest>manifests/cordova-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>manifests/createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>Mixin</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <!-- not set -->
- <theme>
- <filename>themes/Basic/src/basic.css</filename>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-U+007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order-->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>Apache Software Foundation</creator>
- <language>en_US</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/asdoc-config.xml b/distribution/src/main/resources/frameworks/asdoc-config.xml
deleted file mode 100644
index fad032b..0000000
--- a/distribution/src/main/resources/frameworks/asdoc-config.xml
+++ /dev/null
@@ -1,479 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.1</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>14</swf-version>
-
- <compiler>
-
- <define><name>COMPILE::SWF</name><value>true</value></define>
- <define><name>COMPILE::JS</name><value>false</value></define>
- <define><name>CONFIG::debug</name><value>false</value></define>
- <define><name>CONFIG::release</name><value>true</value></define>
- <define><name>CONFIG::LOGGING</name><value>false</value></define>
- <define><name>CONFIG::performanceInstrumentation</name><value>false</value></define>
-
- <!-- Turn on generation of accessible SWFs. -->
- <accessible>true</accessible>
-
- <!-- Specifies the locales for internationalization. -->
- <locale>
- <locale-element>en_US</locale-element>
- </locale>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
- <source-path>
- <path-element>${frameworks_dir}/projects/Binding/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Charts/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Collections/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/CreateJS/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/DragDrop/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Effects/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Formatters/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Graphics/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Basic/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/HTML5/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/JQuery/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Language/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Mobile/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Network/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Reflection/src/main/royale</path-element>
- </source-path>
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>${royalelib}/libs/core.swc</path-element>
- <path-element>${royalelib}/libs/framework.swc</path-element>
- <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
- </library-path>
-
- <!-- namespace declaration for asdoc -->
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Binding/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Charts/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Collections/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Core/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <manifest>${frameworks_dir}/projects/CreateJS/src/main/resources/createjs-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/DragDrop/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Effects/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Formatters/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/google</uri>
- <manifest>${frameworks_dir}/projects/GoogleMaps/src/main/resources/google-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Graphics/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Basic/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html5</uri>
- <manifest>${frameworks_dir}/projects/HTML5/src/main/resources/html5-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/jquery</uri>
- <manifest>${frameworks_dir}/projects/JQuery/src/main/resources/jquery-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Mobile/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/basic</uri>
- <manifest>${frameworks_dir}/projects/Network/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/royale/html</uri>
- <manifest>${frameworks_dir}/projects/HTML/src/main/resources/html-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
- <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
- cross-domain rsl.-->
- <!-- compute-digest usage:
- <compute-digest>boolean</compute-digest>
- -->
-
- <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
- <remove-unused-rsls>true</remove-unused-rsls>
-
- <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
- <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Enables SWFs to access the network. -->
- <use-network>true</use-network>
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
- <exclude-classes>
- <class>org.apache.royale.utils.Language</class>
- <class>org.apache.royale.utils.URLUtils</class>
- <class>org.apache.royale.core.IRoyaleElement</class>
- <class>org.apache.royale.core.WrappedHTMLElement</class>
- <class>org.apache.royale.events.BrowserEvent</class>
- <class>org.apache.royale.html.beads.CSSTextButtonView</class>
- <class>org.apache.royale.maps.google.beads.MapView_original</class>
- <class>org.apache.royale.events.utils.EventUtils</class>
- <class>org.apache.royale.utils.ObjectMap</class>
- </exclude-classes>
-
- <exclude-sources>
- <path-element>${frameworks_dir}/projects/Language/src/main/royale/org/apache.royale/utils/Language.as</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale/org/apache.royale/utils/URLUtils.as</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale/org/apache.royale/core/WrappedHTMLElement.as</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale/org/apache.royale/events/BrowserEvent.as</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale/org/apache.royale/events/utils/EventUtils.as</path-element>
- <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/royale/org/apache.royale/maps/google/beads/MapView_original.as</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale/org/apache.royale/utils/ObjectMap.as</path-element>
- </exclude-sources>
-
- <!-- source path for asdoc -->
-
- <!-- namespaces to include in asdoc -->
- <doc-namespaces>
- <uri>library://ns.apache.org/royale/basic</uri>
- <uri>library://ns.apache.org/royale/createjs</uri>
- <uri>library://ns.apache.org/royale/google</uri>
- <uri>library://ns.apache.org/royale/html5</uri>
- <uri>library://ns.apache.org/royale/jquery</uri>
- </doc-namespaces>
-
- <!-- classes to include in asdoc -->
- <doc-sources>
- <path-element>${frameworks_dir}/projects/Binding/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Charts/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Collections/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Core/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/CreateJS/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/DragDrop/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Effects/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Formatters/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/royale/org</path-element>
- <path-element>${frameworks_dir}/projects/Graphics/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Basic/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/HTML5/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/JQuery/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Mobile/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Network/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/Reflection/src/main/royale</path-element>
- <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/royale/google/maps/LatLng.as</path-element>
- </doc-sources>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/createjs-config-template.xml b/distribution/src/main/resources/frameworks/createjs-config-template.xml
deleted file mode 100644
index cb179d5..0000000
--- a/distribution/src/main/resources/frameworks/createjs-config-template.xml
+++ /dev/null
@@ -1,348 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-createjs.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/createjs-config.xml b/distribution/src/main/resources/frameworks/createjs-config.xml
deleted file mode 100644
index af6ff80..0000000
--- a/distribution/src/main/resources/frameworks/createjs-config.xml
+++ /dev/null
@@ -1,348 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
-
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-createjs.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/jquery-config-template.xml b/distribution/src/main/resources/frameworks/jquery-config-template.xml
deleted file mode 100644
index e26ec29..0000000
--- a/distribution/src/main/resources/frameworks/jquery-config-template.xml
+++ /dev/null
@@ -1,347 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-jquery.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/jquery-config.xml b/distribution/src/main/resources/frameworks/jquery-config.xml
deleted file mode 100644
index 0d7c571..0000000
--- a/distribution/src/main/resources/frameworks/jquery-config.xml
+++ /dev/null
@@ -1,347 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-jquery.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/js-config-template.xml b/distribution/src/main/resources/frameworks/js-config-template.xml
deleted file mode 100644
index 375ed2e..0000000
--- a/distribution/src/main/resources/frameworks/js-config-template.xml
+++ /dev/null
@@ -1,345 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/js-config.xml b/distribution/src/main/resources/frameworks/js-config.xml
deleted file mode 100644
index e952c3b..0000000
--- a/distribution/src/main/resources/frameworks/js-config.xml
+++ /dev/null
@@ -1,345 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JS</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/mx/readme.md b/distribution/src/main/resources/frameworks/mx/readme.md
new file mode 100644
index 0000000..46a5ffd
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/mx/readme.md
@@ -0,0 +1,20 @@
+<!--
+
+ 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.
+
+-->
+
+FlashBuilder seems to need this directory.
\ No newline at end of file
diff --git a/distribution/src/main/resources/frameworks/mxml-2009-manifest.xml b/distribution/src/main/resources/frameworks/mxml-2009-manifest.xml
deleted file mode 100644
index c50c250..0000000
--- a/distribution/src/main/resources/frameworks/mxml-2009-manifest.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.
-
--->
-
-<!--
-
- MXML 2009 Components
-
--->
-<componentPackage>
-
- <!-- AS3 built-ins -->
- <component id="Array" class="Array" lookupOnly="true"/>
- <component id="Boolean" class="Boolean" lookupOnly="true"/>
- <component id="Class" class="Class" lookupOnly="true"/>
- <component id="Date" class="Date" lookupOnly="true"/>
- <component id="DesignLayer" class="mx.core.DesignLayer"/>
- <component id="Function" class="Function" lookupOnly="true"/>
- <component id="int" class="int" lookupOnly="true"/>
- <component id="Number" class="Number" lookupOnly="true"/>
- <component id="Object" class="Object" lookupOnly="true"/>
- <component id="RegExp" class="RegExp" lookupOnly="true"/>
- <component id="String" class="String" lookupOnly="true"/>
- <component id="uint" class="uint" lookupOnly="true"/>
- <component id="Vector" class="__AS3__.vec.Vector" lookupOnly="true"/>
- <component id="XML" class="XML" lookupOnly="true"/>
- <component id="XMLList" class="XMLList" lookupOnly="true"/>
-
-</componentPackage>
diff --git a/distribution/src/main/resources/frameworks/mxml-manifest.xml b/distribution/src/main/resources/frameworks/mxml-manifest.xml
index 5dd6cdd..24a4e83 100644
--- a/distribution/src/main/resources/frameworks/mxml-manifest.xml
+++ b/distribution/src/main/resources/frameworks/mxml-manifest.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
- <!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -16,6 +16,6 @@
See the License for the specific language governing permissions and
limitations under the License.
- -->
- <componentPackage>
- </componentPackage>
+-->
+<componentPackage>
+</componentPackage>
diff --git a/distribution/src/main/resources/frameworks/node-config-template.xml b/distribution/src/main/resources/frameworks/node-config-template.xml
deleted file mode 100644
index 5b89c4d..0000000
--- a/distribution/src/main/resources/frameworks/node-config-template.xml
+++ /dev/null
@@ -1,346 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>@playerversion@</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>@swfversion@</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JSNode</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-node.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/node-config.xml b/distribution/src/main/resources/frameworks/node-config.xml
deleted file mode 100644
index 25928b7..0000000
--- a/distribution/src/main/resources/frameworks/node-config.xml
+++ /dev/null
@@ -1,346 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
- 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>
- <!-- Specifies the minimum player version that will run the compiled SWF. -->
- <target-player>11.7</target-player>
-
- <!-- Specifies the version of the compiled SWF -->
- <swf-version>20</swf-version>
-
- <compiler>
- <!-- build both SWF and JS. -->
- <targets>
- <target>JSNode</target>
- </targets>
-
- <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
- <!-- not set -->
- <!--
- <source-path>
- <path-element>string</path-element>
- </source-path>
- -->
-
- <!-- Allow the source-path to have path-elements which contain other path-elements -->
- <allow-source-path-overlap>false</allow-source-path-overlap>
-
- <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
- <!-- code. -->
- <show-actionscript-warnings>true</show-actionscript-warnings>
-
- <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
- <!-- but true by default for compc. -->
- <!--
- <debug>true</debug>
- -->
-
- <!-- List of SWC files or directories to compile against but to omit from -->
- <!-- linking. -->
- <external-library-path>
- <path-element>../js/libs/royale-typedefs-js.swc</path-element>
- <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
- <path-element>../js/libs/royale-typedefs-node.swc</path-element>
- </external-library-path>
-
- <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
- <!-- the compiler during mxml translation and are helpful with understanding and -->
- <!-- debugging Royale applications. -->
- <keep-generated-actionscript>false</keep-generated-actionscript>
-
- <!-- not set -->
- <!--
- <include-libraries>
- <library>string</library>
- </include-libraries>
- -->
-
- <!-- List of SWC files or directories that contain SWC files. -->
- <library-path>
- <path-element>js/libs/LanguageJS.swc</path-element>
- </library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- <imports>
- <implicit-import>org.apache.royale.events.*</implicit-import>
- <implicit-import>org.apache.royale.geom.*</implicit-import>
- <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
- <implicit-import>org.apache.royale.core.IFactory</implicit-import>
- </imports>
- </mxml>
- <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
- <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
- <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
- <states-class>org.apache.royale.states.State</states-class>
- <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
- <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
- <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
- <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
- <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
-
- <namespaces>
- <!-- Specify a URI to associate with a manifest of components for use as MXML -->
- <!-- elements. -->
- </namespaces>
-
- <!-- Enable post-link SWF optimization. -->
- <optimize>true</optimize>
-
- <!-- Enable trace statement omission. -->
- <omit-trace-statements>true</omit-trace-statements>
-
- <!-- Keep the following AS3 metadata in the bytecodes. -->
- <!-- Warning: For the data binding feature in the Royale framework to work properly, -->
- <!-- the following metadata must be kept: -->
- <!-- 1. Bindable -->
- <!-- 2. Managed -->
- <!-- 3. ChangeEvent -->
- <!-- 4. NonCommittingChangeEvent -->
- <!-- 5. Transient -->
- <!--
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
- -->
-
- <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
- <!-- will not be able to detect assignments to "foo". -->
- <show-binding-warnings>true</show-binding-warnings>
-
- <!-- toggle whether warnings generated from unused type selectors are displayed -->
- <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
-
- <!-- Run the AS3 compiler in strict error checking mode. -->
- <strict>true</strict>
-
- <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
- <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
- <!-- (-strict is recommended, but not required, for earlier errors) -->
- <as3>true</as3>
-
- <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
- <!-- properties. In the prototype based object model built-in functions are implemented as dynamic -->
- <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for -->
- <!-- references to dynamic properties) -->
- <es>false</es>
-
- <!-- List of CSS or SWC files to apply as a theme. -->
- <theme>
- </theme>
-
- <!-- Turns on the display of stack traces for uncaught runtime errors. -->
- <verbose-stacktraces>false</verbose-stacktraces>
-
- <!-- Defines the AS3 file encoding. -->
- <!-- not set -->
- <!--
- <actionscript-file-encoding></actionscript-file-encoding>
- -->
-
- <fonts>
-
- <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
- <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
- <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
- <advanced-anti-aliasing>true</advanced-anti-aliasing>
-
- <!-- The number of embedded font faces that are cached. -->
- <max-cached-fonts>20</max-cached-fonts>
-
- <!-- The number of character glyph outlines to cache for each font face. -->
- <max-glyphs-per-face>1000</max-glyphs-per-face>
-
- <!-- Defines ranges that can be used across multiple font-face declarations. -->
- <!-- See flash-unicode-table.xml for more examples. -->
- <!-- not set -->
- <!--
- <languages>
- <language-range>
- <lang>englishRange</lang>
- <range>U+0020-007E</range>
- </language-range>
- </languages>
- -->
-
- <!-- Compiler font manager classes, in policy resolution order -->
- <!-- NOTE: For Apache Royale -->
- <!-- AFEFontManager and CFFFontManager both use proprietary technology. -->
- <!-- You must install the optional font jars if you wish to use embedded fonts -->
- <!-- directly or you can use fontswf to precompile the font as a swf. -->
- <managers>
- <manager-class>flash.fonts.JREFontManager</manager-class>
- <manager-class>flash.fonts.BatikFontManager</manager-class>
- <manager-class>flash.fonts.AFEFontManager</manager-class>
- <manager-class>flash.fonts.CFFFontManager</manager-class>
- </managers>
-
- <!-- File containing cached system font licensing information produced via
- java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
- Will default to winFonts.ser on Windows XP and
- macFonts.ser on Mac OS X, so is commented out by default.
-
- <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
- -->
-
- </fonts>
-
- <!-- Array.toString() format has changed. -->
- <warn-array-tostring-changes>false</warn-array-tostring-changes>
-
- <!-- Assignment within conditional. -->
- <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
-
- <!-- Possibly invalid Array cast operation. -->
- <warn-bad-array-cast>true</warn-bad-array-cast>
-
- <!-- Non-Boolean value used where a Boolean value was expected. -->
- <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
-
- <!-- Invalid Date cast operation. -->
- <warn-bad-date-cast>true</warn-bad-date-cast>
-
- <!-- Unknown method. -->
- <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
-
- <!-- Unknown property. -->
- <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
-
- <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
- <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
-
- <!-- Impossible assignment to null. -->
- <warn-bad-null-assignment>true</warn-bad-null-assignment>
-
- <!-- Illogical comparison with null. -->
- <warn-bad-null-comparison>true</warn-bad-null-comparison>
-
- <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
- <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
-
- <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
- <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
-
- <!-- __resolve is no longer supported. -->
- <warn-changes-in-resolve>false</warn-changes-in-resolve>
-
- <!-- Class is sealed. It cannot have members added to it dynamically. -->
- <warn-class-is-sealed>true</warn-class-is-sealed>
-
- <!-- Constant not initialized. -->
- <warn-const-not-initialized>true</warn-const-not-initialized>
-
- <!-- Function used in new expression returns a value. Result will be what the -->
- <!-- function returns, rather than a new instance of that function. -->
- <warn-constructor-returns-value>false</warn-constructor-returns-value>
-
- <!-- EventHandler was not added as a listener. -->
- <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
-
- <!-- Unsupported ActionScript 2.0 function. -->
- <warn-deprecated-function-error>true</warn-deprecated-function-error>
-
- <!-- Unsupported ActionScript 2.0 property. -->
- <warn-deprecated-property-error>true</warn-deprecated-property-error>
-
- <!-- More than one argument by the same name. -->
- <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
-
- <!-- Duplicate variable definition -->
- <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
-
- <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
- <warn-for-var-in-changes>false</warn-for-var-in-changes>
-
- <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
- <warn-import-hides-class>true</warn-import-hides-class>
-
- <!-- Use of the instanceof operator. -->
- <warn-instance-of-changes>true</warn-instance-of-changes>
-
- <!-- Internal error in compiler. -->
- <warn-internal-error>true</warn-internal-error>
-
- <!-- _level is no longer supported. For more information, see the flash.display package. -->
- <warn-level-not-supported>true</warn-level-not-supported>
-
- <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
- <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
-
- <!-- Negative value will become a large positive value when assigned to a uint data type. -->
- <warn-negative-uint-literal>true</warn-negative-uint-literal>
-
- <!-- Missing constructor. -->
- <warn-no-constructor>false</warn-no-constructor>
-
- <!-- The super() statement was not called within the constructor. -->
- <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
-
- <!-- Missing type declaration. -->
- <warn-no-type-decl>true</warn-no-type-decl>
-
- <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
- <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space. -->
- <warn-number-from-string-changes>false</warn-number-from-string-changes>
-
- <!-- Change in scoping for the this keyword. Class methods extracted from an -->
- <!-- instance of a class will always resolve this back to that instance. In -->
- <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
- <!-- is invoked from. -->
- <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
-
- <!-- Inefficient use of += on a TextField.-->
- <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
-
- <!-- Possible missing parentheses. -->
- <warn-unlikely-function-value>true</warn-unlikely-function-value>
-
- <!-- Possible usage of the ActionScript 2.0 XML class. -->
- <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
-
- </compiler>
-
-
- <!-- target-player: specifies the version of the player the application is targeting.
- Features requiring a later version will not be compiled into the application.
- The minimum value supported is "9.0.0".-->
- <!-- target-player usage:
- <target-player>version</target-player>
- -->
-
- <!-- Metadata added to SWFs via the SWF Metadata tag. -->
- <metadata>
- <title>Apache Royale Application</title>
- <description>https://royale.apache.org/</description>
- <publisher>Apache Software Foundation</publisher>
- <creator>unknown</creator>
- <language>EN</language>
- </metadata>
-
-</royale-config>
diff --git a/distribution/src/main/resources/frameworks/spark-manifest.xml b/distribution/src/main/resources/frameworks/spark-manifest.xml
index 5dd6cdd..24a4e83 100644
--- a/distribution/src/main/resources/frameworks/spark-manifest.xml
+++ b/distribution/src/main/resources/frameworks/spark-manifest.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
- <!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -16,6 +16,6 @@
See the License for the specific language governing permissions and
limitations under the License.
- -->
- <componentPackage>
- </componentPackage>
+-->
+<componentPackage>
+</componentPackage>
diff --git a/distribution/src/main/resources/js/bin/asjsc b/distribution/src/main/resources/js/bin/asjsc
deleted file mode 100755
index 10c3c2c..0000000
--- a/distribution/src/main/resources/js/bin/asjsc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-SCRIPT_HOME=`dirname "$0"`
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- ROYALE_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Royale SDK: $ROYALE_HOME
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
diff --git a/distribution/src/main/resources/js/bin/asjsc.bat b/distribution/src/main/resources/js/bin/asjsc.bat
deleted file mode 100644
index e3b0e19..0000000
--- a/distribution/src/main/resources/js/bin/asjsc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem mxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
-rem
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set "ROYALE_COMPILER_HOME=%~dp0..\..") else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc +configname=js %*
diff --git a/distribution/src/main/resources/js/bin/asjscompc b/distribution/src/main/resources/js/bin/asjscompc
deleted file mode 100755
index 4a12639..0000000
--- a/distribution/src/main/resources/js/bin/asjscompc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- ROYALE_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Royale SDK: $ROYALE_HOME
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=jsc +configname=js "$@"
diff --git a/distribution/src/main/resources/js/bin/asjscompc.bat b/distribution/src/main/resources/js/bin/asjscompc.bat
deleted file mode 100644
index 41b8a64..0000000
--- a/distribution/src/main/resources/js/bin/asjscompc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem compc.bat script to launch compiler-compc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the compc shell script instead.
-rem
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set "ROYALE_COMPILER_HOME=%~dp0..\..") else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar" -js-output-type=jsc +configname=js %*
diff --git a/distribution/src/main/resources/js/bin/asnodec b/distribution/src/main/resources/js/bin/asnodec
deleted file mode 100755
index 4c42764..0000000
--- a/distribution/src/main/resources/js/bin/asnodec
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-SCRIPT_HOME=`dirname "$0"`
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- ROYALE_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Royale SDK: $ROYALE_HOME
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +royalelib="$ROYALE_HOME/frameworks" -js-output-type=node +configname=node "$@"
diff --git a/distribution/src/main/resources/js/bin/asnodec.bat b/distribution/src/main/resources/js/bin/asnodec.bat
deleted file mode 100644
index 5f6a379..0000000
--- a/distribution/src/main/resources/js/bin/asnodec.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem mxmlc.bat script to launch compiler-mxmlc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
-rem
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set "ROYALE_COMPILER_HOME=%~dp0..\..") else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\mxmlc.jar" -js-output-type=node +configname=node %*
diff --git a/distribution/src/main/resources/js/bin/compc b/distribution/src/main/resources/js/bin/compc
deleted file mode 100755
index 4063bb1..0000000
--- a/distribution/src/main/resources/js/bin/compc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- SCRIPT_HOME=`dirname "$0"`
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- ROYALE_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Royale SDK: $ROYALE_HOME
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +royalelib="$ROYALE_HOME/frameworks" -sdk-js-lib="$ROYALE_HOME/frameworks/js/Royale/generated-sources" "$@"
diff --git a/distribution/src/main/resources/js/bin/compc.bat b/distribution/src/main/resources/js/bin/compc.bat
deleted file mode 100644
index ec64b5b..0000000
--- a/distribution/src/main/resources/js/bin/compc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem compc.bat script to launch compiler-compc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the compc shell script instead.
-rem
-
-if "x%ROYALE_COMPILER_HOME%"=="x" (set "ROYALE_COMPILER_HOME=%~dp0..\..") else echo Using Royale Compiler codebase: %ROYALE_COMPILER_HOME%
-
-if "x%ROYALE_HOME%"=="x" (set "ROYALE_HOME=%~dp0..\..") else echo Using Royale SDK: %ROYALE_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Droyalelib="%ROYALE_HOME%\frameworks" -jar "%ROYALE_COMPILER_HOME%\js\lib\compc.jar" -sdk-js-lib="%ROYALE_HOME%\frameworks\js\Royale\generated-sources" %*
diff --git a/distribution/src/main/resources/js/bin/externc b/distribution/src/main/resources/js/bin/externc
deleted file mode 100755
index 03393fa..0000000
--- a/distribution/src/main/resources/js/bin/externc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch compiler-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-SCRIPT_HOME=`dirname "$0"`
-if [ "x${ROYALE_COMPILER_HOME}" = "x" ]
-then
- ROYALE_COMPILER_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Royale Compiler codebase: $ROYALE_COMPILER_HOME
-
-if [ "x${ROYALE_HOME}" = "x" ]
-then
- ROYALE_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Royale SDK: $ROYALE_HOME
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
- ROYALE_COMPILER_HOME=`cygpath -m $ROYALE_COMPILER_HOME`
- ROYALE_HOME=`cygpath -m $ROYALE_HOME`
-
-elif [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Droyalelib="$ROYALE_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/externc.jar" +royalelib="$ROYALE_HOME/frameworks" "$@"
diff --git a/distribution/src/main/resources/js/bin/externc.bat b/distribution/src/main/resources/js/bin/externc.bat
deleted file mode 100644
index c5179318..0000000
--- a/distribution/src/main/resources/js/bin/externc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
... 349 lines suppressed ...