- Greatly worked on cleaning up the compiler code
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8bb7b41e Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8bb7b41e Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8bb7b41e Branch: refs/heads/feature-autobuild/closure-classpath-sources Commit: 8bb7b41e3e37b5ac25cc0158d06dff022a44c746 Parents: 4c78873 Author: Christofer Dutz <[email protected]> Authored: Mon Oct 31 14:59:42 2016 +0100 Committer: Christofer Dutz <[email protected]> Committed: Mon Oct 31 14:59:42 2016 +0100 ---------------------------------------------------------------------- .gitignore | 4 - examples/pom.xml | 3 + pom.xml | 1 - vf2js/LICENSE | 203 ------ vf2js/NOTICE | 5 - vf2js/README | 36 - vf2js/RELEASE_NOTES | 36 - vf2js/build.xml | 247 ------- vf2js/examples/build.xml | 34 - vf2js/examples/build_example.xml | 86 --- vf2js/examples/vf2js_DatabindingTest/build.xml | 35 - .../src/StockDataJSONItemConverter.as | 78 --- .../vf2js_DatabindingTest/src/models/MyModel.as | 174 ----- .../src/vf2js_DatabindingTest.mxml | 321 --------- vf2js/examples/vf2js_SimpleTest/build.xml | 34 - .../vf2js_SimpleTest/src/vf2js_SimpleTest.mxml | 30 - vf2js/frameworks/as/build.xml | 52 -- vf2js/frameworks/as/projects/vf2js_mx/build.xml | 65 -- .../as/projects/vf2js_mx/compile-config.xml | 42 -- .../as/projects/vf2js_mx/manifest.xml | 29 - .../as/projects/vf2js_mx/src/VF2JSClasses.as | 31 - .../vf2js_mx/src/vf2js_mx/components/Button.as | 29 - vf2js/frameworks/as/projects/vf2js_s/build.xml | 65 -- .../as/projects/vf2js_s/compile-config.xml | 42 -- .../frameworks/as/projects/vf2js_s/manifest.xml | 30 - .../as/projects/vf2js_s/src/VF2JSClasses.as | 31 - .../src/vf2js_s/components/Application.as | 35 - .../vf2js_s/src/vf2js_s/components/Button.as | 33 - .../VF2JS (Debug and Release Build).launch | 28 - vf2js/js/vf2js/falconjx/bin/mxmlc | 63 -- vf2js/js/vf2js/falconjx/bin/mxmlc.bat | 31 - vf2js/utils/FlexSDKToJS/FlexSDKToJS.sh | 209 ------ vf2js/utils/FlexSDKToJS/JSFlexSDKDeps.sh | 1 - vf2js/utils/FlexSDKToJS/TextLayoutToJS.sh | 24 - .../src/PlayerGlobalToJS-app.xml | 232 ------- .../PlayerGlobalToJS/src/PlayerGlobalToJS.mxml | 665 ------------------- .../src/assets/vf2js/display/DisplayObject.js | 173 ----- .../vf2js/display/DisplayObjectContainer.js | 110 --- .../assets/vf2js/display/InteractiveObject.js | 33 - .../src/assets/vf2js/display/LoaderInfo.js | 125 ---- .../src/assets/vf2js/display/MovieClip.js | 115 ---- .../src/assets/vf2js/display/Sprite.js | 33 - .../src/assets/vf2js/display/Stage.js | 210 ------ .../src/assets/vf2js/events/Event.js | 136 ---- .../src/assets/vf2js/events/EventDispatcher.js | 154 ----- .../src/assets/vf2js/events/ProgressEvent.js | 75 --- .../src/assets/vf2js/events/TimerEvent.js | 72 -- .../assets/vf2js/system/ApplicationDomain.js | 77 --- .../src/assets/vf2js/system/Capabilities.js | 98 --- .../src/assets/vf2js/utils/Timer.js | 182 ----- .../assets/vf2js/utils/getDefinitionByName.js | 53 -- .../utils/PlayerGlobalToJS/src/nl/ixms/Utils.as | 44 -- .../src/nl/ixms/enums/MemberType.as | 62 -- .../PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as | 489 -------------- .../src/nl/ixms/vo/ClazzMemberTypeLists.as | 11 - .../PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as | 111 ---- .../PlayerGlobalToJS/src/shadowInterfaces.as | 16 - .../src/vf2js/display/IDisplayObject.as | 27 - .../vf2js/display/IDisplayObjectContainer.as | 12 - .../src/vf2js/display/IInteractiveObject.as | 8 - .../src/vf2js/display/ILoaderInfo.as | 21 - .../src/vf2js/display/IMovieClip.as | 17 - .../src/vf2js/display/ISprite.as | 8 - .../src/vf2js/display/IStage.as | 26 - .../PlayerGlobalToJS/src/vf2js/events/IEvent.as | 15 - .../src/vf2js/events/IEventDispatcher.as | 15 - .../src/vf2js/events/IProgressEvent.as | 9 - .../src/vf2js/events/ITimerEvent.as | 9 - .../src/vf2js/system/IApplicationDomain.as | 10 - .../src/vf2js/system/ICapabilities.as | 17 - .../PlayerGlobalToJS/src/vf2js/utils/ITimer.as | 14 - .../src/vf2js/utils/IgetDefinitionByName.as | 8 - 72 files changed, 3 insertions(+), 5656 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/.gitignore ---------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index b37ca3c..1875bc7 100644 --- a/.gitignore +++ b/.gitignore @@ -118,10 +118,6 @@ _ReSharper*/ *.zip *.rar *.tar - -#VF2JS generated files -vf2js/frameworks/js/ - #FlexJS generated files frameworks/js/FlexJS/generated-sources manualtests/FlexJSTest_SVG/bin http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/examples/pom.xml ---------------------------------------------------------------------- diff --git a/examples/pom.xml b/examples/pom.xml index 6f981d4..9909d08 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -69,6 +69,9 @@ </configuration> </execution> </executions> + <configuration> + <debug>false</debug> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a7888f0..021f3fb 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,6 @@ <!-- Stuff that needs to be removed --> <exclude>fxg2svg/**</exclude> - <exclude>vf2js/**</exclude> <!-- frameworks/fb.properties contains Alex' path entries and should be removed --> <exclude>fb.properties</exclude> <!-- Should probably also be removed --> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/LICENSE ---------------------------------------------------------------------- diff --git a/vf2js/LICENSE b/vf2js/LICENSE deleted file mode 100644 index 6b0b127..0000000 --- a/vf2js/LICENSE +++ /dev/null @@ -1,203 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/NOTICE ---------------------------------------------------------------------- diff --git a/vf2js/NOTICE b/vf2js/NOTICE deleted file mode 100644 index 4a65ac6..0000000 --- a/vf2js/NOTICE +++ /dev/null @@ -1,5 +0,0 @@ -Apache FlexJS -Copyright 2014 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/README ---------------------------------------------------------------------- diff --git a/vf2js/README b/vf2js/README deleted file mode 100644 index 04bea41..0000000 --- a/vf2js/README +++ /dev/null @@ -1,36 +0,0 @@ -Vanilla Flex to Javascript (VF2JS) -================================== - -Install prerequisits -____________________ - -- you will need to install 'ant' and 'git' on your machine -- get a release version of the Flex SDK (i.e. Apache Flex SDK 4.13.0, - but any other will do fine as well) - - - -Using the source distribution -_____________________________ - -- open command line and 'cd' to the VF2JS directory -- run 'ant install -Dflex.sdk.loc="[sdk.directory]"' (where - [sdk.directory] is the full path to the Flex SDK you want to overlay, - i.e. "/Applications/Adobe Flash Builder 4.7/sdks/4.13.0") - - if your 'PLAYERGLOBAL_HOME' environment variable is set to a value - that is different from the version you chose for the Flex SDK, or - if you have not set that environment variable, add - ' -DPLAYERGLOBAL_HOME=[sdk.directory]/frameworks/libs/player' to the - end of the command - - - -Publishing with VF2JS -_____________________ - -- open Flex project, select your newly overlayed Flex SDK - in 'Project/Properties -> Flex Compiler' -- import the VF2JS launch config: - - choose 'File/Import... -> Launch Configurations' and point - to '[sdk.directory]/ide/flashbuilder/launch' -- to publish to JS, choose 'Run/External Tool/VF2JS (Debug and Release Build)' http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/RELEASE_NOTES ---------------------------------------------------------------------- diff --git a/vf2js/RELEASE_NOTES b/vf2js/RELEASE_NOTES deleted file mode 100644 index c38ad5a..0000000 --- a/vf2js/RELEASE_NOTES +++ /dev/null @@ -1,36 +0,0 @@ -Apache VF2JS 0.0.1 -================== - -Apache VF2JS is an overlay for the Flex SDK that provides the capability -to cross-compile MXML and AS applications to HTML/JS/CSS so they can run -in a browser without Flash. - -This is the first release of Apache VF2JS. It is an 'alpha' type of release. -Expect to find lots of bugs and missing features. - - - -Known Issues -____________ - - - -Differences from Apache VF2JS 0.0.0 -___________________________________ - -New Features ------------- -- everything - -Bug Fixes ---------- -- none - -Please report new issues to our bugbase at: - -https://issues.apache.org/jira/browse/FLEX - - - -The Apache Flex Project -<http://flex.apache.org/> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/build.xml b/vf2js/build.xml deleted file mode 100644 index f23bbb8..0000000 --- a/vf2js/build.xml +++ /dev/null @@ -1,247 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js" default="main" basedir="."> - - <property environment="env" /> - - <property name="flex.sdk.loc" value="${basedir}/../../flex-sdk" /> - - <property name="antlr.version" value="3.5.2" /> - <property name="closure.compiler.version" value="20140625" /> - <property name="commons-io.version" value="2.4" /> - <property name="falconjx.version" value="0.0.2" /> - - <!-- == - Setup - === --> - - <condition property="platform" value="windows"> - <os family="windows" /> - </condition> - - <condition property="isWindows" value="windows"> - <os family="windows" /> - </condition> - - - - <!-- ============ - Primary targets - ============= --> - - <target name="build.release" depends="release.zip,release.md5" description="Build release artefacts" /> - - <target name="download.deps" depends="falconjx.overlay" description="Download VF2JS dependencies" /> - - <target name="install" depends="main,clean.sdk,overlay.sdk,build.examples" description="Overlay VF2JS on chosen (-Dflex.sdk.loc) directory" /> - - <target name="main" depends="clean,build.as.frameworks" description="Build binaries from source" /> - - <target name="overlay.sdk" depends="download.deps,copy.examples,copy.as.swcs,copy.falconjx.scripts,copy.js.framework,copy.launch.config" description="Overlay VF2JS on Flex SDK" /> - - - - <!-- ============ - Secondary targets - ============= --> - - <target name="release.zip" depends="" description="Create release zip file"> - <defaultexcludes add="**/.actionScriptProperties" /> - <defaultexcludes add="**/.flexProperties" /> - <defaultexcludes add="**/.project" /> - <zip destfile="${basedir}/out/apache-flex-vf2js-0.0.1-src.zip"> - <zipfileset dir="${basedir}/examples/vf2js_DatabindingTest/src" prefix="examples/vf2js_DatabindingTest/src" /> - <zipfileset dir="${basedir}/examples/vf2js_DatabindingTest" prefix="examples/vf2js_DatabindingTest"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/examples/vf2js_SimpleTest/src" prefix="examples/vf2js_SimpleTest/src" /> - <zipfileset dir="${basedir}/examples/vf2js_SimpleTest" prefix="examples/vf2js_SimpleTest"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/examples" prefix="examples"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/frameworks/as/projects/vf2js_mx/src" prefix="frameworks/as/projects/vf2js_mx/src" /> - <zipfileset dir="${basedir}/frameworks/as/projects/vf2js_mx" prefix="frameworks/as/projects/vf2js_mx"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/frameworks/as/projects/vf2js_s/src" prefix="frameworks/as/projects/vf2js_s/src" /> - <zipfileset dir="${basedir}/frameworks/as/projects/vf2js_s" prefix="frameworks/as/projects/vf2js_s"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/frameworks/as" prefix="frameworks/as"> - <include name="*" /> - <type type="file" /> - </zipfileset> - <zipfileset dir="${basedir}/frameworks/js/vf2js/src" prefix="frameworks/js/vf2js/src" /> - <zipfileset dir="${basedir}/ide" prefix="ide" /> - <zipfileset dir="${basedir}/js" prefix="js" /> - <zipfileset dir="${basedir}"> - <include name="*" /> - <type type="file" /> - </zipfileset> - </zip> - </target> - - <target name="release.md5" depends="" description="Create MD5 for release zip file"> - <checksum file="${basedir}/out/apache-flex-vf2js-0.0.1-src.zip" forceOverwrite="yes"/> - </target> - - <target name="build.as.frameworks" depends="" description="Build SWCs from AS source"> - <ant dir="${basedir}/frameworks/as" /> - </target> - - <target name="build.examples" depends="" description="Build VF2JS examples in newly overlayed Flex SDK"> - <ant dir="${flex.sdk.loc}/examples/vf2js"> - <property name="FLEX_HOME" value="${flex.sdk.loc}" /> - <property name="GOOG_HOME" value="${flex.sdk.loc}/js/vf2js/falconjx/lib/google/closure-library" /> - <property name="PLAYERGLOBAL_HOME" value="${flex.sdk.loc}/frameworks/libs/player" /> - <property name="playerglobal.version" value="14.0" /> - </ant> - </target> - - <target name="copy.examples" depends="" description="Copy VF2JS examples to Flex SDK"> - <copy todir="${flex.sdk.loc}/examples/vf2js" overwrite="true"> - <fileset dir="${basedir}/examples" /> - </copy> - </target> - - <target name="copy.falconjx.scripts" depends="" description="Copy customized FalconJS scripts - mxmlc and mxmlc.bat - to Flex SDK"> - <copy todir="${flex.sdk.loc}/js/vf2js/falconjx/bin" overwrite="true"> - <fileset dir="${basedir}/js/vf2js/falconjx/bin" /> - </copy> - <antcall target="chmod" /> - </target> - - <target name="copy.js.framework" depends="" description="Copy VF2JS JS framework to Flex SDK"> - <copy todir="${flex.sdk.loc}/frameworks/js/vf2js/src" overwrite="true"> - <fileset dir="${basedir}/frameworks/js/vf2js/src" /> - </copy> - </target> - - <target name="copy.launch.config" depends="" description="Copy launch config to Flex SDK"> - <copy todir="${flex.sdk.loc}/ide/flashbuilder/launch" overwrite="true"> - <fileset dir="${basedir}/ide/flashbuilder/launch" /> - </copy> - <replace file="${flex.sdk.loc}/ide/flashbuilder/launch/VF2JS (Debug and Release Build).launch"> - <replacefilter token="$flex_sdk_loc" value="${flex.sdk.loc}" /> - </replace> - </target> - - <target name="copy.as.swcs" depends="" description="Copy VF2JS SWCs to Flex SDK"> - <ant dir="${basedir}/frameworks/as" target="copy.to.sdk" /> - </target> - - <target name="falconjx.build" depends="" description="Build FalconJX dependencies"> - <!-- Closure Compiler --> - <ant dir="${basedir}/in/closure-compiler-${closure.compiler.version}" inheritAll="false" /> - </target> - - <target name="falconjx.download" depends="" description="Download FalconJX nightly binary and dependencies"> - <mkdir dir="${basedir}/in" /> - <!-- Antlr --> - <get src="http://search.maven.org/remotecontent?filepath=org/antlr/antlr-complete/${antlr.version}/antlr-complete-${antlr.version}.jar" dest="${basedir}/in/antlr-complete-${antlr.version}.jar" /> - <!-- Closure Compiler --> - <get src="https://codeload.github.com/google/closure-compiler/zip/v${closure.compiler.version}" dest="${basedir}/in/closure-compiler-${closure.compiler.version}.zip" /> - <!-- Closure Library --> - <exec executable="git" failifexecutionfails="true"> - <arg value="clone" /> - <arg value="https://github.com/google/closure-library" /> - <arg value="${basedir}/in/closure-library" /> - </exec> - <!-- Commons-IO --> - <get src="http://archive.apache.org/dist/commons/io/binaries/commons-io-${commons-io.version}-bin.tar.gz" dest="${basedir}/in/commons-io-${commons-io.version}-bin.tar.gz" /> - <!-- FalconJX --> - <get src="http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/out/apache-flex-falconjx-${falconjx.version}-bin.zip" dest="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin.zip" /> - </target> - - <target name="falconjx.overlay" depends="falconjx.download,falconjx.unzip,falconjx.build" description="Overlay FalconJX artefacts on Flex SDK"> - <!-- Antlr --> - <copy tofile="${flex.sdk.loc}/js/vf2js/lib/external/antlr.jar" overwrite="true"> - <fileset file="${basedir}/in/antlr-complete-${antlr.version}.jar" /> - </copy> - <!-- Closure Compiler --> - <copy toDir="${flex.sdk.loc}/js/vf2js/falconjx/lib/google/closure-compiler" verbose="true"> - <fileset file="${basedir}/in/closure-compiler-${closure.compiler.version}/build/compiler.jar" /> - </copy> - <!-- Closure Library --> - <copy todir="${flex.sdk.loc}/js/vf2js/falconjx/lib/google/closure-library" overwrite="true"> - <fileset dir="${basedir}/in/closure-library" /> - </copy> - <!-- Commons-IO --> - <copy tofile="${flex.sdk.loc}/js/vf2js/falconjx/lib/commons-io.jar" overwrite="true"> - <fileset file="${basedir}/in/commons-io-${commons-io.version}/commons-io-${commons-io.version}.jar" /> - </copy> - <!-- FalconJX --> - <copy todir="${flex.sdk.loc}/js/vf2js/lib" overwrite="true"> - <fileset file="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin/compiler/generated/dist/sdk/lib/compiler.jar" /> - </copy> - <copy todir="${flex.sdk.loc}/js/vf2js/falconjx/lib" overwrite="true"> - <fileset file="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin/js/lib/jsc.jar" /> - <fileset file="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin/js/lib/mxmlc.jar" /> - </copy> - </target> - - <target name="falconjx.unzip" depends="" description="Unzip FalconJX artefacts and dependencies"> - <!-- Closure Compiler --> - <unzip src="${basedir}/in/closure-compiler-${closure.compiler.version}.zip" dest="${basedir}/in" /> - <!-- Commons-IO --> - <untar src="${basedir}/in/commons-io-${commons-io.version}-bin.tar.gz" dest="${basedir}/in" compression="gzip" /> - <!-- FalconJX --> - <unzip src="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin.zip" dest="${basedir}/in/apache-flex-falconjx-${falconjx.version}-bin" /> - </target> - - - - <!-- ============ - Utility targets - ============= --> - - <target name="clean" depends="" description="Cleans all possible 'garbage'"> - <delete dir="${basedir}/in" /> - - <ant dir="${basedir}/frameworks/as" target="clean" /> - </target> - - <target name="clean.sdk" depends="" description="Cleans previous VF2JS overlay"> - <delete dir="${flex.sdk.loc}/examples/vf2js" /> - <delete dir="${flex.sdk.loc}/js/vf2js" /> - <delete dir="${flex.sdk.loc}/frameworks/js/vf2js" /> - <delete> - <fileset dir="${flex.sdk.loc}/ide/flashbuilder/launch" includes="VF2JS*" /> - </delete> - <delete> - <fileset dir="${flex.sdk.loc}/frameworks/libs" includes="vf2js_*" /> - </delete> - </target> - - <target name="chmod" unless="isWindows" description="Make mxmlc script executable on *nix"> - <exec executable="chmod" dir="${flex.sdk.loc}"> - <arg value="+x" /> - <arg value="${flex.sdk.loc}/js/vf2js/falconjx/bin/mxmlc" /> - </exec> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/examples/build.xml b/vf2js/examples/build.xml deleted file mode 100644 index 2d064d1..0000000 --- a/vf2js/examples/build.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="examples" default="main" basedir="."> - - <target name="main" depends="clean,compile" description="Clean build of all examples"/> - - <target name="compile" description="Compile examples"> - <ant dir="${basedir}/vf2js_SimpleTest"/> - <ant dir="${basedir}/vf2js_DatabindingTest"/> - </target> - - <target name="clean" description="Cleans all examples"> - <ant dir="${basedir}/vf2js_SimpleTest" target="clean"/> - <ant dir="${basedir}/vf2js_DatabindingTest" target="clean"/> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/build_example.xml ---------------------------------------------------------------------- diff --git a/vf2js/examples/build_example.xml b/vf2js/examples/build_example.xml deleted file mode 100644 index 6c1325a..0000000 --- a/vf2js/examples/build_example.xml +++ /dev/null @@ -1,86 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="build_example" basedir="."> - - <property environment="env" /> - <property name="FLEX_HOME" value="${env.FLEX_HOME}" /> <!-- must exist for compc task --> - <property name="GOOG_HOME" value="${env.GOOG_HOME}" /> - <property name="PLAYERGLOBAL_HOME" value="${env.PLAYERGLOBAL_HOME}" /> - <property name="playerglobal.version" value="14.0" /> - - <property name="falconjx.home" value="${FLEX_HOME}/js/vf2js/falconjx" /> - - <property name="" location="" /> - - <path id="lib.path"> - <fileset dir="${FLEX_HOME}/ant/lib" includes="flexTasks.jar" /> - </path> - - <condition property="local.d32" value="-d32" else=""> - <and> - <os family="mac" /> - <matches pattern="1.6.*" string="${java.version}" /> - <equals arg1="${sun.arch.data.model}" arg2="64" /> - <equals arg1="${os.arch}" arg2="x86_64" /> - </and> - </condition> - - <target name="compile_vf2js" description="Compiles ${example} (VF2JS style)"> - <echo message="Compiling ${example}.swf" /> - <echo message="FLEX_HOME: ${FLEX_HOME}" /> - <taskdef resource="flexTasks.tasks" classpathref="lib.path" /> - <mxmlc fork="true" file="${basedir}/src/${example}.mxml" output="${basedir}/bin-debug/${example}.swf"> - <jvmarg line="${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true" /> - <arg value="+flexlib=${FLEX_HOME}/frameworks" /> - <arg value="-debug" /> - <arg value="+playerglobal.version=${playerglobal.version}" /> - <arg value="+env.PLAYERGLOBAL_HOME=${PLAYERGLOBAL_HOME}" /> - </mxmlc> - </target> - - <target name="compilejs_vf2js" description="Cross-compiles ${example} (VF2JS style)"> - <echo message="Compiling ${example}.js" /> - <echo message="falconjx.home: ${falconjx.home}" /> - <echo message="FLEX_HOME: ${FLEX_HOME}" /> - <echo message="GOOG_HOME: ${GOOG_HOME}" /> - <java jar="${falconjx.home}/lib/mxmlc.jar" resultProperty="errorCode" fork="true"> - <jvmarg line="${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true" /> - <arg value="+playerglobal.version=${playerglobal.version}" /> - <arg value="+env.PLAYERGLOBAL_HOME=${PLAYERGLOBAL_HOME}" /> - <arg value="-load-config=${FLEX_HOME}/frameworks/flex-config.xml" /> - <arg value="-js-output-type=VF2JS" /> - <arg value="-closure-lib=${GOOG_HOME}" /> - <arg value="-sdk-js-lib=${FLEX_HOME}/frameworks/js/vf2js/src" /> - <arg value="-output=${basedir}" /> - <arg value="${basedir}/src/${example}.mxml" /> - </java> - <fail> - <condition> - <not> - <or> - <equals arg1="${errorCode}" arg2="0" /> - <equals arg1="${errorCode}" arg2="2" /> - </or> - </not> - </condition> - </fail> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_DatabindingTest/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_DatabindingTest/build.xml b/vf2js/examples/vf2js_DatabindingTest/build.xml deleted file mode 100644 index 75f60cc..0000000 --- a/vf2js/examples/vf2js_DatabindingTest/build.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js_databindingtest" default="main" basedir="."> - - <property name="example" value="vf2js_DataBindingTest" /> - - <include file="${basedir}/../build_example.xml"/> - - <!-- target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" / --> - <target name="main" depends="clean,build_example.compile_vf2js" description="Clean build of ${example}" /> - - <target name="clean"> - <delete dir="${basedir}/bin" failonerror="false" /> - <delete dir="${basedir}/bin-debug" failonerror="false" /> - <delete dir="${basedir}/bin-release" failonerror="false" /> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as b/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as deleted file mode 100644 index 8c25b37..0000000 --- a/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as +++ /dev/null @@ -1,78 +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. -// -//////////////////////////////////////////////////////////////////////////////// -package -{ - -import mx.rpc.http.AbstractOperation; -import mx.rpc.http.SerializationFilter; - -public class StockDataJSONItemConverter extends SerializationFilter -{ - - //-------------------------------------------------------------------------- - // - // Constructor - // - //-------------------------------------------------------------------------- - - public function StockDataJSONItemConverter() - { - super(); - } - - //-------------------------------------------------------------------------- - // - // Properties - // - //-------------------------------------------------------------------------- - - //-------------------------------------- - // _deserializedResult - //-------------------------------------- - - private var _deserializedResult:Object; - - //-------------------------------------------------------------------------- - // - // Methods - // - //-------------------------------------------------------------------------- - - //-------------------------------------- - // deserializeResult - //-------------------------------------- - - override public function deserializeResult(operation:AbstractOperation, - result:Object):Object - { - _deserializedResult = JSON.parse(String(result)); - - return result; - } - - //-------------------------------------- - // getItemAt - //-------------------------------------- - - public function getItemAt(index:int):Object - { - return _deserializedResult.query.results.quote; - } -} -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as b/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as deleted file mode 100644 index 82985d0..0000000 --- a/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as +++ /dev/null @@ -1,174 +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. -// -//////////////////////////////////////////////////////////////////////////////// -package models -{ - -import flash.events.Event; -import flash.events.EventDispatcher; -import mx.collections.ArrayCollection; - -public class MyModel extends EventDispatcher -{ - - //-------------------------------------------------------------------------- - // - // Constructor - // - //-------------------------------------------------------------------------- - - public function MyModel() - { - } - - //-------------------------------------------------------------------------- - // - // Properties - // - //-------------------------------------------------------------------------- - - //-------------------------------------- - // allData - //-------------------------------------- - - private var _allData:String = ""; - - [Bindable("responseDataChanged")] - public function get allData():String - { - if (_allData == "" && _responseData != null) - { - for (var p:String in _responseData) - { - _allData += p + ": " + _responseData[p] + "\n"; - } - } - return _allData; - } - - //-------------------------------------- - // requestedField - //-------------------------------------- - - private var _requestedField:String = "Ask"; - - [Bindable("requestedFieldChanged")] - public function get requestedField():String - { - return _requestedField; - } - - public function set requestedField(value:String):void - { - if (value != _requestedField) - { - _requestedField = value; - dispatchEvent(new Event("requestedFieldChanged")); - if (_responseData) - { - dispatchEvent(new Event("responseTextChanged")); - } - } - } - - //-------------------------------------- - // responseData - //-------------------------------------- - - private var _responseData:Object; - - [Bindable("responseDataChanged")] - public function get responseData():Object - { - return _responseData; - } - - public function set responseData(value:Object):void - { - if (value != _responseData) - { - _responseData = value; - _allData = ""; - dispatchEvent(new Event("responseDataChanged")); - dispatchEvent(new Event("responseTextChanged")); - } - } - - //-------------------------------------- - // responseText - //-------------------------------------- - - private var _responseText:String; - - [Bindable("responseTextChanged")] - public function get responseText():String - { - if (_responseData == null) - { - return ""; - } - if (_responseData == "No Data") - { - return _responseData as String; - } - var s:String = _responseData[_requestedField]; - if (s == null) - { - if (_requestedField == "Ask") - { - s = _responseData["Bid"]; - } - } - return s; - } - - //-------------------------------------- - // stockSymbol - //-------------------------------------- - - private var _stockSymbol:String; - - [Bindable(event = "stockSymbolChanged")] - public function get stockSymbol():String - { - return _stockSymbol; - } - - public function set stockSymbol(value:String):void - { - if (_stockSymbol !== value) - { - _stockSymbol = value; - dispatchEvent(new Event("stockSymbolChanged")); - } - } - - //-------------------------------------- - // strings - //-------------------------------------- - - private var _strings:ArrayCollection = new ArrayCollection([ "AAPL", "ADBE", - "GOOG", "MSFT", "YHOO" ]); - - public function get strings():ArrayCollection - { - return _strings; - } -} - -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml b/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml deleted file mode 100644 index 1e69d4d..0000000 --- a/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml +++ /dev/null @@ -1,321 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - -Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with -this work for additional information regarding copyright ownership. -The ASF licenses this file to You under the Apache License, Version 2.0 -(the "License"); you may not use this file except in compliance with -the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - ---> -<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:s="library://ns.adobe.com/flex/spark" - xmlns:mx="library://ns.adobe.com/flex/mx" - xmlns:local="*" - xmlns:models="models.*" - creationComplete="init();"> - - <fx:Style> - - @namespace s "library://ns.adobe.com/flex/spark"; - @namespace mx "library://ns.adobe.com/flex/mx"; - - .leftSide { - /* Implemented as properties, not styles */ - /*vertical-align: top; - margin-right: 10px;*/ - } - - .output { - font-size: 20; - } - - .quoteButton { - /* No applicable styles or properties available in Spark Button */ - /*margin-top: 10px; - margin-bottom: 10px;*/ - } - - .rightSide { - /* Implemented as properties, not styles */ - /*vertical-align: top; - margin-left: 10px; - padding-left: 10px;*/ - } - - .topContainer { - /* Implemented as properties, not styles */ - /*padding: 10px;*/ - } - - </fx:Style> - - <fx:Script><![CDATA[ - - import mx.rpc.events.ResultEvent; - - //---------------------------------------------------------------------- - // - // Properties - // - //---------------------------------------------------------------------- - - //-------------------------------------- - // fieldText - //-------------------------------------- - - [Bindable] - public var fieldText:String; - - //-------------------------------------- - // requestedField - //-------------------------------------- - - public function get requestedField():String - { - return group1.selectedValue as String; - } - - //-------------------------------------- - // symbol - //-------------------------------------- - - private var _symbol:String; - - public function get symbol():String - { - return _symbol; - } - - //-------------------------------------- - // _queryBegin - //-------------------------------------- - - private var _queryBegin:String = - "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20" + - "yahoo.finance.quotes%20where%20symbol%20in%20(%22"; - - //-------------------------------------- - // _queryEnd - //-------------------------------------- - - private var _queryEnd:String = - "%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&" + - "format=json"; - - //---------------------------------------------------------------------- - // - // Methods - // - //---------------------------------------------------------------------- - - //-------------------------------------- - // buttonClickHandler - //-------------------------------------- - - private function buttonClickHandler(event:Event):void - { - service.url = _queryBegin + symbol + _queryEnd; - service.send(); - service.addEventListener("result", completeHandler); - } - - //-------------------------------------- - // completeHandler - //-------------------------------------- - - private function completeHandler(event:ResultEvent):void - { - myModel.responseData = collection.getItemAt(0); - } - - //-------------------------------------- - // init - //-------------------------------------- - - private function init():void - { - addEventListener("buttonClicked", buttonClickHandler); - addEventListener("radioClicked", radioClickHandler); - addEventListener("listChanged", listChangedHandler); - - myModel.stockSymbol = 'ADBE'; - - list.selectedItem = myModel.stockSymbol; - - group1.selectedValue = myModel.requestedField; - - radio1.selected = true; - - fieldText = radio1.label; - } - - //-------------------------------------- - // listChangedHandler - //-------------------------------------- - - private function listChangedHandler(event:Event):void - { - myModel.stockSymbol = symbol; - } - - //-------------------------------------- - // radioChanged - //-------------------------------------- - - private function radioChanged(e:Event):void - { - dispatchEvent(new Event("radioClicked")); - fieldText = RadioButton(e.target).label; - } - - //-------------------------------------- - // radioClickHandler - //-------------------------------------- - - private function radioClickHandler(event:Event):void - { - var field:String = requestedField; - - myModel.requestedField = field; - } - - //-------------------------------------- - // setState - //-------------------------------------- - - private function setState():void - { - currentState = showAllData.selected ? "showAll" : "hideAll"; - } - - ]]></fx:Script> - - <fx:Declarations> - - <s:HTTPService id="service"> - - <s:serializationFilter> - - <local:StockDataJSONItemConverter id="collection" /> - - </s:serializationFilter> - - </s:HTTPService> - - <models:MyModel id="myModel" /> - - <s:RadioButtonGroup id="group1" /> - - </fx:Declarations> - - <s:states> - - <s:State name="hideAll" /> - - <s:State name="showAll" /> - - </s:states> - - <s:VGroup> - - <s:Label - width="300" - text="Enter Stock Symbol or choose from list:" /> - - <s:HGroup - paddingBottom="10" - paddingLeft="10" - paddingRight="10" - paddingTop="10" - styleName="topContainer"> - - <s:VGroup - paddingRight="10" - verticalAlign="top" - styleName="leftSide"> - - <s:TextInput id="symbolTI" - text="{myModel.stockSymbol}" /> - - <s:Button - label="Get Quote" - styleName="quoteButton" - click="_symbol = symbolTI.text; dispatchEvent(new Event('buttonClicked'));" /> - - <s:Label id="field" - text="{fieldText}" /> - - <s:Label - height="24" - styleName="output" - text="{myModel.responseText}" /> - - </s:VGroup> - - <s:VGroup - paddingLeft="20" - styleName="rightSide"> - - <s:DropDownList id="list" - width="100" height="17" - dataProvider="{myModel.strings}" - change="_symbol = list.selectedItem as String; dispatchEvent(new Event('listChanged'))" /> - - <s:RadioButton id="radio1" - label="Price" - value="Ask" - click="radioChanged(event);" - group="{group1}" /> - - <s:RadioButton id="radio2" - label="Change" - value="Change" - click="radioChanged(event);" - group="{group1}" /> - - <s:RadioButton id="radio3" - label="Day's High" - value="DaysHigh" - click="radioChanged(event);" - group="{group1}" /> - - <s:RadioButton id="radio4" - label="Day's Low" - value="DaysLow" - click="radioChanged(event);" - group="{group1}" /> - - <s:CheckBox id="showAllData" - label="Show All Data" - change="setState();" /> - - </s:VGroup> - - </s:HGroup> - - <s:Label id="bindtest" - text="{fieldText + ' expression binding'}" /> - - <s:Label - width="300" - text.showAll="110" - includeIn="showAll" /> - - <s:TextArea id="ta" - width="300" height="100" height.showAll="110" - text="{myModel.allData}" - includeIn="showAll" /> - - </s:VGroup> - -</s:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_SimpleTest/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_SimpleTest/build.xml b/vf2js/examples/vf2js_SimpleTest/build.xml deleted file mode 100644 index bbd979e..0000000 --- a/vf2js/examples/vf2js_SimpleTest/build.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js_simpletest" default="main" basedir="."> - - <property name="example" value="vf2js_SimpleTest" /> - - <include file="${basedir}/../build_example.xml"/> - - <target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" /> - - <target name="clean"> - <delete dir="${basedir}/bin" failonerror="false" /> - <delete dir="${basedir}/bin-debug" failonerror="false" /> - <delete dir="${basedir}/bin-release" failonerror="false" /> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml ---------------------------------------------------------------------- diff --git a/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml b/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml deleted file mode 100644 index 9227ede..0000000 --- a/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - -Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with -this work for additional information regarding copyright ownership. -The ASF licenses this file to You under the Apache License, Version 2.0 -(the "License"); you may not use this file except in compliance with -the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - ---> -<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:s="library://ns.adobe.com/flex/spark" - xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Declarations /> - - <s:Button x="100" label="Start" /> - - <s:Button x="200" label="Stop" /> - -</s:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/build.xml b/vf2js/frameworks/as/build.xml deleted file mode 100644 index e45d69d..0000000 --- a/vf2js/frameworks/as/build.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js-frameworks-as" default="main" basedir="."> - - <property name="flex.sdk.loc" value="${basedir}/.." /> - - <target name="main" depends="clean,compile" description="Clean build of all SWCs" /> - - <target name="compile" description="Builds all SWCs but not their resource bundles"> - <antcall target="vf2js_mx" /> - <antcall target="vf2js_s" /> - </target> - - <target name="clean" description="Cleans all artefacts"> - <ant dir="${basedir}/projects/vf2js_mx" target="clean" /> - <ant dir="${basedir}/projects/vf2js_s" target="clean" /> - - <delete dir="${basedir}/libs" /> - </target> - - <target name="vf2js_mx" description="Clean build of vf2js_mx.swc"> - <ant dir="${basedir}/projects/vf2js_mx" /> - </target> - - <target name="vf2js_s" description="Clean build of vf2js_s.swc"> - <ant dir="${basedir}/projects/vf2js_s" /> - </target> - - <target name="copy.to.sdk" description="Copy SWCs to SDK"> - <copy todir="${flex.sdk.loc}/frameworks/libs"> - <fileset dir="./libs" /> - </copy> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_mx/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_mx/build.xml b/vf2js/frameworks/as/projects/vf2js_mx/build.xml deleted file mode 100644 index c50a59f..0000000 --- a/vf2js/frameworks/as/projects/vf2js_mx/build.xml +++ /dev/null @@ -1,65 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js_mx" default="main" basedir="."> - - <property environment="env" /> - <property name="FLEX_HOME" value="${env.FLEX_HOME}" /> <!-- must exist for compc task --> - <property name="PLAYERGLOBAL_HOME" value="${env.PLAYERGLOBAL_HOME}" /> - <property name="playerglobal.version" value="14.0" /> - - <property name="vf2js.home" location="${basedir}/../../../.." /> - - <target name="main" depends="clean,compile" description="Clean build of vf2js_mx.swc" /> - - <path id="lib.path"> - <fileset dir="${FLEX_HOME}/ant/lib" includes="flexTasks.jar" /> - </path> - - <condition property="local.d32" value="-d32" else=""> - <and> - <os family="mac" /> - <matches pattern="1.6.*" string="${java.version}" /> - <equals arg1="${sun.arch.data.model}" arg2="64" /> - <equals arg1="${os.arch}" arg2="x86_64" /> - </and> - </condition> - - <target name="compile" description="Compiles vf2js_mx.swc"> - <echo message="Compiling '${vf2js.home}/frameworks/as/libs/vf2js_mx.swc'" /> - <echo message="FLEX_HOME: ${FLEX_HOME}" /> - <echo message="vf2js.home: ${vf2js.home}" /> - <taskdef resource="flexTasks.tasks" classpathref="lib.path" /> - <compc fork="true" output="${vf2js.home}/frameworks/as/libs/vf2js_mx.swc"> - <jvmarg line="${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true" /> - <load-config filename="compile-config.xml" /> - <arg value="+playerglobal.home=${PLAYERGLOBAL_HOME}" /> - <arg value="+playerglobal.version=${playerglobal.version}" /> - </compc> - </target> - - <target name="clean"> - <delete failonerror="false"> - <fileset dir="${vf2js.home}/frameworks/as/libs"> - <include name="vf2js_mx.swc" /> - </fileset> - </delete> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_mx/compile-config.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_mx/compile-config.xml b/vf2js/frameworks/as/projects/vf2js_mx/compile-config.xml deleted file mode 100644 index 4269c8d..0000000 --- a/vf2js/frameworks/as/projects/vf2js_mx/compile-config.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<flex-config> - <compiler> - <external-library-path> - <path-element>${playerglobal.home}/${playerglobal.version}/playerglobal.swc</path-element> - </external-library-path> - <namespaces> - <namespace> - <uri>http://flex.apache.org/vf2js_mx/ns</uri> - <manifest>manifest.xml</manifest> - </namespace> - </namespaces> - <source-path> - <path-element>src</path-element> - </source-path> - </compiler> - <include-namespaces> - <uri>http://flex.apache.org/vf2js_mx/ns</uri> - </include-namespaces> - <include-classes> - <class>VF2JSClasses</class> - </include-classes> - <target-player>${playerglobal.version}</target-player> -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_mx/manifest.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_mx/manifest.xml b/vf2js/frameworks/as/projects/vf2js_mx/manifest.xml deleted file mode 100644 index 7c86f72..0000000 --- a/vf2js/frameworks/as/projects/vf2js_mx/manifest.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> - -<!-- - - VF2JS Components - ---> - -<componentPackage> - <component id="Button" class="vf2js_mx.components.Button"/> -</componentPackage> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_mx/src/VF2JSClasses.as ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_mx/src/VF2JSClasses.as b/vf2js/frameworks/as/projects/vf2js_mx/src/VF2JSClasses.as deleted file mode 100644 index e80ff0d..0000000 --- a/vf2js/frameworks/as/projects/vf2js_mx/src/VF2JSClasses.as +++ /dev/null @@ -1,31 +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. -// -//////////////////////////////////////////////////////////////////////////////// - -package -{ - internal class VF2JSClasses - { - /** - * @private - * This class is used to link additional classes into experimental.swc - * beyond those that are found by dependecy analysis starting - * from the classes specified in manifest.xml. - */ - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_mx/src/vf2js_mx/components/Button.as ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_mx/src/vf2js_mx/components/Button.as b/vf2js/frameworks/as/projects/vf2js_mx/src/vf2js_mx/components/Button.as deleted file mode 100644 index d83cdfe..0000000 --- a/vf2js/frameworks/as/projects/vf2js_mx/src/vf2js_mx/components/Button.as +++ /dev/null @@ -1,29 +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. -// -//////////////////////////////////////////////////////////////////////////////// - -package vf2js_mx.components -{ - -public class Button -{ - - public function Button() {} - -} -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/build.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/build.xml b/vf2js/frameworks/as/projects/vf2js_s/build.xml deleted file mode 100644 index 6687042..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/build.xml +++ /dev/null @@ -1,65 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project name="vf2js_mx" default="main" basedir="."> - - <property environment="env" /> - <property name="FLEX_HOME" value="${env.FLEX_HOME}" /> <!-- must exist for compc task --> - <property name="PLAYERGLOBAL_HOME" value="${env.PLAYERGLOBAL_HOME}" /> - <property name="playerglobal.version" value="14.0" /> - - <property name="vf2js.home" location="${basedir}/../../../.." /> - - <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc" /> - - <path id="lib.path"> - <fileset dir="${FLEX_HOME}/ant/lib" includes="flexTasks.jar" /> - </path> - - <condition property="local.d32" value="-d32" else=""> - <and> - <os family="mac" /> - <matches pattern="1.6.*" string="${java.version}" /> - <equals arg1="${sun.arch.data.model}" arg2="64" /> - <equals arg1="${os.arch}" arg2="x86_64" /> - </and> - </condition> - - <target name="compile" description="Compiles vf2js_s.swc"> - <echo message="Compiling '${vf2js.home}/frameworks/as/libs/vf2js_s.swc'" /> - <echo message="FLEX_HOME: ${FLEX_HOME}" /> - <echo message="vf2js.home: ${vf2js.home}" /> - <taskdef resource="flexTasks.tasks" classpathref="lib.path" /> - <compc fork="true" output="${vf2js.home}/frameworks/as/libs/vf2js_s.swc"> - <jvmarg line="${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true" /> - <load-config filename="compile-config.xml" /> - <arg value="+playerglobal.home=${PLAYERGLOBAL_HOME}" /> - <arg value="+playerglobal.version=${playerglobal.version}" /> - </compc> - </target> - - <target name="clean"> - <delete failonerror="false"> - <fileset dir="${vf2js.home}/frameworks/as/libs"> - <include name="vf2js_s.swc" /> - </fileset> - </delete> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/compile-config.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/compile-config.xml b/vf2js/frameworks/as/projects/vf2js_s/compile-config.xml deleted file mode 100644 index 2c6e4e2..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/compile-config.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<flex-config> - <compiler> - <external-library-path> - <path-element>${playerglobal.home}/${playerglobal.version}/playerglobal.swc</path-element> - </external-library-path> - <namespaces> - <namespace> - <uri>http://flex.apache.org/vf2js_s/ns</uri> - <manifest>manifest.xml</manifest> - </namespace> - </namespaces> - <source-path> - <path-element>src</path-element> - </source-path> - </compiler> - <include-namespaces> - <uri>http://flex.apache.org/vf2js_s/ns</uri> - </include-namespaces> - <include-classes> - <class>VF2JSClasses</class> - </include-classes> - <target-player>${playerglobal.version}</target-player> -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/manifest.xml ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/manifest.xml b/vf2js/frameworks/as/projects/vf2js_s/manifest.xml deleted file mode 100644 index 7bf4f16..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/manifest.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> - -<!-- - - VF2JS Components - ---> - -<componentPackage> - <component id="Application" class="vf2js_s.components.Application"/> - <component id="Button" class="vf2js_s.components.Button"/> -</componentPackage> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/src/VF2JSClasses.as ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/src/VF2JSClasses.as b/vf2js/frameworks/as/projects/vf2js_s/src/VF2JSClasses.as deleted file mode 100644 index e80ff0d..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/src/VF2JSClasses.as +++ /dev/null @@ -1,31 +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. -// -//////////////////////////////////////////////////////////////////////////////// - -package -{ - internal class VF2JSClasses - { - /** - * @private - * This class is used to link additional classes into experimental.swc - * beyond those that are found by dependecy analysis starting - * from the classes specified in manifest.xml. - */ - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Application.as ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Application.as b/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Application.as deleted file mode 100644 index 51e3fd9..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Application.as +++ /dev/null @@ -1,35 +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. -// -//////////////////////////////////////////////////////////////////////////////// - -package vf2js_s.components -{ - -public class Application -{ - //-------------------------------------------------------------------------- - // - // Constructor - // - //-------------------------------------------------------------------------- - - public function Application() {} - -} - -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Button.as ---------------------------------------------------------------------- diff --git a/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Button.as b/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Button.as deleted file mode 100644 index 1b66982..0000000 --- a/vf2js/frameworks/as/projects/vf2js_s/src/vf2js_s/components/Button.as +++ /dev/null @@ -1,33 +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. -// -//////////////////////////////////////////////////////////////////////////////// - -package vf2js_s.components -{ - -public class Button -{ - - public function Button() {} - - public var label:String; - - public var x:Number; - -} -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bb7b41e/vf2js/ide/flashbuilder/launch/VF2JS (Debug and Release Build).launch ---------------------------------------------------------------------- diff --git a/vf2js/ide/flashbuilder/launch/VF2JS (Debug and Release Build).launch b/vf2js/ide/flashbuilder/launch/VF2JS (Debug and Release Build).launch deleted file mode 100644 index f860979..0000000 --- a/vf2js/ide/flashbuilder/launch/VF2JS (Debug and Release Build).launch +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version='1.0' encoding='UTF-8' standalone='no'?> -<!-- - - 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. - ---> -<launchConfiguration type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'> -<booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' value='false'/> -<listAttribute key='org.eclipse.debug.ui.favoriteGroups'> -<listEntry value='org.eclipse.ui.externaltools.launchGroup'/> -</listAttribute> -<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' value='${project}'/> -<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='$flex_sdk_loc/js/vf2js/falconjx/bin/mxmlc'/> -<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-fb "${project_loc}"'/> -</launchConfiguration>
