You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/11/19 21:40:27 UTC
[7/8] git commit: [flex-asjs] [refs/heads/develop] - ant release
appears to create a binary package that approximates FlexJSOverlay
ant release appears to create a binary package that approximates FlexJSOverlay
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/01518308
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/01518308
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/01518308
Branch: refs/heads/develop
Commit: 01518308a7c4ddf5219adca8de63f2d0bb9c2d31
Parents: b8421ae
Author: Alex Harui <ah...@apache.org>
Authored: Tue Nov 19 12:01:41 2013 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Nov 19 12:01:41 2013 -0800
----------------------------------------------------------------------
build.xml | 116 +++++----
frameworks/as/air-config.xml | 354 ++++++++++++++++++++++++++++
frameworks/as/build.xml | 1 -
frameworks/as/flex-config-template.xml | 1 +
4 files changed, 421 insertions(+), 51 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/01518308/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 25ef7dc..cec1d58 100644
--- a/build.xml
+++ b/build.xml
@@ -85,7 +85,7 @@
This does not build the docs. Use doc-packages or asdoc-packages.
-->
<target name="release"
- depends="check-compile-env,check-runtime-env,check-falcon-home,check-goog-env,source-release,binary-release,rat-check"
+ depends="check-compile-env,check-runtime-env,check-falcon-home,source-release,binary-release,rat-check"
description="Creates source and binary kits for Apache FlexJS."/>
<target name="source-release"
@@ -212,9 +212,9 @@
value="${env.FALCON_HOME}"/>
<available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
- type="dir"
+ type="file"
property="FALCON_HOME"
- value="${env.FALCON_HOME}/../../../..../"/>
+ value="${env.FALCON_HOME}/../../../.."/>
<fail message="FALCON_HOME must be set to a flex-falcon repo for a release build or compiler/generated/dist/sdk folder in flex-falcon repo"
unless="FALCON_HOME"/>
@@ -253,7 +253,7 @@
</target>
<target name="create-config" description="Create flex config file">
- <ant dir="${basedir}/frameworks" target="flex-config" />
+ <ant dir="${basedir}/frameworks/as" target="flex-config" />
</target>
<target name="setup-binary-release" depends="thirdparty-clean"
@@ -296,13 +296,15 @@
<delete dir="${basedir}/out" failonerror="false" includeEmptyDirs="true"/>
<delete dir="${basedir}/temp" failonerror="false" includeEmptyDirs="true"/>
<delete dir="${basedir}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+ <!--
<ant dir="${basedir}/asdoc" target="clean" />
<ant dir="${basedir}/ide/flashbuilder" target="clean" />
<ant dir="${basedir}/mustella" target="clean"/>
+ -->
</target>
<target name="examples-clean">
- <ant dir="${basedir}/examples" target="clean"/>
+ <!--<ant dir="${basedir}/examples" target="clean"/>-->
</target>
<target name="frameworks-as-clean">
@@ -330,7 +332,7 @@
-->
<target name="examples" description="Build the examples">
- <ant dir="${basedir}/examples"/>
+ <!--<ant dir="${basedir}/examples"/>-->
</target>
<!--
@@ -347,7 +349,7 @@
</target>
<target name="other.locales" description="Build resource SWCs for additional locales">
- <ant dir="${basedir}/frameworks" target="other.locales"/>
+ <!--<ant dir="${basedir}/frameworks" target="other.locales"/>-->
</target>
<target name="sample-themes" description="Build the sample themes">
@@ -423,7 +425,7 @@
<include name="build.properties"/>
<include name="env-template.properties"/>
<include name="flex-sdk-description.xml"/>
- <include name="README"/>
+ <include name="READme"/>
<include name="RELEASE_NOTES"/>
</fileset>
<fileset dir="${FLEX_HOME}">
@@ -506,8 +508,8 @@
<!-- frameworks -->
<!-- javascript and test directories follow -->
<target name="stage-framework-as">
- <copy todir="${basedir}/temp/frameworks/as" includeEmptyDirs="false">
- <fileset dir="${basedir}/frameworks/as">
+ <copy todir="${basedir}/temp/frameworks/src" includeEmptyDirs="false">
+ <fileset dir="${basedir}/frameworks/as/projects/FlexJSUI/src">
<include name="**"/>
<exclude name="**/libs/**"/>
<exclude name="**/*.swc"/>
@@ -522,6 +524,23 @@
<exclude name="projects/*/.settings/**"/>
</fileset>
</copy>
+ <copy todir="${basedir}/temp/frameworks/src" includeEmptyDirs="false">
+ <fileset dir="${basedir}/frameworks/as/projects/FlexJSUI">
+ <include name="basic-manifest.xml"/>
+ <include name="html5-manifest.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="${basedir}/temp/frameworks/src" includeEmptyDirs="false">
+ <fileset dir="${basedir}/frameworks/as">
+ <include name="air-config.xml"/>
+ <include name="flex-config.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="${basedir}/temp/frameworks/src" includeEmptyDirs="false">
+ <fileset dir="${basedir}">
+ <include name="flex-sdk-description.xml"/>
+ </fileset>
+ </copy>
<tstamp>
<format property="build.number.date" pattern="yyyyMMdd" />
@@ -530,19 +549,19 @@
<!-- now that config xml files are in temp, fix them up for release. -->
<echo message="Updating config file air-config.xml with version ${build.version}"/>
- <fix-config-file file="${basedir}/temp/frameworks/air-config.xml" version="${build.version}" />
+ <fix-config-file file="${basedir}/temp/frameworks/src/air-config.xml" version="${build.version}" />
<echo message="Updating config file flex-config.xml with version ${build.version}"/>
- <fix-config-file file="${basedir}/temp/frameworks/flex-config.xml" version="${build.version}" />
+ <fix-config-file file="${basedir}/temp/frameworks/src/flex-config.xml" version="${build.version}" />
<!-- Update all Version.as files in the kit frameworks directory with build.number -->
- <antcall target="version-update"/>
+ <!--<antcall target="version-update"/>-->
</target>
<!-- tlf -->
- <target name="stage-frameworks-js">
- <copy todir="${basedir}/temp/frameworks/js" includeEmptyDirs="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS">
- <include name="src/**"/>
+ <target name="stage-framework-js">
+ <copy todir="${basedir}/temp/js/src" includeEmptyDirs="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/src">
+ <include name="**"/>
</fileset>
</copy>
</target>
@@ -570,8 +589,8 @@
</fileset>
</copy>
<copy todir="${basedir}/temp/lib" includeEmptyDirs="false">
- <fileset dir="${FALCON_HOME}/compiler/generated/dist/sdk//lib">
- <include name="*"/>
+ <fileset dir="${FALCON_HOME}/compiler/generated/dist/sdk/lib">
+ <include name="**"/>
<exclude name="adl*"/>
<exclude name="adt*"/>
</fileset>
@@ -664,24 +683,9 @@
<filelist dir="${FLEX_HOME}" files="LICENSE,LICENSE.bin"/>
</concat-->
-
- <!-- generated files in frameworks excepts libs and rsls -->
- <copy todir="${basedir}/temp/frameworks/as">
- <fileset dir="${basedir}/frameworks/as">
- <include name="projects/*/bundles.properties"/>
- <include name="projects/spark/manifest.xml"/>
- <include name="**/*.pbj"/>
- <include name="**/*.swc"/>
- <include name="**/*.swf"/>
- <exclude name="libs/**"/>
- <exclude name="rsls/**"/>
- <exclude name="tests/**"/>
- </fileset>
- </copy>
-
<!-- frameworks/libs -->
<copy todir="${basedir}/temp/frameworks/libs">
- <fileset dir="${basedir}/frameworks/libs">
+ <fileset dir="${basedir}/frameworks/as/libs">
<include name="FlexJSUI.swc"/>
<include name="MXMLCClasses.swc"/>
</fileset>
@@ -693,30 +697,39 @@
<!-- falconjx -->
<antcall target="stage-falconjx"/>
- <!-- ide -->
+ <!-- ide
<copy todir="${basedir}/temp/ide">
<fileset dir="${basedir}/ide" >
<include name="flashbuilder/config"/>
</fileset>
</copy>
-
+ -->
+
<!-- sample themes -->
- <copy todir="${basedir}/temp/samples">
- <fileset dir="${basedir}/samples" >
+ <copy todir="${basedir}/temp/examples">
+ <fileset dir="${basedir}/examples" >
<include name="**/build.xml"/>
<include name="**/*.swc"/>
<include name="**/*.swf"/>
</fileset>
</copy>
- <!-- swfobject templates except for downloaded files -->
+ <!-- deploy scripts -->
+ <copy todir="${basedir}/temp/">
+ <fileset dir="${basedir}/scripts" >
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <!-- swfobject templates except for downloaded files
<copy todir="${basedir}/temp/templates/swfobject">
<fileset dir="${basedir}/templates/swfobject">
<exclude name="**/expressInstall.swf"/>
<exclude name="**/swfobject.js"/>
</fileset>
</copy>
-
+ -->
+
<antcall target="binary-package-zip"/>
<antcall target="binary-package-tgz"/>
</target>
@@ -960,7 +973,7 @@
<!-- Builds fat swcs. -->
<target name="doc">
- <ant dir="${basedir}/frameworks" target="doc" />
+ <!--<ant dir="${basedir}/frameworks" target="doc" />-->
</target>
<!--
@@ -978,12 +991,13 @@
<target name="basictests-mustella" depends="mustella-setup,basictests"/>
<target name="mustella-setup" depends="runtime-setup" description="compile mustella java file">
+ <!--
<ant dir="${basedir}/mustella" target="makemustellaswc">
<property name="use_mustella_framework_dir" value="false"/>
</ant>
- <property name="moreCompilerArgs" value=""/>
+ <property name="moreCompilerArgs" value=""/> -->
<!-- compile the results parser -->
- <javac srcdir="mustella" includes="MustellaResultsParser.java"/>
+ <!--<javac srcdir="mustella" includes="MustellaResultsParser.java"/>-->
</target>
<!-- To run the checkintests as well as any mustella tests need AIR for the adl and
@@ -1028,7 +1042,7 @@
<target name="basictests" depends="load-task" description="run basic tests using mustella">
- <!-- compile the basic tests -->
+ <!-- compile the basic tests
<mxmlc fork="true"
file="${basedir}/frameworks/tests/basicTests/BasicTests.mxml">
<jvmarg line="${mxmlc.jvm.args}"/>
@@ -1036,8 +1050,8 @@
<include name="mustella/mustella.swc"/>
</library-path>
</mxmlc>
-
- <!-- compile supporting swfs for basic tests -->
+ -->
+ <!-- compile supporting swfs for basic tests
<mxmlc fork="true"
file="${basedir}/frameworks/tests/basicTests/basicLoader.as">
<jvmarg line="${mxmlc.jvm.args}"/>
@@ -1052,14 +1066,16 @@
remove-unused-rsls="true" >
<jvmarg line="${mxmlc.jvm.args}"/>
</mxmlc>
-
- <!-- run the component smoke -->
+ -->
+ <!-- run the component smoke
<echo message="launching player and swf"/>
<exec executable="${flash.player}" dir="${basedir}/frameworks" failonerror="true">
<arg value="${basedir}/frameworks/tests/basicTests/BasicTests.swf"/>
</exec>
- <!-- halt if there was an error -->
+ -->
+ <!-- halt if there was an error
<antcall target="mustellaresultsparser"/>
+ -->
</target>
<target name="mustellaresultsparser">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/01518308/frameworks/as/air-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/air-config.xml b/frameworks/as/air-config.xml
new file mode 100644
index 0000000..417fe16
--- /dev/null
+++ b/frameworks/as/air-config.xml
@@ -0,0 +1,354 @@
+<?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>
+
+ <!-- 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>
+
+ <!-- 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 Flex 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>libs/as</path-element>
+ <path-element>libs/air</path-element>
+ <path-element>{airHome}/frameworks/libs/air</path-element>
+ <path-element>locale/{locale}</path-element>
+ </library-path>
+
+ <namespaces>
+ <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+ <!-- elements. -->
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+
+ <manifest>basic-manifest.xml</manifest>
+
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+
+ <manifest>html5-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 Flex 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. -->
+ <!-- not set -->
+ <!--
+ <theme>
+ <filename>string</filename>
+ <filename>string</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 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/01518308/frameworks/as/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/build.xml b/frameworks/as/build.xml
index 565d243..cfdc8b5 100644
--- a/frameworks/as/build.xml
+++ b/frameworks/as/build.xml
@@ -98,7 +98,6 @@
</target>
<target name="clean" description="Cleans all SWCs and their resource bundles">
- <delete file="${basedir}/flex-config.xml"/>
<!-- Delete output from SWC projects -->
<ant dir="${basedir}/projects/FlexJSUI" target="clean"/>
<ant dir="${basedir}/projects/MXMLCClasses" target="clean"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/01518308/frameworks/as/flex-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/flex-config-template.xml b/frameworks/as/flex-config-template.xml
index 2d37ae1..e3db9a4 100644
--- a/frameworks/as/flex-config-template.xml
+++ b/frameworks/as/flex-config-template.xml
@@ -79,6 +79,7 @@
<!-- List of SWC files or directories that contain SWC files. -->
<library-path>
<path-element>libs</path-element>
+ <path-element>libs/as</path-element>
<path-element>locale/en_US</path-element>
<path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
</library-path>