You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/10/26 15:15:47 UTC

git commit: [flex-asjs] [refs/heads/develop] - - Adjusted the distribution build: -- Updated the version in flex-sdk-description.xml to be greater than 4.8.0 -- Added mxml-manifest.xml, spark-manifest.xml and airmobile-config.xml -- Added locale and rsls

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 4b7967018 -> 561cf332a


- Adjusted the distribution build:
-- Updated the version in flex-sdk-description.xml to be greater than 4.8.0
-- Added mxml-manifest.xml, spark-manifest.xml and airmobile-config.xml
-- Added locale and rsls directories
-- Removed the version suffix from the libs in the "lib" directory
-- Included the "ide" directory in the output

TODO:
- The dummy-jars: mxmlc.jar, compc.jar are still missing ...


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/561cf332
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/561cf332
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/561cf332

Branch: refs/heads/develop
Commit: 561cf332a8ea2fc061da33b7f7b3124bb3145cac
Parents: 4b79670
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Oct 26 17:15:39 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Oct 26 17:15:39 2016 +0200

----------------------------------------------------------------------
 distribution/pom.xml                            |  11 +-
 .../src/main/assembly/component-air.xml         |  10 ++
 .../src/main/assembly/component-fontkit.xml     |   3 +
 distribution/src/main/assembly/component.xml    |  11 +-
 .../src/main/assembly/filter.properties         |  21 ---
 distribution/src/main/resources/air/adt         |   2 +-
 distribution/src/main/resources/air/adt.bat     |   2 +-
 .../src/main/resources/flex-sdk-description.xml |   4 +-
 .../main/resources/frameworks/air-config.xml    |   4 +-
 .../resources/frameworks/airmobile-config.xml   | 135 +++++++++++++++++++
 .../resources/frameworks/createjs-config.xml    |   8 +-
 .../main/resources/frameworks/flex-config.xml   |   4 +-
 .../main/resources/frameworks/jquery-config.xml |   8 +-
 .../src/main/resources/frameworks/js-config.xml |   8 +-
 .../main/resources/frameworks/locale/readme.md  |  20 +++
 .../main/resources/frameworks/mxml-manifest.xml |  21 +++
 .../main/resources/frameworks/node-config.xml   |   4 +-
 .../main/resources/frameworks/rsls/readme.md    |  20 +++
 .../resources/frameworks/spark-manifest.xml     |  21 +++
 pom.xml                                         |   2 +
 20 files changed, 268 insertions(+), 51 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 09f41bf..4db74fb 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -35,9 +35,6 @@
 
   <properties>
     <distributionFileName>apache-flex-flexjs-${project.version}</distributionFileName>
-    <flashVersion>${flash.version}</flashVersion>
-    <airVersion>${air.version}</airVersion>
-
     <timestamp>${maven.build.timestamp}</timestamp>
     <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
   </properties>
@@ -56,6 +53,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.compiler</groupId>
+      <artifactId>flexjs-ant-tasks</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.compiler</groupId>
       <artifactId>debugger</artifactId>
       <version>0.8.0-SNAPSHOT</version>
     </dependency>
@@ -458,9 +460,6 @@
               <goal>single</goal>
             </goals>
             <configuration>
-              <filters>
-                <filter>src/main/assembly/filter.properties</filter>
-              </filters>
               <descriptors>
                 <descriptor>src/main/assembly/bin.xml</descriptor>
               </descriptors>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/assembly/component-air.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/component-air.xml b/distribution/src/main/assembly/component-air.xml
index d2a9636..e24c2f4 100644
--- a/distribution/src/main/assembly/component-air.xml
+++ b/distribution/src/main/assembly/component-air.xml
@@ -23,6 +23,9 @@ under the License.
     <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>com.adobe.air.compiler:adt:jar</include>
       </includes>
@@ -38,6 +41,13 @@ under the License.
       </includes>
       <unpack>true</unpack>
     </dependencySet>
