I should add that when I built locally, the version strings were all correct, and I could use the Maven distribution in VSCode.
- Josh On May 14, 2017 7:59 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > It looks like your build has generated two different version strings > instead of one, for some reason. 0.8.0-SNAPSHOT and 0.8.0.nightly.11. It > should be the same on both places. That's not anything I did with my > changes in this commit. The config files look to be correct, though. Either > that {flexVersion} token has gotten the wrong value from somewhere or some > files have been named incorrectly. > > Maybe flex-asjs and flex-typedefs have different version strings? That > could explain it. It should be the same for both. > > - Josh > > On May 14, 2017 6:36 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> > wrote: > > Hi Josh, > > I did try build some project with "distribution" package produced by Maven > and it's failed searching following file: > > "flex-asjs\distribution\distribution-flexjs\frameworks\flex- > config.xml(80): > col: 0 unable to open > flex-asjs\distribution\distribution-flexjs\js\libs\flexjs- > typedefs-js-0.8.0.nightly-11-typedefs.swc'. > flex-asjs\distribution\distribution-flexjs\frameworks\flex-config.xml > (line: 80) > > </js-external-library-path>" > > This searched file "flexjs-typedefs-js-0.8.0.nightly-11-typedefs.swc" has > different name "flexjs-typedefs-js-0.8.0-SNAPSHOT-typedefs.swc" - once I > changed it manually in > "distribution\distribution-flexjs\frameworks\flex-config.xml" - project > started to build. > > In config "distribution\src\main\resources\frameworks\flex-config.xml" we > should put some variable which indicates to current maven version from pom, > but not sure what kind of variable it should be. > > "<js-external-library-path> > > <path-element>../js/libs/flexjs-typedefs-js-{flexVersion}- > typedefs.swc</path-element> > </js-external-library-path>" > > Thanks, > Piotr > > > > 2017-05-12 19:28 GMT+02:00 <joshtynj...@apache.org>: > > > distribution: updated -config.xml files used by Maven distribution > because > > they were out of date > > > > > > Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo > > Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/59f231d2 > > Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/59f231d2 > > Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/59f231d2 > > > > Branch: refs/heads/release0.8.0 > > Commit: 59f231d2d4c35d17546677bac3a416f27330873a > > Parents: fd83f45 > > Author: Josh Tynjala <joshtynj...@apache.org> > > Authored: Fri May 12 10:28:32 2017 -0700 > > Committer: Josh Tynjala <joshtynj...@apache.org> > > Committed: Fri May 12 10:28:32 2017 -0700 > > > > ---------------------------------------------------------------------- > > .../frameworks/air-config-template.xml | 850 > +++++++++--------- > > .../main/resources/frameworks/air-config.xml | 851 > ++++++++++--------- > > .../resources/frameworks/airmobile-config.xml | 568 ++++++++++--- > > .../frameworks/createjs-config-template.xml | 7 + > > .../resources/frameworks/createjs-config.xml | 15 +- > > .../frameworks/flex-config-template.xml | 748 ++++++++-------- > > .../main/resources/frameworks/flex-config.xml | 736 +++++++++------- > > .../frameworks/jquery-config-template.xml | 10 +- > > .../main/resources/frameworks/jquery-config.xml | 18 +- > > .../resources/frameworks/js-config-template.xml | 9 +- > > .../src/main/resources/frameworks/js-config.xml | 17 +- > > .../frameworks/node-config-template.xml | 543 ++++++------ > > .../main/resources/frameworks/node-config.xml | 543 ++++++------ > > 13 files changed, 2780 insertions(+), 2135 deletions(-) > > ---------------------------------------------------------------------- > > > > > > http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ > > 59f231d2/distribution/src/main/resources/frameworks/air- > > config-template.xml > > ---------------------------------------------------------------------- > > diff --git a/distribution/src/main/resources/frameworks/air-config- > template.xml > > b/distribution/src/main/resources/frameworks/air-config-template.xml > > index 43075ab..24269ee 100644 > > --- a/distribution/src/main/resources/frameworks/air-config-template.xml > > +++ b/distribution/src/main/resources/frameworks/air-config-template.xml > > @@ -20,420 +20,468 @@ > > > > > > <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>{airHome}/frameworks/libs/air</path-element> > > - </library-path> > > - > > - <mxml> > > - <children-as-data>true</children-as-data> > > - <imports> > > - <implicit-import>org.apache.flex.events.*</implicit-import> > > - <implicit-import>org.apache.flex.geom.*</implicit-import> > > - <implicit-import>org.apache.flex.core.ClassFactory</ > > implicit-import> > > - <implicit-import>org.apache.flex.core.IFactory</implicit-imp > ort> > > - </imports> > > - </mxml> > > - <binding-value-change-event>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event> > > - <binding-value-change-event-kind>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event-kind> > > - <binding-value-change-event-type>valueChange</binding- > > value-change-event-type> > > - <states-class>org.apache.flex.states.State</states-class> > > - <states-instance-override-class>org.apache.flex.states. > > AddItems</states-instance-override-class> > > - <states-property-override-class>org.apache.flex.states. > > SetProperty</states-property-override-class> > > - <states-event-override-class>org.apache.flex.states. > > SetEventHandler</states-event-override-class> > > - <component-factory-class>org.apache.flex.core.ClassFactory< > > /component-factory-class> > > - <component-factory-interface>org.apache.flex.core.IFactory< > > /component-factory-interface> > > - > > - <namespaces> > > + <!-- 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>JSFlex</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. > > --> > > + <swf-external-library-path> > > + <path-element>{airHome}/frameworks/libs/air/airglobal. > > swc</path-element> > > + </swf-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/flexjs-typedefs-js-{ > > flexVersion}-typedefs.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 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. --> > > + <swf-library-path> > > + <path-element>libs</path-element> > > + <path-element>{airHome}/frameworks/libs/air</path-element> > > + </swf-library-path> > > + > > + <!-- List of SWC files or directories that contain SWC files. --> > > + <js-library-path> > > + <path-element>js/FlexJS/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.f > lex.events.*</implicit-import> > > + <implicit-import>org.apache.flex.geom.*</implicit-import> > > + <implicit-import>org.apache.flex.core.ClassFactory</ > > implicit-import> > > + <implicit-import>org.apache.flex.core.IFactory</implicit- > > import> > > + </imports> > > + </mxml> > > + <binding-value-change-event>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event> > > + <binding-value-change-event-kind>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event-kind> > > + <binding-value-change-event-type>valueChange</binding- > > value-change-event-type> > > + <binding-event-handler-event>org.apache.flex.events.Event</ > > binding-event-handler-event> > > + <binding-event-handler-class>org.apache.flex.events. > > EventDispatcher</binding-event-handler-class> > > + <binding-event-handler-interface>org.apache.flex. > > events.IEventDispatcher</binding-event-handler-interface> > > + <states-class>org.apache.flex.states.State</states-class> > > + <states-instance-override-class>org.apache.flex.states. > > AddItems</states-instance-override-class> > > + <states-property-override-class>org.apache.flex.states. > > SetProperty</states-property-override-class> > > + <states-event-override-class>org.apache.flex.states. > > SetEventHandler</states-event-override-class> > > + <component-factory-class>org.apache.flex.core.ClassFactory< > > /component-factory-class> > > + <component-factory-interface>org.apache.flex.core.IFactory< > > /component-factory-interface> > > + > > + <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>manifests/basic-manifest-binding.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-charts.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-collections.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-core.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-dragdrop.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-effects.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-formatters.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-graphics.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-binding.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-html.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-basic.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-mobile.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-charts.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-network.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-collections.xml</manifest> > > + > > </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-storage.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-xml.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/cordova</uri> > > - <manifest>manifests/cordova-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/createjs</uri> > > - <manifest>manifests/createjs-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/flat</uri> > > - <manifest>manifests/flat-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/google</uri> > > - <manifest>manifests/google-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/html5</uri> > > - <manifest>manifests/html5-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/jquery</uri> > > - <manifest>manifests/jquery-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/svg</uri> > > - <manifest>manifests/svg-manifest-html.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/svg</uri> > > - <manifest>manifests/svg-manifest-graphics.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> > > - <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> > > - </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 --> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-core.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-dragdrop.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-effects.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-man > ifest-formatters.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-graphics.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-html.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-mobile.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-network.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/html5</uri> > > + > > + <manifest>manifests/html5-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/flat</uri> > > + > > + <manifest>manifests/flat-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/jquery</uri> > > + > > + <manifest>manifests/jquery-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/google</uri> > > + > > + <manifest>manifests/google-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/cordova</uri> > > + > > + <manifest>manifests/cordova-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/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 Flex framework > to > > work properly, --> > > + <!-- the following metadata must be kept: > > --> > > + <!-- 1. Bindable > > --> > > + <!-- 2. Managed > > --> > > + <!-- 3. ChangeEvent > > --> > > + <!-- 4. NonCommittingChangeEvent > > --> > > + <!-- 5. Transient > > --> > > <!-- > > - <languages> > > - <language-range> > > - <lang>englishRange</lang> > > - <range>U+0020-U+007E</range> > > - </language-range> > > - </languages> > > + <keep-as3-metadata> > > + <name>Bindable</name> > > + <name>Managed</name> > > + <name>ChangeEvent</name> > > + <name>NonCommittingChangeEvent</name> > > + <name>Transient</name> > > + <name>Mixin</name> > > + </keep-as3-metadata> > > --> > > > > - <!-- 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> > > + <!-- 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> > > + </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> > > - > > - <!-- 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-functi > on-error> > > - > > - <!-- Unsupported ActionScript 2.0 property. --> > > - <warn-deprecated-property-error>true</warn-deprecated-proper > ty-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> > > + > > + <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.Bat > ikFontManager</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/ > > 59f231d2/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 7aec9af..3e8f90b 100644 > > --- a/distribution/src/main/resources/frameworks/air-config.xml > > +++ b/distribution/src/main/resources/frameworks/air-config.xml > > @@ -20,421 +20,468 @@ > > > > > > <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> > > - > > - <!-- 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> > > - > > - <!-- 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>{airHome}/frameworks/libs/air</path-element> > > - </library-path> > > - > > - <mxml> > > - <children-as-data>true</children-as-data> > > - <imports> > > - <implicit-import>org.apache.flex.events.*</implicit-import> > > - <implicit-import>org.apache.flex.geom.*</implicit-import> > > - <implicit-import>org.apache.flex.core.ClassFactory</ > > implicit-import> > > - <implicit-import>org.apache.flex.core.IFactory</implicit-imp > ort> > > - </imports> > > - </mxml> > > - > > - <binding-value-change-event>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event> > > - <binding-value-change-event-kind>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event-kind> > > - <binding-value-change-event-type>valueChange</binding- > > value-change-event-type> > > - <states-class>org.apache.flex.states.State</states-class> > > - <states-instance-override-class>org.apache.flex.states. > > AddItems</states-instance-override-class> > > - <states-property-override-class>org.apache.flex.states. > > SetProperty</states-property-override-class> > > - <states-event-override-class>org.apache.flex.states. > > SetEventHandler</states-event-override-class> > > - <component-factory-class>org.apache.flex.core.ClassFactory< > > /component-factory-class> > > - <component-factory-interface>org.apache.flex.core.IFactory< > > /component-factory-interface> > > - > > - <namespaces> > > + <!-- 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> > > + > > + <!-- build both SWF and JS. --> > > + <targets> > > + <target>SWF</target> > > + <target>JSFlex</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. > > --> > > + <swf-external-library-path> > > + <path-element>libs/air/airglobal.swc</path-element> > > + </swf-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/flexjs-typedefs-js-{ > > flexVersion}-typedefs.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 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. --> > > + <swf-library-path> > > + <path-element>libs</path-element> > > + <path-element>libs/air</path-element> > > + </swf-library-path> > > + > > + <!-- List of SWC files or directories that contain SWC files. --> > > + <js-library-path> > > + <path-element>js/FlexJS/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.f > lex.events.*</implicit-import> > > + <implicit-import>org.apache.flex.geom.*</implicit-import> > > + <implicit-import>org.apache.flex.core.ClassFactory</ > > implicit-import> > > + <implicit-import>org.apache.flex.core.IFactory</implicit- > > import> > > + </imports> > > + </mxml> > > + <binding-value-change-event>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event> > > + <binding-value-change-event-kind>org.apache.flex.events. > > ValueChangeEvent</binding-value-change-event-kind> > > + <binding-value-change-event-type>valueChange</binding- > > value-change-event-type> > > + <binding-event-handler-event>org.apache.flex.events.Event</ > > binding-event-handler-event> > > + <binding-event-handler-class>org.apache.flex.events. > > EventDispatcher</binding-event-handler-class> > > + <binding-event-handler-interface>org.apache.flex. > > events.IEventDispatcher</binding-event-handler-interface> > > + <states-class>org.apache.flex.states.State</states-class> > > + <states-instance-override-class>org.apache.flex.states. > > AddItems</states-instance-override-class> > > + <states-property-override-class>org.apache.flex.states. > > SetProperty</states-property-override-class> > > + <states-event-override-class>org.apache.flex.states. > > SetEventHandler</states-event-override-class> > > + <component-factory-class>org.apache.flex.core.ClassFactory< > > /component-factory-class> > > + <component-factory-interface>org.apache.flex.core.IFactory< > > /component-factory-interface> > > + > > + <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>manifests/basic-manifest-binding.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-charts.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-collections.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-core.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-dragdrop.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-effects.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-formatters.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-graphics.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-binding.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-html.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-basic.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-mobile.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-charts.xml</manifest> > > + > > </namespace> > > <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-network.xml</manifest> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-collections.xml</manifest> > > + > > </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-storage.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/basic</uri> > > - <manifest>manifests/basic-manifest-xml.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/cordova</uri> > > - <manifest>manifests/cordova-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/createjs</uri> > > - <manifest>manifests/createjs-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/flat</uri> > > - <manifest>manifests/flat-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/google</uri> > > - <manifest>manifests/google-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/html5</uri> > > - <manifest>manifests/html5-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/jquery</uri> > > - <manifest>manifests/jquery-manifest.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/svg</uri> > > - <manifest>manifests/svg-manifest-html.xml</manifest> > > - </namespace> > > - <namespace> > > - <uri>library://ns.apache.org/flexjs/svg</uri> > > - <manifest>manifests/svg-manifest-graphics.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> > > - <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> > > - </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 --> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-core.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-dragdrop.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-effects.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-man > ifest-formatters.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-graphics.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-html.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-mobile.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/basic</uri> > > + > > + <manifest>manifests/basic-manifest-network.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/html5</uri> > > + > > + <manifest>manifests/html5-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/flat</uri> > > + > > + <manifest>manifests/flat-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/jquery</uri> > > + > > + <manifest>manifests/jquery-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/google</uri> > > + > > + <manifest>manifests/google-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/cordova</uri> > > + > > + <manifest>manifests/cordova-manifest.xml</manifest> > > + > > + </namespace> > > + <namespace> > > + <uri>library://ns.apache.org/flexjs/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 Flex framework > to > > work properly, --> > > + <!-- the following metadata must be kept: > > --> > > + <!-- 1. Bindable > > --> > > + <!-- 2. Managed > > --> > > + <!-- 3. ChangeEvent > > --> > > + <!-- 4. NonCommittingChangeEvent > > --> > > + <!-- 5. Transient > > --> > > <!-- > > - <languages> > > - <language-range> > > - <lang>englishRange</lang> > > - <range>U+0020-U+007E</range> > > - </language-range> > > - </languages> > > + <keep-as3-metadata> > > + <name>Bindable</name> > > + <name>Managed</name> > > + <name>ChangeEvent</name> > > + <name>NonCommittingChangeEvent</name> > > + <name>Transient</name> > > + <name>Mixin</name> > > + </keep-as3-metadata> > > --> > > > > - <!-- 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> > > + <!-- 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> > > + </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> > > - > > - <!-- 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- > > ...