- Added a maven build for the ACE typedef
diff --git a/ace/pom.xml b/ace/pom.xml
new file mode 100644
index 0000000..da99727
--- /dev/null
+++ b/ace/pom.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+--><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>
+    <groupId>org.apache.royale.typedefs</groupId>
+    <artifactId>royale-typedefs-parent</artifactId>
+    <version>0.9.8-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>royale-typedefs-ace</artifactId>
+  <version>0.9.8-SNAPSHOT</version>
+  <packaging>swc</packaging>
+
+  <name>Apache Royale: TypeDefs: Ace</name>
+
+  <properties>
+    <ace.version>1.2.3</ace.version>
+  </properties>
+
+  <build>
+    <plugins>
+      <!-- Download JavaScript form GitHub -->
+      <plugin>
+        <groupId>com.googlecode.maven-download-plugin</groupId>
+        <artifactId>download-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>get-createjs</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>wget</goal>
+            </goals>
+            <configuration>
+              <skipCache>true</skipCache>
+              <url>https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/ace-${ace.version}.js</url>
+              <outputFileName>ace-${ace.version}.js</outputFileName>
+              <outputDirectory>${project.build.directory}/downloads</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.royale.compiler</groupId>
+        <artifactId>royale-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <includeSources>true</includeSources>
+          <externcInput>
+            <fileSet>
+              <directory>${project.basedir}/target/downloads</directory>
+              <includes>
+                <include>**/*.js</include>
+              </includes>
+            </fileSet>
+          </externcInput>
+          <includeFiles>
+            <include-file>
+              <name>externs/ace-${ace.version}.js</name>
+              <path>downloads/ace-${ace.version}.js</path>
+            </include-file>
+          </includeFiles>
+          <skipSwc>true</skipSwc>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.royale.typedefs</groupId>
+      <artifactId>royale-typedefs-js</artifactId>
+      <version>0.9.8-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>typedefs</classifier>
+      <scope>runtime</scope>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/pom.xml b/pom.xml
index 0067300..c628f47 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,7 @@
   </mailingLists>

 

   <modules>

+    <module>ace</module>

     <module>cordova</module>

     <module>createjs</module>

     <module>GCL</module>