+    <dependencySet>
+      <useProjectArtifact>false</useProjectArtifact>
+      <outputFileNameMapping>frameworks</outputFileNameMapping>
+      <includes>
+        <include></include>
+      </includes>
+    </dependencySet>
     <!-- Put the air swcs into the frameworks/libs/air directory -->
     <dependencySet>
       <useProjectArtifact>false</useProjectArtifact>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/assembly/component-fontkit.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/component-fontkit.xml b/distribution/src/main/assembly/component-fontkit.xml
index 0b6a026..625535a 100644
--- a/distribution/src/main/assembly/component-fontkit.xml
+++ b/distribution/src/main/assembly/component-fontkit.xml
@@ -22,6 +22,9 @@ under the License.
     <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>com.adobe:fontkit</include>
       </includes>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/assembly/component.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/component.xml b/distribution/src/main/assembly/component.xml
index cb86030..3293692 100644
--- a/distribution/src/main/assembly/component.xml
+++ b/distribution/src/main/assembly/component.xml
@@ -26,6 +26,9 @@ under the License.
     <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.flex.flexjs.compiler:*:jar</include>
       </includes>
@@ -37,14 +40,14 @@ under the License.
     <dependencySet>
       <useProjectArtifact>false</useProjectArtifact>
       <outputDirectory>lib/external</outputDirectory>
+      <includes>
+        <include>*:jar</include>
+      </includes>
       <excludes>
-        <exclude>org.apache.flex.flexjs.framework:*</exclude>
-        <exclude>org.apache.flex.flexjs.typedefs:*</exclude>
         <exclude>org.apache.flex.flexjs.compiler:*</exclude>
         <exclude>*:args4j:jar</exclude>
         <exclude>*:google-closure-library*:jar</exclude>
         <exclude>*:org.json:jar</exclude>
-        <exclude>*:*:pom</exclude>
       </excludes>
     </dependencySet>
     <!-- Put the externs swcs into the externs directory -->
@@ -125,6 +128,7 @@ under the License.
         <include>NOTICE</include>
         <include>README*</include>
         <include>RELEASE*</include>
+        <include>ide/**</include>
       </includes>
     </fileSet>
 
@@ -153,6 +157,7 @@ under the License.
       <includes>
         <include>**</include>
       </includes>
+      <filtered>true</filtered>
     </fileSet>
 
     <!-- Copy the sdk descriptor -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/filter.properties b/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index dc8b6ae..0000000
--- a/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,21 +0,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.
-##
-################################################################################
-
-airVersion=${air-version}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/air/adt
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/air/adt b/distribution/src/main/resources/air/adt
index 71138b2..000b6bb 100755
--- a/distribution/src/main/resources/air/adt
+++ b/distribution/src/main/resources/air/adt
@@ -21,4 +21,4 @@
 
 scriptDir=$(dirname "$0")
 args=$@
-java -Dfile.encoding=UTF-8 -jar "$scriptDir/../lib/adt-${airVersion}.jar" "$args"
+java -Dfile.encoding=UTF-8 -jar "$scriptDir/../lib/adt.jar" "$args"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/air/adt.bat
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/air/adt.bat b/distribution/src/main/resources/air/adt.bat
index f077f7d..224bd11 100644
--- a/distribution/src/main/resources/air/adt.bat
+++ b/distribution/src/main/resources/air/adt.bat
@@ -19,4 +19,4 @@ rem
 
 SET scriptDir=%~dp0
 SET args=%*
-@java -jar "%scriptDir%\..\lib\adt-${airVersion}.jar" %args%
\ No newline at end of file
+@java -jar "%scriptDir%\..\lib\adt.jar" %args%
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/flex-sdk-description.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/flex-sdk-description.xml b/distribution/src/main/resources/flex-sdk-description.xml
index 5b567be..a4bf265 100644
--- a/distribution/src/main/resources/flex-sdk-description.xml
+++ b/distribution/src/main/resources/flex-sdk-description.xml
@@ -19,6 +19,8 @@
 -->
 <flex-sdk-description>
   <name>Apache Flex ${project.version} FP${flash.version} AIR${air.version} en_US</name>
-  <version>${project.version}</version>
+  <!--version>${project.version}</version-->
+  <!-- This is a hack to trick the FlashBuilder in accepting this version -->
+  <version>4.8.${project.version}</version>
   <build>${timestamp}</build>
 </flex-sdk-description>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/air-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/air-config.xml b/distribution/src/main/resources/frameworks/air-config.xml
index 590ad1e..7aec9af 100644
--- a/distribution/src/main/resources/frameworks/air-config.xml
+++ b/distribution/src/main/resources/frameworks/air-config.xml
@@ -21,10 +21,10 @@
 
 <flex-config>
   <!-- Specifies the minimum player version that will run the compiled SWF. -->
-  <target-player>11.1</target-player>
+  <target-player>${air.version}</target-player>
 
   <!-- Specifies the version of the compiled SWF -->
-  <swf-version>14</swf-version>
+  <swf-version>${swf.version}</swf-version>
 
   <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/airmobile-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/airmobile-config.xml b/distribution/src/main/resources/frameworks/airmobile-config.xml
new file mode 100644
index 0000000..5ec2e07
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/airmobile-config.xml
@@ -0,0 +1,135 @@
+<?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>${air.version}</target-player>
+
+    <!-- Specifies the version of the compiled SWF -->
+    <swf-version>${swf.version}</swf-version>
+
+    <compiler>
+
+        <!-- Specifies that the target runtime is a mobile device. -->
+        <mobile>true</mobile>
+
+        <!-- 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>
+
+        <!-- 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>
+
+        <!-- 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>
+            <path-element>locale/{locale}</path-element>
+        </library-path>
+
+        <!-- Enable post-link SWF optimization. -->
+        <optimize>true</optimize>
+
+        <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+        <!--
+        <keep-as3-metadata>
+            <name>Transient</name>
+        </keep-as3-metadata>
+        -->
+
+        <!-- Run the AS3 compiler in strict error checking mode. -->
+        <strict>true</strict>
+
+        <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+        <!-- code. -->
+        <show-actionscript-warnings>true</show-actionscript-warnings>
+
+        <!-- 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>
+
+        <!-- Invalid Date cast operation. -->
+        <warn-bad-date-cast>true</warn-bad-date-cast>
+
+        <!-- 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 undefined. Only untyped variables (or variables of type *) can be undefined. -->
+        <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+        <!-- Constant not initialized. -->
+        <warn-const-not-initialized>true</warn-const-not-initialized>
+
+        <!-- Duplicate variable definition -->
+        <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+        <!-- Use of the instanceof operator. -->
+        <warn-instance-of-changes>true</warn-instance-of-changes>
+
+        <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+        <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+        <!-- Missing type declaration. -->
+        <warn-no-type-decl>true</warn-no-type-decl>
+
+    </compiler>
+
+    <!-- Enables SWFs to access the network. -->
+    <use-network>true</use-network>
+
+    <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+    <metadata>
+        <title>Apache FlexJS Application</title>
+        <description>http://flex.apache.org/</description>
+        <publisher>Apache Software Foundation</publisher>
+        <creator>Apache Software Foundation</creator>
+        <language>en_US</language>
+    </metadata>
+
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/createjs-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/createjs-config.xml b/distribution/src/main/resources/frameworks/createjs-config.xml
index 6f06f3e..fc66dba 100644
--- a/distribution/src/main/resources/frameworks/createjs-config.xml
+++ b/distribution/src/main/resources/frameworks/createjs-config.xml
@@ -21,11 +21,11 @@
 
 
 <flex-config>
-    <!-- Specifies the minimum player version that will run the compiled SWF. -->
-   <target-player>11.1</target-player>
+  <!-- Specifies the minimum player version that will run the compiled SWF. -->
+  <swf-version>${flash.version}</swf-version>
 
-    <!-- Specifies the version of the compiled SWF -->
-   <swf-version>14</swf-version>
+  <!-- Specifies the version of the compiled SWF -->
+  <swf-version>${swf.version}</swf-version>
 
    <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/flex-config.xml b/distribution/src/main/resources/frameworks/flex-config.xml
index fe63127..99c44a8 100644
--- a/distribution/src/main/resources/frameworks/flex-config.xml
+++ b/distribution/src/main/resources/frameworks/flex-config.xml
@@ -22,10 +22,10 @@
 
 <flex-config>
   <!-- Specifies the minimum player version that will run the compiled SWF. -->
-  <target-player>11.1</target-player>
+  <swf-version>${flash.version}</swf-version>
 
   <!-- Specifies the version of the compiled SWF -->
-  <swf-version>14</swf-version>
+  <swf-version>${swf.version}</swf-version>
 
   <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/jquery-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/jquery-config.xml b/distribution/src/main/resources/frameworks/jquery-config.xml
index b970af3..7d0a4c8 100644
--- a/distribution/src/main/resources/frameworks/jquery-config.xml
+++ b/distribution/src/main/resources/frameworks/jquery-config.xml
@@ -21,11 +21,11 @@
 
 
 <flex-config>
-    <!-- Specifies the minimum player version that will run the compiled SWF. -->
-   <target-player>11.1</target-player>
+  <!-- Specifies the minimum player version that will run the compiled SWF. -->
+  <swf-version>${flash.version}</swf-version>
 
-    <!-- Specifies the version of the compiled SWF -->
-   <swf-version>14</swf-version>
+  <!-- Specifies the version of the compiled SWF -->
+  <swf-version>${swf.version}</swf-version>
 
    <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/js-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/js-config.xml b/distribution/src/main/resources/frameworks/js-config.xml
index 7ded512..7f46e04 100644
--- a/distribution/src/main/resources/frameworks/js-config.xml
+++ b/distribution/src/main/resources/frameworks/js-config.xml
@@ -21,11 +21,11 @@
 
 
 <flex-config>
-    <!-- Specifies the minimum player version that will run the compiled SWF. -->
-   <target-player>11.1</target-player>
+  <!-- Specifies the minimum player version that will run the compiled SWF. -->
+  <swf-version>${flash.version}</swf-version>
 
-    <!-- Specifies the version of the compiled SWF -->
-   <swf-version>14</swf-version>
+  <!-- Specifies the version of the compiled SWF -->
+  <swf-version>${swf.version}</swf-version>
 
    <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/locale/readme.md
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/locale/readme.md b/distribution/src/main/resources/frameworks/locale/readme.md
new file mode 100644
index 0000000..46a5ffd
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/locale/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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/mxml-manifest.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/mxml-manifest.xml b/distribution/src/main/resources/frameworks/mxml-manifest.xml
new file mode 100644
index 0000000..f14063c
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/mxml-manifest.xml
@@ -0,0 +1,21 @@
+<?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.
+
+-->
+<componentPackage>
+</componentPackage>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/node-config.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/node-config.xml b/distribution/src/main/resources/frameworks/node-config.xml
index 9327d1a..f0515cd 100644
--- a/distribution/src/main/resources/frameworks/node-config.xml
+++ b/distribution/src/main/resources/frameworks/node-config.xml
@@ -22,10 +22,10 @@
 
 <flex-config>
   <!-- Specifies the minimum player version that will run the compiled SWF. -->
-  <target-player>11.1</target-player>
+  <swf-version>${flash.version}</swf-version>
 
   <!-- Specifies the version of the compiled SWF -->
-  <swf-version>14</swf-version>
+  <swf-version>${swf.version}</swf-version>
 
   <compiler>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/rsls/readme.md
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/rsls/readme.md b/distribution/src/main/resources/frameworks/rsls/readme.md
new file mode 100644
index 0000000..46a5ffd
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/rsls/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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/distribution/src/main/resources/frameworks/spark-manifest.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/resources/frameworks/spark-manifest.xml b/distribution/src/main/resources/frameworks/spark-manifest.xml
new file mode 100644
index 0000000..f14063c
--- /dev/null
+++ b/distribution/src/main/resources/frameworks/spark-manifest.xml
@@ -0,0 +1,21 @@
+<?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.
+
+-->
+<componentPackage>
+</componentPackage>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/561cf332/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8db9821..a7888f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,6 +61,8 @@
     <flex.version>4.15.0</flex.version>
     <flash.version>20.0</flash.version>
     <air.version>20.0</air.version>
+    <!-- For SWF versions see: http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html -->
+    <swf.version>31</swf.version>
 
     <!-- URL of the ASF SonarQube server -->
     <sonar.host.url>https://analysis.apache.org/</sonar.host.url>