You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2014/07/02 16:17:46 UTC
[01/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Missed a bit ;
-) Removed copied component references and added 'Button'.
Repository: flex-sdk
Updated Branches:
refs/heads/VF2JS [created] a03d5aea0
Missed a bit ;-) Removed copied component references and added 'Button'.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4467ffb6
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4467ffb6
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4467ffb6
Branch: refs/heads/VF2JS
Commit: 4467ffb618cd0ee653f520836e14ca83f42fe788
Parents: f033c66
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 12:25:17 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:09 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/manifest.xml | 58 ++++-------------------------
1 file changed, 7 insertions(+), 51 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4467ffb6/frameworks/projects/vf2js/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/manifest.xml b/frameworks/projects/vf2js/manifest.xml
index cdfe63e..2422c70 100644
--- a/frameworks/projects/vf2js/manifest.xml
+++ b/frameworks/projects/vf2js/manifest.xml
@@ -20,58 +20,14 @@
<!--
- Experimental Components
+ VF2JS Components
-->
<componentPackage>
- <!-- components -->
- <!-- Alert -->
- <component id="Alert" class="spark.components.Alert"/>
- <!-- DataAccordion -->
- <component id="DataAccordion" class="spark.components.DataAccordion"/>
- <!-- DataNavigator -->
- <component id="DataNavigator" class="spark.components.DataNavigator"/>
- <!-- DataNavigatorGroup -->
- <component id="DataNavigatorGroup" class="spark.components.DataNavigatorGroup"/>
- <!-- BorderDataNavigatorGroup -->
- <component id="BorderDataNavigator" class="spark.components.BorderDataNavigator"/>
- <!-- InlineScroller -->
- <component id="InlineScroller" class="spark.components.InlineScroller"/>
- <!-- ColorPicker -->
- <component id="ColorPicker" class="spark.components.ColorPicker"/>
- <!-- MaskedTextInput -->
- <component id="MaskedTextInput" class="spark.components.MaskedTextInput"/>
- <!-- Menu -->
- <component id="Menu" class="spark.components.Menu"/>
- <component id="MenuItemRenderer" class="spark.components.itemRenderers.MenuItemRenderer"/>
- <!-- MenuBar -->
- <component id="MenuBar" class="spark.components.MenuBar"/>
- <component id="MenuBarItemRenderer" class="spark.components.itemRenderers.MenuBarItemRenderer"/>
- <!-- ProgressBar -->
- <component id="ProgressBar" class="spark.components.ProgressBar"/>
-
- <!-- containers -->
- <component id="Accordion" class="spark.containers.Accordion"/>
- <component id="DeferredGroup" class="spark.containers.DeferredGroup"/>
- <component id="Navigator" class="spark.containers.Navigator"/>
- <component id="NavigatorGroup" class="spark.containers.NavigatorGroup"/>
-
-
- <!-- Horizontal and Vertical dividers and their groups -->
- <component id="Divider" class="spark.containers.Divider"/>
- <component id="HDivider" class="spark.containers.HDivider"/>
- <component id="VDivider" class="spark.containers.VDivider"/>
- <component id="DividerGroup" class="spark.containers.DividedGroup"/>
- <component id="HDividerGroup" class="spark.containers.HDividerGroup"/>
- <component id="VDividerGroup" class="spark.containers.VDividerGroup"/>
-
- <!-- layouts -->
- <component id="AccordionLayout" class="spark.layouts.AccordionLayout"/>
- <component id="CarouselLayout" class="spark.layouts.CarouselLayout"/>
- <component id="CoverflowLayout" class="spark.layouts.CoverflowLayout"/>
- <component id="InlineScrollerLayout" class="spark.layouts.InlineScrollerLayout"/>
- <component id="RolodexLayout" class="spark.layouts.RolodexLayout"/>
- <component id="StackLayout" class="spark.layouts.StackLayout"/>
- <component id="TimeMachineLayout" class="spark.layouts.TimeMachineLayout"/>
-
+
+ <!-- components -->
+
+ <!-- Button -->
+ <component id="Button" class="vf2js.components.Button" />
+
</componentPackage>
[12/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Renamed project.
Posted by er...@apache.org.
Renamed project.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1b7cce9e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1b7cce9e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1b7cce9e
Branch: refs/heads/VF2JS
Commit: 1b7cce9e4fbdfecd6fcc720419ad2d83fb4f6e3c
Parents: 3d86a4a
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:44:33 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:44:33 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/build.xml | 167 -------------------
frameworks/projects/vf2js/bundle-config.xml | 44 -----
.../vf2js/bundles/en_US/vf2js.properties | 18 --
.../vf2js/bundles/nl_NL/vf2js.properties | 18 --
frameworks/projects/vf2js/compile-config.xml | 63 -------
frameworks/projects/vf2js/defaults.css | 21 ---
frameworks/projects/vf2js/manifest.xml | 30 ----
frameworks/projects/vf2js/src/VF2JSClasses.as | 31 ----
.../vf2js/src/vf2js_s/components/Application.as | 35 ----
.../vf2js/src/vf2js_s/components/Button.as | 33 ----
frameworks/projects/vf2js_s/build.xml | 167 +++++++++++++++++++
frameworks/projects/vf2js_s/bundle-config.xml | 44 +++++
.../vf2js_s/bundles/en_US/vf2js.properties | 18 ++
.../vf2js_s/bundles/nl_NL/vf2js.properties | 18 ++
frameworks/projects/vf2js_s/compile-config.xml | 63 +++++++
frameworks/projects/vf2js_s/defaults.css | 21 +++
frameworks/projects/vf2js_s/manifest.xml | 30 ++++
frameworks/projects/vf2js_s/src/VF2JSClasses.as | 31 ++++
.../src/vf2js_s/components/Application.as | 35 ++++
.../vf2js_s/src/vf2js_s/components/Button.as | 33 ++++
20 files changed, 460 insertions(+), 460 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/build.xml b/frameworks/projects/vf2js/build.xml
deleted file mode 100644
index 7608819..0000000
--- a/frameworks/projects/vf2js/build.xml
+++ /dev/null
@@ -1,167 +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_s" default="main" basedir=".">
- <property name="FLEX_HOME" location="${basedir}/../../.."/>
- <property file="${FLEX_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEX_HOME}/build.properties"/>
- <macrodef name="bundle">
- <attribute name="locale"/>
- <sequential>
- <echo message="Compiling frameworks/locale/@{locale}/vf2js_s_rb.swc"/>
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="bundle-config.xml"/>
- <arg value="+playerglobal.version=${playerglobal.version}"/>
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
- <arg value="+locale=@{locale}"/>
- </compc>
- </sequential>
- </macrodef>
- <macrodef name="fat-swc">
- <attribute name="locale"/>
- <sequential>
- <mkdir dir="${basedir}/bundles/@{locale}/docs"/>
- <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc" update="true">
- <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
- <include name="*.*"/>
- </zipfileset>
- <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
- <include name="packages.dita"/>
- </zipfileset>
- </zip>
- </sequential>
- </macrodef>
- <macrodef name="bundle-clean">
- <attribute name="locale"/>
- <sequential>
- <delete failonerror="false">
- <fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="@{locale}/vf2js_s_rb.swc"/>
- <include name="@{locale}/vf2js_s_rb.swc.incr"/>
- </fileset>
- </delete>
- </sequential>
- </macrodef>
- <macrodef name="bundler">
- <attribute name="locale"/>
- <element name="run.fat.swc" optional="yes"/>
- <sequential>
- <bundle-clean locale="@{locale}"/>
- <bundle locale="@{locale}"/>
- <run.fat.swc/>
- </sequential>
- </macrodef>
- <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc and default locale">
- <bundle locale="${locale}"/>
- </target>
- <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
- <!-- This is a private target for building vf2js.swc for various locales. -->
- <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
- <target name="bundles">
- <!-- these languages do not have localized docs-->
- <bundler locale="nl_NL"/>
- <!-- Dutch resources -->
- </target>
- <target name="clean" depends="bundles-clean">
- <delete failonerror="false">
- <fileset dir="${basedir}">
- <include name="bundles.properties"/>
- <include name="bundles/en_US/packages.dita"/>
- </fileset>
- <fileset dir="${FLEX_HOME}/frameworks/libs">
- <include name="vf2js_s.swc"/>
- <include name="vf2js_s.swc.incr"/>
- </fileset>
- </delete>
- </target>
- <target name="bundles-clean">
- <delete failonerror="false">
- <fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="*/vf2js_s_rb.swc"/>
- <include name="*/vf2js_s_rb.swc.incr"/>
- </fileset>
- </delete>
- </target>
- <target name="compile" description="Compiles vf2js_s.swc">
- <echo message="Compiling frameworks/libs/vf2js_s.swc"/>
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <!--
- Link in the classes (and their dependencies) for the experimental classes
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in ExperimentalClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- Link in accessibility support.
- Include the appropriate CSS files and assets in the SWC.
- Don't include any resources in the SWC.
- Write a bundle list of referenced resource bundles
- into the file bundles.properties in this directory.
- -->
- <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_s.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="compile-config.xml"/>
- <arg value="+playerglobal.version=${playerglobal.version}"/>
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
- </compc>
- </target>
- <target name="doc" depends="clean-temp-docs" description="updates vf2js_s.swc with asdoc xml">
- <!-- Load the <asdoc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <condition property="asdoc.jvm.args" value="-Xmx384m">
- <os family="windows"/>
- </condition>
- <condition property="asdoc.jvm.args" value="-Xmx512m">
- <os family="mac"/>
- </condition>
- <condition property="asdoc.jvm.args" value="-Xmx512m">
- <os family="unix"/>
- </condition>
- <!-- Call asdoc to generate dita xml files -->
- <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
- <compiler.source-path path-element="${basedir}/src"/>
- <doc-classes class="ExperimentalClasses"/>
- <namespace uri="http://flex.apache.org/vf2js_s/ns" manifest="${basedir}/manifest.xml"/>
- <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
- <jvmarg line="${asdoc.jvm.args}"/>
- </asdoc>
- <!-- updates vf2js_s.swc with asdoc xml -->
- <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_s_rb.swc" update="true">
- <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
- <include name="*.*"/>
- <exclude name="ASDoc_Config.xml"/>
- <exclude name="overviews.xml"/>
- </zipfileset>
- </zip>
- <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
- </target>
- <target name="clean-temp-docs">
- <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
- <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
- </target>
-</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundle-config.xml b/frameworks/projects/vf2js/bundle-config.xml
deleted file mode 100644
index 3604b7a..0000000
--- a/frameworks/projects/vf2js/bundle-config.xml
+++ /dev/null
@@ -1,44 +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>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- <path-element>../../libs/framework.swc</path-element>
- <path-element>../../libs/spark.swc</path-element>
- </external-library-path>
- <include-libraries/>
- <library-path/>
- <locale>
- <locale-element>${locale}</locale-element>
- </locale>
- <source-path>
- <path-element>src</path-element>
- <path-element>bundles/${locale}</path-element>
- </source-path>
- </compiler>
- <include-classes/>
- <include-namespaces/>
- <include-resource-bundles>
- <bundle>vf2js_s</bundle>
- </include-resource-bundles>
- <target-player>${playerglobal.version}</target-player>
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/compile-config.xml b/frameworks/projects/vf2js/compile-config.xml
deleted file mode 100644
index a297b33..0000000
--- a/frameworks/projects/vf2js/compile-config.xml
+++ /dev/null
@@ -1,63 +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>
- <accessible>true</accessible>
- <external-library-path>
- <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- <path-element>../../libs/framework.swc</path-element>
- <path-element>../../libs/spark.swc</path-element>
- </external-library-path>
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>SkinPart</name>
- </keep-as3-metadata>
- <locale/>
- <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>
- <show-deprecation-warnings>false</show-deprecation-warnings>
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
- <include-namespaces>
- <uri>http://flex.apache.org/vf2js_s/ns</uri>
- </include-namespaces>
- <include-classes>
- <class>VF2JSClasses</class>
- </include-classes>
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <resource-bundle-list>bundles.properties</resource-bundle-list>
- <target-player>${playerglobal.version}</target-player>
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/defaults.css b/frameworks/projects/vf2js/defaults.css
deleted file mode 100644
index 5fe436b..0000000
--- a/frameworks/projects/vf2js/defaults.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-@namespace vf2js_s "http://flex.apache.org/vf2js_s/ns";
-@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/manifest.xml b/frameworks/projects/vf2js/manifest.xml
deleted file mode 100644
index 7bf4f16..0000000
--- a/frameworks/projects/vf2js/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-sdk/blob/1b7cce9e/frameworks/projects/vf2js/src/VF2JSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/VF2JSClasses.as b/frameworks/projects/vf2js/src/VF2JSClasses.as
deleted file mode 100644
index e80ff0d..0000000
--- a/frameworks/projects/vf2js/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-sdk/blob/1b7cce9e/frameworks/projects/vf2js/src/vf2js_s/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js_s/components/Application.as b/frameworks/projects/vf2js/src/vf2js_s/components/Application.as
deleted file mode 100644
index 51e3fd9..0000000
--- a/frameworks/projects/vf2js/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-sdk/blob/1b7cce9e/frameworks/projects/vf2js/src/vf2js_s/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js_s/components/Button.as b/frameworks/projects/vf2js/src/vf2js_s/components/Button.as
deleted file mode 100644
index 1b66982..0000000
--- a/frameworks/projects/vf2js/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-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/build.xml b/frameworks/projects/vf2js_s/build.xml
new file mode 100644
index 0000000..7608819
--- /dev/null
+++ b/frameworks/projects/vf2js_s/build.xml
@@ -0,0 +1,167 @@
+<?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_s" default="main" basedir=".">
+ <property name="FLEX_HOME" location="${basedir}/../../.."/>
+ <property file="${FLEX_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEX_HOME}/build.properties"/>
+ <macrodef name="bundle">
+ <attribute name="locale"/>
+ <sequential>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_s_rb.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="bundle-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ <arg value="+locale=@{locale}"/>
+ </compc>
+ </sequential>
+ </macrodef>
+ <macrodef name="fat-swc">
+ <attribute name="locale"/>
+ <sequential>
+ <mkdir dir="${basedir}/bundles/@{locale}/docs"/>
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc" update="true">
+ <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
+ <include name="*.*"/>
+ </zipfileset>
+ <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
+ <include name="packages.dita"/>
+ </zipfileset>
+ </zip>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundle-clean">
+ <attribute name="locale"/>
+ <sequential>
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="@{locale}/vf2js_s_rb.swc"/>
+ <include name="@{locale}/vf2js_s_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundler">
+ <attribute name="locale"/>
+ <element name="run.fat.swc" optional="yes"/>
+ <sequential>
+ <bundle-clean locale="@{locale}"/>
+ <bundle locale="@{locale}"/>
+ <run.fat.swc/>
+ </sequential>
+ </macrodef>
+ <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc and default locale">
+ <bundle locale="${locale}"/>
+ </target>
+ <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
+ <!-- This is a private target for building vf2js.swc for various locales. -->
+ <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
+ <target name="bundles">
+ <!-- these languages do not have localized docs-->
+ <bundler locale="nl_NL"/>
+ <!-- Dutch resources -->
+ </target>
+ <target name="clean" depends="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${basedir}">
+ <include name="bundles.properties"/>
+ <include name="bundles/en_US/packages.dita"/>
+ </fileset>
+ <fileset dir="${FLEX_HOME}/frameworks/libs">
+ <include name="vf2js_s.swc"/>
+ <include name="vf2js_s.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="*/vf2js_s_rb.swc"/>
+ <include name="*/vf2js_s_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="compile" description="Compiles vf2js_s.swc">
+ <echo message="Compiling frameworks/libs/vf2js_s.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <!--
+ Link in the classes (and their dependencies) for the experimental classes
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in ExperimentalClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Link in accessibility support.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_s.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="compile-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ </compc>
+ </target>
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js_s.swc with asdoc xml">
+ <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <condition property="asdoc.jvm.args" value="-Xmx384m">
+ <os family="windows"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="mac"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="unix"/>
+ </condition>
+ <!-- Call asdoc to generate dita xml files -->
+ <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+ <compiler.source-path path-element="${basedir}/src"/>
+ <doc-classes class="ExperimentalClasses"/>
+ <namespace uri="http://flex.apache.org/vf2js_s/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
+ <jvmarg line="${asdoc.jvm.args}"/>
+ </asdoc>
+ <!-- updates vf2js_s.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_s_rb.swc" update="true">
+ <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+ <include name="*.*"/>
+ <exclude name="ASDoc_Config.xml"/>
+ <exclude name="overviews.xml"/>
+ </zipfileset>
+ </zip>
+ <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
+ </target>
+ <target name="clean-temp-docs">
+ <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+ <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundle-config.xml b/frameworks/projects/vf2js_s/bundle-config.xml
new file mode 100644
index 0000000..3604b7a
--- /dev/null
+++ b/frameworks/projects/vf2js_s/bundle-config.xml
@@ -0,0 +1,44 @@
+<?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>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <include-libraries/>
+ <library-path/>
+ <locale>
+ <locale-element>${locale}</locale-element>
+ </locale>
+ <source-path>
+ <path-element>src</path-element>
+ <path-element>bundles/${locale}</path-element>
+ </source-path>
+ </compiler>
+ <include-classes/>
+ <include-namespaces/>
+ <include-resource-bundles>
+ <bundle>vf2js_s</bundle>
+ </include-resource-bundles>
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/compile-config.xml b/frameworks/projects/vf2js_s/compile-config.xml
new file mode 100644
index 0000000..a297b33
--- /dev/null
+++ b/frameworks/projects/vf2js_s/compile-config.xml
@@ -0,0 +1,63 @@
+<?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>
+ <accessible>true</accessible>
+ <external-library-path>
+ <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ <name>SkinPart</name>
+ </keep-as3-metadata>
+ <locale/>
+ <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>
+ <show-deprecation-warnings>false</show-deprecation-warnings>
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+ <include-namespaces>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ </include-namespaces>
+ <include-classes>
+ <class>VF2JSClasses</class>
+ </include-classes>
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <resource-bundle-list>bundles.properties</resource-bundle-list>
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/defaults.css b/frameworks/projects/vf2js_s/defaults.css
new file mode 100644
index 0000000..5fe436b
--- /dev/null
+++ b/frameworks/projects/vf2js_s/defaults.css
@@ -0,0 +1,21 @@
+/*
+*
+* 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.
+*
+*/
+
+@namespace vf2js_s "http://flex.apache.org/vf2js_s/ns";
+@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/manifest.xml b/frameworks/projects/vf2js_s/manifest.xml
new file mode 100644
index 0000000..7bf4f16
--- /dev/null
+++ b/frameworks/projects/vf2js_s/manifest.xml
@@ -0,0 +1,30 @@
+<?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-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/src/VF2JSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/src/VF2JSClasses.as b/frameworks/projects/vf2js_s/src/VF2JSClasses.as
new file mode 100644
index 0000000..e80ff0d
--- /dev/null
+++ b/frameworks/projects/vf2js_s/src/VF2JSClasses.as
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/src/vf2js_s/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/src/vf2js_s/components/Application.as b/frameworks/projects/vf2js_s/src/vf2js_s/components/Application.as
new file mode 100644
index 0000000..51e3fd9
--- /dev/null
+++ b/frameworks/projects/vf2js_s/src/vf2js_s/components/Application.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/1b7cce9e/frameworks/projects/vf2js_s/src/vf2js_s/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/src/vf2js_s/components/Button.as b/frameworks/projects/vf2js_s/src/vf2js_s/components/Button.as
new file mode 100644
index 0000000..1b66982
--- /dev/null
+++ b/frameworks/projects/vf2js_s/src/vf2js_s/components/Button.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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;
+
+}
+}
[10/18] git commit: [flex-sdk] [refs/heads/VF2JS] - To accommodate
shims for both 's' and 'mx' namespaces,
the original 'vf2js' namespace is now split: 'vf2js_s' for Spark shims and
'vf2js_mx' for MX shims.
Posted by er...@apache.org.
To accommodate shims for both 's' and 'mx' namespaces, the original 'vf2js' namespace is now split: 'vf2js_s' for Spark shims and 'vf2js_mx' for MX shims.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ec4a73f6
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ec4a73f6
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ec4a73f6
Branch: refs/heads/VF2JS
Commit: ec4a73f692f7d5791eff7ae93c285eed5988001a
Parents: 5dcda79
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:42:44 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:42:44 2014 +0200
----------------------------------------------------------------------
build.xml | 9 ++-
frameworks/build.xml | 20 ++++--
frameworks/build_framework.xml | 66 +++++++++++++++-----
frameworks/flex-config-template.xml | 8 ++-
frameworks/flex-config.xml | 8 ++-
frameworks/projects/vf2js/build.xml | 36 +++++------
frameworks/projects/vf2js/bundle-config.xml | 2 +-
frameworks/projects/vf2js/compile-config.xml | 4 +-
frameworks/projects/vf2js/defaults.css | 2 +-
frameworks/projects/vf2js/manifest.xml | 4 +-
.../vf2js/src/vf2js/components/Application.as | 2 +-
.../vf2js/src/vf2js/components/Button.as | 2 +-
frameworks/vf2js-manifest.xml | 4 +-
ide/flashbuilder/config/flex-config.xml | 8 ++-
14 files changed, 118 insertions(+), 57 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 7dd9b8d..a427303 100644
--- a/build.xml
+++ b/build.xml
@@ -468,8 +468,10 @@
<create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="experimental" build-number="${release.version}.${build.number.date}"/>
<!-- mobile experimental RSL -->
<create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="experimental_mobile" build-number="${release.version}.${build.number.date}"/>
- <!-- vf2js RSL -->
- <create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="vf2js" build-number="${release.version}.${build.number.date}"/>
+ <!-- vf2js_mx RSL -->
+ <create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="vf2js_mx" build-number="${release.version}.${build.number.date}"/>
+ <!-- vf2js_s RSL -->
+ <create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="vf2js_s" build-number="${release.version}.${build.number.date}"/>
</target>
<target name="other.locales" description="Build resource SWCs for additional locales">
@@ -953,7 +955,8 @@ There are no known issues.
<include name="advancedgrids.swc"/>
<include name="spark_dmv.swc"/>
<include name="textLayout.swc"/>
- <include name="vf2js.swc"/>
+ <include name="vf2js_mx.swc"/>
+ <include name="vf2js_s.swc"/>
<exclude name="osmf.swc"/>
</fileset>
</copy>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index 067ee9d..c582277 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -131,7 +131,8 @@
<antcall target="apache"/>
<antcall target="experimental"/>
<antcall target="experimental_mobile"/>
- <antcall target="vf2js"/>
+ <antcall target="vf2js_mx"/>
+ <antcall target="vf2js_s"/>
<antcall target="compile-automation"/>
</target>
@@ -242,7 +243,8 @@
<ant dir="${basedir}/projects/apache" target="other.locales"/>
<ant dir="${basedir}/projects/experimental" target="other.locales"/>
<ant dir="${basedir}/projects/experimental_mobile" target="other.locales"/>
- <ant dir="${basedir}/projects/vf2js" target="other.locales"/>
+ <ant dir="${basedir}/projects/vf2js_mx" target="other.locales"/>
+ <ant dir="${basedir}/projects/vf2js_s" target="other.locales"/>
</target>
<target name="doc" >
@@ -272,7 +274,8 @@
<ant dir="${basedir}/projects/experimental_mobile" target="doc" />
<!-- removed until this project gets proper documentation -->
<!--
- <ant dir="${basedir}/projects/vf2js" target="doc" />
+ <ant dir="${basedir}/projects/vf2js_mx" target="doc" />
+ <ant dir="${basedir}/projects/vf2js_s" target="doc" />
-->
</target>
@@ -312,7 +315,8 @@
<ant dir="${basedir}/projects/apache" target="clean"/>
<ant dir="${basedir}/projects/experimental" target="clean"/>
<ant dir="${basedir}/projects/experimental_mobile" target="clean"/>
- <ant dir="${basedir}/projects/vf2js" target="clean"/>
+ <ant dir="${basedir}/projects/vf2js_mx" target="clean"/>
+ <ant dir="${basedir}/projects/vf2js_s" target="clean"/>
<ant dir="${basedir}/javascript" target="clean"/>
<ant dir="${basedir}/themes/AeonGraphical" target="clean"/>
<!-- delete the FlashBuilder executable directories -->
@@ -513,7 +517,11 @@
<ant dir="${basedir}/projects/experimental_mobile"/>
</target>
- <target name="vf2js" description="Clean build of vf2js.swc">
- <ant dir="${basedir}/projects/vf2js"/>
+ <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>
</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/build_framework.xml
----------------------------------------------------------------------
diff --git a/frameworks/build_framework.xml b/frameworks/build_framework.xml
index d224ce3..5e253d0 100644
--- a/frameworks/build_framework.xml
+++ b/frameworks/build_framework.xml
@@ -60,7 +60,8 @@
<property name="experimental.dir" value="${projects.dir}/experimental"/>
<property name="textLayout.dir" value="${projects.dir}/textLayout"/>
<property name="experimental.dir" value="${projects.dir}/experimental"/>
- <property name="vf2js.dir" value="${projects.dir}/vf2js"/>
+ <property name="vf2js_mx.dir" value="${projects.dir}/vf2js_mx"/>
+ <property name="vf2js_s.dir" value="${projects.dir}/vf2js_s"/>
<!-- automation -->
<property name="automation.dir" value="${projects.dir}/automation"/>
@@ -82,9 +83,9 @@
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar;${FLEX_HOME}/lib/flexTasks.jar"/>
- <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,textLayout,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv,apache,experimental,vf2js"/>
+ <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,textLayout,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv,apache,experimental,vf2js_mx,vf2js_s"/>
- <target name="bundles" depends="framework_rb,mx_rb,textLayout_rb,spark_rb,airframework_rb,airspark_rb,mobilecomponents_rb,rpc_rb,charts_rb,advancedgrids_rb,automation-rbs,apache_rb,experimental_rb,vf2js_rb"/>
+ <target name="bundles" depends="framework_rb,mx_rb,textLayout_rb,spark_rb,airframework_rb,airspark_rb,mobilecomponents_rb,rpc_rb,charts_rb,advancedgrids_rb,automation-rbs,apache_rb,experimental_rb,vf2js_mx_rb,vf2js_s_rb"/>
<target name="automation-swcs"
depends="automation_agent,automation_dmv,tool,tool_air,automation,automation_air,automation_spark,automation_flashflexkit,automation_air,automation_airspark"
@@ -1070,11 +1071,11 @@
</compc>
</target>
- <target name="vf2js" description="Builds the vf2js.swc">
+ <target name="vf2js_mx" description="Builds the vf2js_mx.swc">
<compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}" accessible="true"
- include-classes="VF2JSClasses" output="${basedir}/libs/vf2js.swc"
- resource-bundle-list="${vf2js.dir}/bundles.properties">
- <source-path path-element="${vf2js.dir}/src"/>
+ include-classes="VF2JSClasses" output="${basedir}/libs/vf2js_mx.swc"
+ resource-bundle-list="${vf2js_mx.dir}/bundles.properties">
+ <source-path path-element="${vf2js_mx.dir}/src"/>
<library-path />
<external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
<external-library-path dir="${basedir}/libs">
@@ -1089,13 +1090,48 @@
<keep-as3-metadata name="Transient"/>
</compc>
</target>
+
+ <target name="vf2js_s" description="Builds the vf2js_s.swc">
+ <compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}" accessible="true"
+ include-classes="VF2JSClasses" output="${basedir}/libs/vf2js_s.swc"
+ resource-bundle-list="${vf2js_s.dir}/bundles.properties">
+ <source-path path-element="${vf2js_s.dir}/src"/>
+ <library-path />
+ <external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
+ <external-library-path dir="${basedir}/libs">
+ <include name="mx.swc"/>
+ </external-library-path>
+ <include-file name="defaults.css" path="${mx.dir}/defaults.css"/>
+ <jvmarg line="${compc.jvm.args}"/>
+ <keep-as3-metadata name="Bindable"/>
+ <keep-as3-metadata name="Managed"/>
+ <keep-as3-metadata name="ChangeEvent"/>
+ <keep-as3-metadata name="NonCommittingChangeEvent"/>
+ <keep-as3-metadata name="Transient"/>
+ </compc>
+ </target>
+
+ <target name="vf2js_mx_rb" description="Builds default locale vf2js_mx_rb.swc">
+ <compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}"
+ output="${basedir}/locale/${locale}/vf2js_mx_rb.swc">
+ <include-resource-bundles bundle="vf2js_mx"/>
+ <source-path path-element="${vf2js_mx.dir}/bundles/${locale}"/>
+ <source-path path-element="${vf2js_mx.dir}/src"/>
+ <external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
+ <external-library-path dir="${basedir}/libs">
+ <include name="framework.swc"/>
+ </external-library-path>
+ <library-path/>
+ <jvmarg line="${compc.jvm.args}"/>
+ </compc>
+ </target>
- <target name="vf2js_rb" description="Builds default locale vf2js_rb.swc">
+ <target name="vf2js_s_rb" description="Builds default locale vf2js_s_rb.swc">
<compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}"
- output="${basedir}/locale/${locale}/vf2js_rb.swc">
- <include-resource-bundles bundle="vf2js"/>
- <source-path path-element="${vf2js.dir}/bundles/${locale}"/>
- <source-path path-element="${vf2js.dir}/src"/>
+ output="${basedir}/locale/${locale}/vf2js_s_rb.swc">
+ <include-resource-bundles bundle="vf2js_s"/>
+ <source-path path-element="${vf2js_s.dir}/bundles/${locale}"/>
+ <source-path path-element="${vf2js_s.dir}/src"/>
<external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
<external-library-path dir="${basedir}/libs">
<include name="framework.swc"/>
@@ -1136,7 +1172,8 @@
<include name="flash-integration.swc"/>
<include name="apache.swc"/>
<include name="experimental.swc"/>
- <include name="vf2js.swc"/>
+ <include name="vf2js_mx.swc"/>
+ <include name="vf2js_s.swc"/>
</fileset>
<fileset dir="${basedir}/libs/automation">
<include name="automation_agent.swc"/>
@@ -1173,7 +1210,8 @@
<include name="tool_air_rb.swc"/>
<include name="apache_rb.swc"/>
<include name="experimental_rb.swc"/>
- <include name="vf2js_rb.swc"/>
+ <include name="vf2js_mx_rb.swc"/>
+ <include name="vf2js_s_rb.swc"/>
</fileset>
</delete>
<delete dir="${basedir}/projects" includes="*/bundles.properties"/>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/flex-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index b0a65b5..300d2f9 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -112,8 +112,12 @@
<manifest>experimental-manifest.xml</manifest>
</namespace>
<namespace>
- <uri>http://flex.apache.org/vf2js/ns</uri>
- <manifest>vf2js-manifest.xml</manifest>
+ <uri>http://flex.apache.org/vf2js_mx/ns</uri>
+ <manifest>vf2js_mx-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ <manifest>vf2js_s-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config.xml b/frameworks/flex-config.xml
index 5e71caa..7678771 100644
--- a/frameworks/flex-config.xml
+++ b/frameworks/flex-config.xml
@@ -112,8 +112,12 @@
<manifest>experimental-manifest.xml</manifest>
</namespace>
<namespace>
- <uri>http://flex.apache.org/vf2js/ns</uri>
- <manifest>vf2js-manifest.xml</manifest>
+ <uri>http://flex.apache.org/vf2js_mx/ns</uri>
+ <manifest>vf2js_mx-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ <manifest>vf2js_s-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/build.xml b/frameworks/projects/vf2js/build.xml
index 40b9bc2..7608819 100644
--- a/frameworks/projects/vf2js/build.xml
+++ b/frameworks/projects/vf2js/build.xml
@@ -18,7 +18,7 @@
-->
-<project name="vf2js" default="main" basedir=".">
+<project name="vf2js_s" default="main" basedir=".">
<property name="FLEX_HOME" location="${basedir}/../../.."/>
<property file="${FLEX_HOME}/env.properties"/>
<property environment="env"/>
@@ -26,11 +26,11 @@
<macrodef name="bundle">
<attribute name="locale"/>
<sequential>
- <echo message="Compiling frameworks/locale/@{locale}/vf2js_rb.swc"/>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_s_rb.swc"/>
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc">
+ <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="bundle-config.xml"/>
<arg value="+playerglobal.version=${playerglobal.version}"/>
@@ -43,7 +43,7 @@
<attribute name="locale"/>
<sequential>
<mkdir dir="${basedir}/bundles/@{locale}/docs"/>
- <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc" update="true">
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc" update="true">
<zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
<include name="*.*"/>
</zipfileset>
@@ -58,8 +58,8 @@
<sequential>
<delete failonerror="false">
<fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="@{locale}/vf2js_rb.swc"/>
- <include name="@{locale}/vf2js_rb.swc.incr"/>
+ <include name="@{locale}/vf2js_s_rb.swc"/>
+ <include name="@{locale}/vf2js_s_rb.swc.incr"/>
</fileset>
</delete>
</sequential>
@@ -73,7 +73,7 @@
<run.fat.swc/>
</sequential>
</macrodef>
- <target name="main" depends="clean,compile" description="Clean build of vf2js.swc and default locale">
+ <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc and default locale">
<bundle locale="${locale}"/>
</target>
<target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
@@ -91,21 +91,21 @@
<include name="bundles/en_US/packages.dita"/>
</fileset>
<fileset dir="${FLEX_HOME}/frameworks/libs">
- <include name="vf2js.swc"/>
- <include name="vf2js.swc.incr"/>
+ <include name="vf2js_s.swc"/>
+ <include name="vf2js_s.swc.incr"/>
</fileset>
</delete>
</target>
<target name="bundles-clean">
<delete failonerror="false">
<fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="*/vf2js_rb.swc"/>
- <include name="*/vf2js_rb.swc.incr"/>
+ <include name="*/vf2js_s_rb.swc"/>
+ <include name="*/vf2js_s_rb.swc.incr"/>
</fileset>
</delete>
</target>
- <target name="compile" description="Compiles vf2js.swc">
- <echo message="Compiling frameworks/libs/vf2js.swc"/>
+ <target name="compile" description="Compiles vf2js_s.swc">
+ <echo message="Compiling frameworks/libs/vf2js_s.swc"/>
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
@@ -122,14 +122,14 @@
Write a bundle list of referenced resource bundles
into the file bundles.properties in this directory.
-->
- <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js.swc">
+ <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_s.swc">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="compile-config.xml"/>
<arg value="+playerglobal.version=${playerglobal.version}"/>
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
</compc>
</target>
- <target name="doc" depends="clean-temp-docs" description="updates vf2js.swc with asdoc xml">
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js_s.swc with asdoc xml">
<!-- Load the <asdoc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
@@ -146,12 +146,12 @@
<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
<compiler.source-path path-element="${basedir}/src"/>
<doc-classes class="ExperimentalClasses"/>
- <namespace uri="http://flex.apache.org/vf2js/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="http://flex.apache.org/vf2js_s/ns" manifest="${basedir}/manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
<jvmarg line="${asdoc.jvm.args}"/>
</asdoc>
- <!-- updates vf2js.swc with asdoc xml -->
- <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_rb.swc" update="true">
+ <!-- updates vf2js_s.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_s_rb.swc" update="true">
<zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
<include name="*.*"/>
<exclude name="ASDoc_Config.xml"/>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundle-config.xml b/frameworks/projects/vf2js/bundle-config.xml
index deac1e8..3604b7a 100644
--- a/frameworks/projects/vf2js/bundle-config.xml
+++ b/frameworks/projects/vf2js/bundle-config.xml
@@ -38,7 +38,7 @@
<include-classes/>
<include-namespaces/>
<include-resource-bundles>
- <bundle>vf2js</bundle>
+ <bundle>vf2js_s</bundle>
</include-resource-bundles>
<target-player>${playerglobal.version}</target-player>
</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/compile-config.xml b/frameworks/projects/vf2js/compile-config.xml
index d06e6d9..a297b33 100644
--- a/frameworks/projects/vf2js/compile-config.xml
+++ b/frameworks/projects/vf2js/compile-config.xml
@@ -38,7 +38,7 @@
<library-path/>
<namespaces>
<namespace>
- <uri>http://flex.apache.org/vf2js/ns</uri>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
<manifest>manifest.xml</manifest>
</namespace>
</namespaces>
@@ -49,7 +49,7 @@
<warn-no-constructor>false</warn-no-constructor>
</compiler>
<include-namespaces>
- <uri>http://flex.apache.org/vf2js/ns</uri>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
</include-namespaces>
<include-classes>
<class>VF2JSClasses</class>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/defaults.css b/frameworks/projects/vf2js/defaults.css
index 3fa47db..5fe436b 100644
--- a/frameworks/projects/vf2js/defaults.css
+++ b/frameworks/projects/vf2js/defaults.css
@@ -17,5 +17,5 @@
*
*/
-@namespace "http://flex.apache.org/vf2js/ns";
+@namespace vf2js_s "http://flex.apache.org/vf2js_s/ns";
@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/manifest.xml b/frameworks/projects/vf2js/manifest.xml
index 41059d7..7bf4f16 100644
--- a/frameworks/projects/vf2js/manifest.xml
+++ b/frameworks/projects/vf2js/manifest.xml
@@ -25,6 +25,6 @@
-->
<componentPackage>
- <component id="Application" class="vf2js.components.Application"/>
- <component id="Button" class="vf2js.components.Button"/>
+ <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-sdk/blob/ec4a73f6/frameworks/projects/vf2js/src/vf2js/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Application.as b/frameworks/projects/vf2js/src/vf2js/components/Application.as
index 4e6ce89..51e3fd9 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Application.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Application.as
@@ -17,7 +17,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-package vf2js.components
+package vf2js_s.components
{
public class Application
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
index 6c6cae7..1b66982 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Button.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Button.as
@@ -17,7 +17,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-package vf2js.components
+package vf2js_s.components
{
public class Button
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec4a73f6/frameworks/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js-manifest.xml b/frameworks/vf2js-manifest.xml
index 41059d7..7bf4f16 100644
--- a/frameworks/vf2js-manifest.xml
+++ b/frameworks/vf2js-manifest.xml
@@ -25,6 +25,6 @@
-->
<componentPackage>
- <component id="Application" class="vf2js.components.Application"/>
- <component id="Button" class="vf2js.components.Button"/>
+ <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-sdk/blob/ec4a73f6/ide/flashbuilder/config/flex-config.xml
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/config/flex-config.xml b/ide/flashbuilder/config/flex-config.xml
index 7caacbe..5301899 100644
--- a/ide/flashbuilder/config/flex-config.xml
+++ b/ide/flashbuilder/config/flex-config.xml
@@ -112,8 +112,12 @@
<manifest>experimental-manifest.xml</manifest>
</namespace>
<namespace>
- <uri>http://flex.apache.org/vf2js/ns</uri>
- <manifest>vf2js-manifest.xml</manifest>
+ <uri>http://flex.apache.org/vf2js_mx/ns</uri>
+ <manifest>vf2js_mx-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ <manifest>vf2js_s-manifest.xml</manifest>
</namespace>
</namespaces>
[04/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Removed unneeded
manifest and it's reference.
Posted by er...@apache.org.
Removed unneeded manifest and it's reference.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/6be2c0df
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/6be2c0df
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/6be2c0df
Branch: refs/heads/VF2JS
Commit: 6be2c0dfdbf219046bc41a5e795fdbc75753f9bd
Parents: e8e10f6
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 12:49:17 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:10 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/compile-config.xml | 4 ---
frameworks/projects/vf2js/vf2js-manifest.xml | 30 -----------------------
2 files changed, 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6be2c0df/frameworks/projects/vf2js/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/compile-config.xml b/frameworks/projects/vf2js/compile-config.xml
index a8b2b0b..a75427f 100644
--- a/frameworks/projects/vf2js/compile-config.xml
+++ b/frameworks/projects/vf2js/compile-config.xml
@@ -46,10 +46,6 @@
<uri>http://flex.apache.org/vf2js/ns</uri>
<manifest>manifest.xml</manifest>
</namespace>
- <namespace>
- <uri>library://ns.adobe.com/flex/spark</uri>
- <manifest>spark-manifest.xml</manifest>
- </namespace>
</namespaces>
<source-path>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6be2c0df/frameworks/projects/vf2js/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/vf2js-manifest.xml b/frameworks/projects/vf2js/vf2js-manifest.xml
deleted file mode 100644
index c8cd0af..0000000
--- a/frameworks/projects/vf2js/vf2js-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>
-
- <!-- Nothing needed here, yet -->
-
-</componentPackage>
[05/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Renamed file
Posted by er...@apache.org.
Renamed file
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/191e49ef
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/191e49ef
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/191e49ef
Branch: refs/heads/VF2JS
Commit: 191e49ef1b1a6d0e9b1861be77d7688754a6ba97
Parents: 4467ffb
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 12:32:04 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:10 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/spark-manifest.xml | 49 -----------------------
frameworks/projects/vf2js/vf2js-manifest.xml | 30 ++++++++++++++
2 files changed, 30 insertions(+), 49 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/191e49ef/frameworks/projects/vf2js/spark-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/spark-manifest.xml b/frameworks/projects/vf2js/spark-manifest.xml
deleted file mode 100644
index 817b4cf..0000000
--- a/frameworks/projects/vf2js/spark-manifest.xml
+++ /dev/null
@@ -1,49 +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.
-
--->
-
-<!--
-
- Experimental Components
-
--->
-<componentPackage>
-
- <!-- Special Components -->
- <component id="State" class="mx.states.State" lookupOnly="true"/>
- <component id="Transition" class="mx.states.Transition" lookupOnly="true"/>
-
- <!-- Flex 3 Graphics -->
- <component id="BitmapFill" class="mx.graphics.BitmapFill" lookupOnly="true"/>
- <component id="BitmapResizeMode" class="mx.graphics.BitmapResizeMode" lookupOnly="true"/>
- <component id="CompoundTransform" class="mx.geom.CompoundTransform" lookupOnly="true"/>
- <component id="GradientEntry" class="mx.graphics.GradientEntry" lookupOnly="true"/>
- <component id="LinearGradient" class="mx.graphics.LinearGradient" lookupOnly="true"/>
- <component id="LinearGradientStroke" class="mx.graphics.LinearGradientStroke" lookupOnly="true"/>
- <component id="RadialGradient" class="mx.graphics.RadialGradient" lookupOnly="true"/>
- <component id="RadialGradientStroke" class="mx.graphics.RadialGradientStroke" lookupOnly="true"/>
- <component id="SolidColor" class="mx.graphics.SolidColor" lookupOnly="true"/>
- <component id="SolidColorStroke" class="mx.graphics.SolidColorStroke" lookupOnly="true"/>
- <component id="Stroke" class="mx.graphics.Stroke" lookupOnly="true"/>
- <component id="Transform" class="mx.geom.Transform" lookupOnly="true"/>
-
- <!-- Spark Graphics -->
- <component id="BitmapGraphic" class="spark.primitives.BitmapImage" lookupOnly="true"/>
- <component id="BitmapImage" class="spark.primitives.BitmapImage" lookupOnly="true"/>
-</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/191e49ef/frameworks/projects/vf2js/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/vf2js-manifest.xml b/frameworks/projects/vf2js/vf2js-manifest.xml
new file mode 100644
index 0000000..c8cd0af
--- /dev/null
+++ b/frameworks/projects/vf2js/vf2js-manifest.xml
@@ -0,0 +1,30 @@
+<?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>
+
+ <!-- Nothing needed here, yet -->
+
+</componentPackage>
[17/18] git commit: [flex-sdk] [refs/heads/VF2JS] - "Final" changes
for split of namespace.
Posted by er...@apache.org.
"Final" changes for split of namespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7b309194
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7b309194
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7b309194
Branch: refs/heads/VF2JS
Commit: 7b3091940d9ba6c795efdd48292edda632918523
Parents: 8c8a212
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:55:41 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:55:41 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js_mx/build.xml | 36 ++++++++++----------
frameworks/projects/vf2js_mx/bundle-config.xml | 2 +-
frameworks/projects/vf2js_mx/compile-config.xml | 4 +--
frameworks/projects/vf2js_mx/defaults.css | 2 +-
frameworks/projects/vf2js_mx/manifest.xml | 3 +-
5 files changed, 23 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b309194/frameworks/projects/vf2js_mx/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/build.xml b/frameworks/projects/vf2js_mx/build.xml
index 7608819..939d99e 100644
--- a/frameworks/projects/vf2js_mx/build.xml
+++ b/frameworks/projects/vf2js_mx/build.xml
@@ -18,7 +18,7 @@
-->
-<project name="vf2js_s" default="main" basedir=".">
+<project name="vf2js_mx" default="main" basedir=".">
<property name="FLEX_HOME" location="${basedir}/../../.."/>
<property file="${FLEX_HOME}/env.properties"/>
<property environment="env"/>
@@ -26,11 +26,11 @@
<macrodef name="bundle">
<attribute name="locale"/>
<sequential>
- <echo message="Compiling frameworks/locale/@{locale}/vf2js_s_rb.swc"/>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_mx_rb.swc"/>
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc">
+ <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_mx_rb.swc">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="bundle-config.xml"/>
<arg value="+playerglobal.version=${playerglobal.version}"/>
@@ -43,7 +43,7 @@
<attribute name="locale"/>
<sequential>
<mkdir dir="${basedir}/bundles/@{locale}/docs"/>
- <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc" update="true">
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_mx_rb.swc" update="true">
<zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
<include name="*.*"/>
</zipfileset>
@@ -58,8 +58,8 @@
<sequential>
<delete failonerror="false">
<fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="@{locale}/vf2js_s_rb.swc"/>
- <include name="@{locale}/vf2js_s_rb.swc.incr"/>
+ <include name="@{locale}/vf2js_mx_rb.swc"/>
+ <include name="@{locale}/vf2js_mx_rb.swc.incr"/>
</fileset>
</delete>
</sequential>
@@ -73,7 +73,7 @@
<run.fat.swc/>
</sequential>
</macrodef>
- <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc and default locale">
+ <target name="main" depends="clean,compile" description="Clean build of vf2js_mx.swc and default locale">
<bundle locale="${locale}"/>
</target>
<target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
@@ -91,21 +91,21 @@
<include name="bundles/en_US/packages.dita"/>
</fileset>
<fileset dir="${FLEX_HOME}/frameworks/libs">
- <include name="vf2js_s.swc"/>
- <include name="vf2js_s.swc.incr"/>
+ <include name="vf2js_mx.swc"/>
+ <include name="vf2js_mx.swc.incr"/>
</fileset>
</delete>
</target>
<target name="bundles-clean">
<delete failonerror="false">
<fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="*/vf2js_s_rb.swc"/>
- <include name="*/vf2js_s_rb.swc.incr"/>
+ <include name="*/vf2js_mx_rb.swc"/>
+ <include name="*/vf2js_mx_rb.swc.incr"/>
</fileset>
</delete>
</target>
- <target name="compile" description="Compiles vf2js_s.swc">
- <echo message="Compiling frameworks/libs/vf2js_s.swc"/>
+ <target name="compile" description="Compiles vf2js_mx.swc">
+ <echo message="Compiling frameworks/libs/vf2js_mx.swc"/>
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
@@ -122,14 +122,14 @@
Write a bundle list of referenced resource bundles
into the file bundles.properties in this directory.
-->
- <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_s.swc">
+ <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_mx.swc">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="compile-config.xml"/>
<arg value="+playerglobal.version=${playerglobal.version}"/>
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
</compc>
</target>
- <target name="doc" depends="clean-temp-docs" description="updates vf2js_s.swc with asdoc xml">
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js_mx.swc with asdoc xml">
<!-- Load the <asdoc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
@@ -146,12 +146,12 @@
<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
<compiler.source-path path-element="${basedir}/src"/>
<doc-classes class="ExperimentalClasses"/>
- <namespace uri="http://flex.apache.org/vf2js_s/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="http://flex.apache.org/vf2js_mx/ns" manifest="${basedir}/manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
<jvmarg line="${asdoc.jvm.args}"/>
</asdoc>
- <!-- updates vf2js_s.swc with asdoc xml -->
- <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_s_rb.swc" update="true">
+ <!-- updates vf2js_mx.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_mx_rb.swc" update="true">
<zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
<include name="*.*"/>
<exclude name="ASDoc_Config.xml"/>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b309194/frameworks/projects/vf2js_mx/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundle-config.xml b/frameworks/projects/vf2js_mx/bundle-config.xml
index 3604b7a..209d3c4 100644
--- a/frameworks/projects/vf2js_mx/bundle-config.xml
+++ b/frameworks/projects/vf2js_mx/bundle-config.xml
@@ -38,7 +38,7 @@
<include-classes/>
<include-namespaces/>
<include-resource-bundles>
- <bundle>vf2js_s</bundle>
+ <bundle>vf2js_mx</bundle>
</include-resource-bundles>
<target-player>${playerglobal.version}</target-player>
</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b309194/frameworks/projects/vf2js_mx/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/compile-config.xml b/frameworks/projects/vf2js_mx/compile-config.xml
index a297b33..5c99d25 100644
--- a/frameworks/projects/vf2js_mx/compile-config.xml
+++ b/frameworks/projects/vf2js_mx/compile-config.xml
@@ -38,7 +38,7 @@
<library-path/>
<namespaces>
<namespace>
- <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ <uri>http://flex.apache.org/vf2js_mx/ns</uri>
<manifest>manifest.xml</manifest>
</namespace>
</namespaces>
@@ -49,7 +49,7 @@
<warn-no-constructor>false</warn-no-constructor>
</compiler>
<include-namespaces>
- <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ <uri>http://flex.apache.org/vf2js_mx/ns</uri>
</include-namespaces>
<include-classes>
<class>VF2JSClasses</class>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b309194/frameworks/projects/vf2js_mx/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/defaults.css b/frameworks/projects/vf2js_mx/defaults.css
index 5fe436b..624c300 100644
--- a/frameworks/projects/vf2js_mx/defaults.css
+++ b/frameworks/projects/vf2js_mx/defaults.css
@@ -17,5 +17,5 @@
*
*/
-@namespace vf2js_s "http://flex.apache.org/vf2js_s/ns";
+@namespace vf2js_mx "http://flex.apache.org/vf2js_mx/ns";
@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b309194/frameworks/projects/vf2js_mx/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/manifest.xml b/frameworks/projects/vf2js_mx/manifest.xml
index 7bf4f16..7c86f72 100644
--- a/frameworks/projects/vf2js_mx/manifest.xml
+++ b/frameworks/projects/vf2js_mx/manifest.xml
@@ -25,6 +25,5 @@
-->
<componentPackage>
- <component id="Application" class="vf2js_s.components.Application"/>
- <component id="Button" class="vf2js_s.components.Button"/>
+ <component id="Button" class="vf2js_mx.components.Button"/>
</componentPackage>
[16/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Update resource
bundle names.
Posted by er...@apache.org.
Update resource bundle names.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/8c8a212f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/8c8a212f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/8c8a212f
Branch: refs/heads/VF2JS
Commit: 8c8a212fd62135e574293ab87bdcc34ba8f1ec4f
Parents: 30510e4
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:51:58 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:51:58 2014 +0200
----------------------------------------------------------------------
.../vf2js_mx/bundles/en_US/vf2js.properties | 18 ------------------
.../vf2js_mx/bundles/en_US/vf2js_mx.properties | 18 ++++++++++++++++++
.../vf2js_mx/bundles/nl_NL/vf2js.properties | 18 ------------------
.../vf2js_mx/bundles/nl_NL/vf2js_mx.properties | 18 ++++++++++++++++++
.../vf2js_s/bundles/en_US/vf2js.properties | 18 ------------------
.../vf2js_s/bundles/en_US/vf2js_s.properties | 18 ++++++++++++++++++
.../vf2js_s/bundles/nl_NL/vf2js.properties | 18 ------------------
.../vf2js_s/bundles/nl_NL/vf2js_s.properties | 18 ++++++++++++++++++
8 files changed, 72 insertions(+), 72 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_mx/bundles/en_US/vf2js_mx.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/en_US/vf2js_mx.properties b/frameworks/projects/vf2js_mx/bundles/en_US/vf2js_mx.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/bundles/en_US/vf2js_mx.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js_mx.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js_mx.properties b/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js_mx.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js_mx.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js_s/bundles/en_US/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_s/bundles/en_US/vf2js_s.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/en_US/vf2js_s.properties b/frameworks/projects/vf2js_s/bundles/en_US/vf2js_s.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_s/bundles/en_US/vf2js_s.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
deleted file mode 100644
index 29940f7..0000000
--- a/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js.properties
+++ /dev/null
@@ -1,18 +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.
-##
-################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8c8a212f/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js_s.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js_s.properties b/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js_s.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_s/bundles/nl_NL/vf2js_s.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
[03/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Added manifest
for new namespace.
Posted by er...@apache.org.
Added manifest for new namespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e8e10f64
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e8e10f64
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e8e10f64
Branch: refs/heads/VF2JS
Commit: e8e10f64844f32e47d455729b71ad683227fbfd2
Parents: 191e49e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 12:32:46 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:10 2014 +0200
----------------------------------------------------------------------
frameworks/vf2js-manifest.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e8e10f64/frameworks/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js-manifest.xml b/frameworks/vf2js-manifest.xml
new file mode 100644
index 0000000..05baae4
--- /dev/null
+++ b/frameworks/vf2js-manifest.xml
@@ -0,0 +1,31 @@
+<?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>
+
+ <!-- Button class -->
+ <component id="Button" class="vf2js.components.Button" />
+
+</componentPackage>
[15/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Remove
Application from vf2js_mx namespace.
Posted by er...@apache.org.
Remove Application from vf2js_mx namespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/30510e49
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/30510e49
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/30510e49
Branch: refs/heads/VF2JS
Commit: 30510e49bad9bf17ea6a5b141269436fe78ca4bc
Parents: 8798e2d
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:50:36 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:50:36 2014 +0200
----------------------------------------------------------------------
.../src/vf2js_mx/components/Application.as | 35 --------------------
.../vf2js_mx/src/vf2js_mx/components/Button.as | 6 +---
2 files changed, 1 insertion(+), 40 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/30510e49/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as
deleted file mode 100644
index 51e3fd9..0000000
--- a/frameworks/projects/vf2js_mx/src/vf2js_mx/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-sdk/blob/30510e49/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
index 1b66982..d83cdfe 100644
--- a/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
+++ b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
@@ -17,7 +17,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-package vf2js_s.components
+package vf2js_mx.components
{
public class Button
@@ -25,9 +25,5 @@ public class Button
public function Button() {}
- public var label:String;
-
- public var x:Number;
-
}
}
[09/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Bare bones Button
and Application shims.
Posted by er...@apache.org.
Bare bones Button and Application shims.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5dcda792
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5dcda792
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5dcda792
Branch: refs/heads/VF2JS
Commit: 5dcda7924e977f542745a8d3cf00a0171bd13f27
Parents: 328693d
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Jun 30 13:33:45 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Jun 30 13:33:45 2014 +0200
----------------------------------------------------------------------
.../vf2js/src/vf2js/components/Application.as | 9 +++------
.../vf2js/src/vf2js/components/Button.as | 20 +++++++-------------
2 files changed, 10 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5dcda792/frameworks/projects/vf2js/src/vf2js/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Application.as b/frameworks/projects/vf2js/src/vf2js/components/Application.as
index 1ee87d3..4e6ce89 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Application.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Application.as
@@ -20,9 +20,7 @@
package vf2js.components
{
-import spark.components.Application;
-
-public class Application extends spark.components.Application
+public class Application
{
//--------------------------------------------------------------------------
//
@@ -30,9 +28,8 @@ public class Application extends spark.components.Application
//
//--------------------------------------------------------------------------
- public function Application() {
- super();
- }
+ public function Application() {}
+
}
}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5dcda792/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
index 87f15db..6c6cae7 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Button.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Button.as
@@ -19,21 +19,15 @@
package vf2js.components
{
+
+public class Button
+{
-import spark.components.Button;
+ public function Button() {}
+
+ public var label:String;
-public class Button extends spark.components.Button
-{
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
+ public var x:Number;
- public function Button()
- {
- super();
- }
}
-
}
[13/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Initial commit of
copy of 'vf2js_s' project.
Posted by er...@apache.org.
Initial commit of copy of 'vf2js_s' project.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a4cce644
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a4cce644
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a4cce644
Branch: refs/heads/VF2JS
Commit: a4cce644f88d419c367a748af00485de08c532c2
Parents: 1b7cce9
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:47:39 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:47:39 2014 +0200
----------------------------------------------------------------------
.../projects/vf2js_mx/.actionScriptProperties | 23 +++
frameworks/projects/vf2js_mx/.flexLibProperties | 6 +
frameworks/projects/vf2js_mx/build.xml | 167 +++++++++++++++++++
frameworks/projects/vf2js_mx/bundle-config.xml | 44 +++++
.../vf2js_mx/bundles/en_US/vf2js.properties | 18 ++
.../vf2js_mx/bundles/nl_NL/vf2js.properties | 18 ++
frameworks/projects/vf2js_mx/compile-config.xml | 63 +++++++
frameworks/projects/vf2js_mx/defaults.css | 21 +++
frameworks/projects/vf2js_mx/manifest.xml | 30 ++++
.../projects/vf2js_mx/src/VF2JSClasses.as | 31 ++++
.../src/vf2js_s/components/Application.as | 35 ++++
.../vf2js_mx/src/vf2js_s/components/Button.as | 33 ++++
12 files changed, 489 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/.actionScriptProperties b/frameworks/projects/vf2js_mx/.actionScriptProperties
new file mode 100644
index 0000000..3fd89dc
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/.actionScriptProperties
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="vf2js.as" projectUUID="13d519d5-b10a-44a0-9556-e32559326ba1" version="11">
+ <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" flexSDK="Dev SDK" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/vf2js.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="vf2js.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/.flexLibProperties b/frameworks/projects/vf2js_mx/.flexLibProperties
new file mode 100644
index 0000000..1fbacb4
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/.flexLibProperties
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
+ <includeClasses/>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/build.xml b/frameworks/projects/vf2js_mx/build.xml
new file mode 100644
index 0000000..7608819
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/build.xml
@@ -0,0 +1,167 @@
+<?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_s" default="main" basedir=".">
+ <property name="FLEX_HOME" location="${basedir}/../../.."/>
+ <property file="${FLEX_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEX_HOME}/build.properties"/>
+ <macrodef name="bundle">
+ <attribute name="locale"/>
+ <sequential>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_s_rb.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="bundle-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ <arg value="+locale=@{locale}"/>
+ </compc>
+ </sequential>
+ </macrodef>
+ <macrodef name="fat-swc">
+ <attribute name="locale"/>
+ <sequential>
+ <mkdir dir="${basedir}/bundles/@{locale}/docs"/>
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_s_rb.swc" update="true">
+ <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
+ <include name="*.*"/>
+ </zipfileset>
+ <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
+ <include name="packages.dita"/>
+ </zipfileset>
+ </zip>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundle-clean">
+ <attribute name="locale"/>
+ <sequential>
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="@{locale}/vf2js_s_rb.swc"/>
+ <include name="@{locale}/vf2js_s_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundler">
+ <attribute name="locale"/>
+ <element name="run.fat.swc" optional="yes"/>
+ <sequential>
+ <bundle-clean locale="@{locale}"/>
+ <bundle locale="@{locale}"/>
+ <run.fat.swc/>
+ </sequential>
+ </macrodef>
+ <target name="main" depends="clean,compile" description="Clean build of vf2js_s.swc and default locale">
+ <bundle locale="${locale}"/>
+ </target>
+ <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
+ <!-- This is a private target for building vf2js.swc for various locales. -->
+ <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
+ <target name="bundles">
+ <!-- these languages do not have localized docs-->
+ <bundler locale="nl_NL"/>
+ <!-- Dutch resources -->
+ </target>
+ <target name="clean" depends="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${basedir}">
+ <include name="bundles.properties"/>
+ <include name="bundles/en_US/packages.dita"/>
+ </fileset>
+ <fileset dir="${FLEX_HOME}/frameworks/libs">
+ <include name="vf2js_s.swc"/>
+ <include name="vf2js_s.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="*/vf2js_s_rb.swc"/>
+ <include name="*/vf2js_s_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="compile" description="Compiles vf2js_s.swc">
+ <echo message="Compiling frameworks/libs/vf2js_s.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <!--
+ Link in the classes (and their dependencies) for the experimental classes
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in ExperimentalClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Link in accessibility support.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js_s.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="compile-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ </compc>
+ </target>
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js_s.swc with asdoc xml">
+ <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <condition property="asdoc.jvm.args" value="-Xmx384m">
+ <os family="windows"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="mac"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="unix"/>
+ </condition>
+ <!-- Call asdoc to generate dita xml files -->
+ <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+ <compiler.source-path path-element="${basedir}/src"/>
+ <doc-classes class="ExperimentalClasses"/>
+ <namespace uri="http://flex.apache.org/vf2js_s/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
+ <jvmarg line="${asdoc.jvm.args}"/>
+ </asdoc>
+ <!-- updates vf2js_s.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_s_rb.swc" update="true">
+ <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+ <include name="*.*"/>
+ <exclude name="ASDoc_Config.xml"/>
+ <exclude name="overviews.xml"/>
+ </zipfileset>
+ </zip>
+ <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
+ </target>
+ <target name="clean-temp-docs">
+ <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+ <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundle-config.xml b/frameworks/projects/vf2js_mx/bundle-config.xml
new file mode 100644
index 0000000..3604b7a
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/bundle-config.xml
@@ -0,0 +1,44 @@
+<?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>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <include-libraries/>
+ <library-path/>
+ <locale>
+ <locale-element>${locale}</locale-element>
+ </locale>
+ <source-path>
+ <path-element>src</path-element>
+ <path-element>bundles/${locale}</path-element>
+ </source-path>
+ </compiler>
+ <include-classes/>
+ <include-namespaces/>
+ <include-resource-bundles>
+ <bundle>vf2js_s</bundle>
+ </include-resource-bundles>
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/bundles/en_US/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/bundles/nl_NL/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/compile-config.xml b/frameworks/projects/vf2js_mx/compile-config.xml
new file mode 100644
index 0000000..a297b33
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/compile-config.xml
@@ -0,0 +1,63 @@
+<?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>
+ <accessible>true</accessible>
+ <external-library-path>
+ <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ <name>SkinPart</name>
+ </keep-as3-metadata>
+ <locale/>
+ <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>
+ <show-deprecation-warnings>false</show-deprecation-warnings>
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+ <include-namespaces>
+ <uri>http://flex.apache.org/vf2js_s/ns</uri>
+ </include-namespaces>
+ <include-classes>
+ <class>VF2JSClasses</class>
+ </include-classes>
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <resource-bundle-list>bundles.properties</resource-bundle-list>
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/defaults.css b/frameworks/projects/vf2js_mx/defaults.css
new file mode 100644
index 0000000..5fe436b
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/defaults.css
@@ -0,0 +1,21 @@
+/*
+*
+* 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.
+*
+*/
+
+@namespace vf2js_s "http://flex.apache.org/vf2js_s/ns";
+@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/manifest.xml b/frameworks/projects/vf2js_mx/manifest.xml
new file mode 100644
index 0000000..7bf4f16
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/manifest.xml
@@ -0,0 +1,30 @@
+<?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-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/src/VF2JSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/VF2JSClasses.as b/frameworks/projects/vf2js_mx/src/VF2JSClasses.as
new file mode 100644
index 0000000..e80ff0d
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/src/VF2JSClasses.as
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as
new file mode 100644
index 0000000..51e3fd9
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/a4cce644/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as
new file mode 100644
index 0000000..1b66982
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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;
+
+}
+}
[06/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Updated 'Button'
class to extend 'spark.components.Button'.
Posted by er...@apache.org.
Updated 'Button' class to extend 'spark.components.Button'.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/328693d5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/328693d5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/328693d5
Branch: refs/heads/VF2JS
Commit: 328693d54735213e30c681a8b507647b510ecad6
Parents: 953be7e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 14:39:31 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:11 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/src/vf2js/components/Button.as | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/328693d5/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
index 78c447e..87f15db 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Button.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Button.as
@@ -20,7 +20,9 @@
package vf2js.components
{
-public class Button
+import spark.components.Button;
+
+public class Button extends spark.components.Button
{
//--------------------------------------------------------------------------
//
@@ -28,7 +30,10 @@ public class Button
//
//--------------------------------------------------------------------------
- public function Button() {}
+ public function Button()
+ {
+ super();
+ }
}
}
[14/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Rename namespace.
Posted by er...@apache.org.
Rename namespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/8798e2da
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/8798e2da
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/8798e2da
Branch: refs/heads/VF2JS
Commit: 8798e2da8b5de32a9fc241bb3b30e72033ed91a8
Parents: a4cce64
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:48:25 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:48:25 2014 +0200
----------------------------------------------------------------------
.../src/vf2js_mx/components/Application.as | 35 ++++++++++++++++++++
.../vf2js_mx/src/vf2js_mx/components/Button.as | 33 ++++++++++++++++++
.../src/vf2js_s/components/Application.as | 35 --------------------
.../vf2js_mx/src/vf2js_s/components/Button.as | 33 ------------------
4 files changed, 68 insertions(+), 68 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8798e2da/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as
new file mode 100644
index 0000000..51e3fd9
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Application.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/8798e2da/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
new file mode 100644
index 0000000..1b66982
--- /dev/null
+++ b/frameworks/projects/vf2js_mx/src/vf2js_mx/components/Button.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/8798e2da/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Application.as
deleted file mode 100644
index 51e3fd9..0000000
--- a/frameworks/projects/vf2js_mx/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-sdk/blob/8798e2da/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as b/frameworks/projects/vf2js_mx/src/vf2js_s/components/Button.as
deleted file mode 100644
index 1b66982..0000000
--- a/frameworks/projects/vf2js_mx/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;
-
-}
-}
[11/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Rename namespace.
Posted by er...@apache.org.
Rename namespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3d86a4ad
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3d86a4ad
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3d86a4ad
Branch: refs/heads/VF2JS
Commit: 3d86a4ad27aa0da9d625c7b46c9f7515630e6437
Parents: ec4a73f
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 09:43:32 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 09:43:32 2014 +0200
----------------------------------------------------------------------
.../vf2js/src/vf2js/components/Application.as | 35 --------------------
.../vf2js/src/vf2js/components/Button.as | 33 ------------------
.../vf2js/src/vf2js_s/components/Application.as | 35 ++++++++++++++++++++
.../vf2js/src/vf2js_s/components/Button.as | 33 ++++++++++++++++++
4 files changed, 68 insertions(+), 68 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3d86a4ad/frameworks/projects/vf2js/src/vf2js/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Application.as b/frameworks/projects/vf2js/src/vf2js/components/Application.as
deleted file mode 100644
index 51e3fd9..0000000
--- a/frameworks/projects/vf2js/src/vf2js/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-sdk/blob/3d86a4ad/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
deleted file mode 100644
index 1b66982..0000000
--- a/frameworks/projects/vf2js/src/vf2js/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-sdk/blob/3d86a4ad/frameworks/projects/vf2js/src/vf2js_s/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js_s/components/Application.as b/frameworks/projects/vf2js/src/vf2js_s/components/Application.as
new file mode 100644
index 0000000..51e3fd9
--- /dev/null
+++ b/frameworks/projects/vf2js/src/vf2js_s/components/Application.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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-sdk/blob/3d86a4ad/frameworks/projects/vf2js/src/vf2js_s/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js_s/components/Button.as b/frameworks/projects/vf2js/src/vf2js_s/components/Button.as
new file mode 100644
index 0000000..1b66982
--- /dev/null
+++ b/frameworks/projects/vf2js/src/vf2js_s/components/Button.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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;
+
+}
+}
[08/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Cleaned up
whitespace.
Posted by er...@apache.org.
Cleaned up whitespace.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2dec2c1c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2dec2c1c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2dec2c1c
Branch: refs/heads/VF2JS
Commit: 2dec2c1c820391b654c06414698aabad02d90534
Parents: 6be2c0d
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 14:38:03 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:11 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/build.xml | 314 ++++++++++------------
frameworks/projects/vf2js/bundle-config.xml | 55 ++--
frameworks/projects/vf2js/compile-config.xml | 98 +++----
frameworks/projects/vf2js/defaults.css | 1 +
4 files changed, 213 insertions(+), 255 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2dec2c1c/frameworks/projects/vf2js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/build.xml b/frameworks/projects/vf2js/build.xml
index 8a251e3..40b9bc2 100644
--- a/frameworks/projects/vf2js/build.xml
+++ b/frameworks/projects/vf2js/build.xml
@@ -18,174 +18,150 @@
-->
-
<project name="vf2js" default="main" basedir=".">
-
- <property name="FLEX_HOME" location="${basedir}/../../.."/>
-
- <property file="${FLEX_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEX_HOME}/build.properties"/>
-
- <macrodef name="bundle">
- <attribute name="locale"/>
- <sequential>
- <echo message="Compiling frameworks/locale/@{locale}/vf2js_rb.swc"/>
-
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <compc fork="true"
- output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="bundle-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+locale=@{locale}" />
- </compc>
- </sequential>
- </macrodef>
-
- <macrodef name="fat-swc">
- <attribute name="locale"/>
- <sequential>
- <mkdir dir="${basedir}/bundles/@{locale}/docs" />
- <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc" update="true">
- <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
- <include name="*.*"/>
- </zipfileset>
- <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
- <include name="packages.dita"/>
- </zipfileset>
- </zip>
- </sequential>
- </macrodef>
-
- <macrodef name="bundle-clean">
- <attribute name="locale"/>
- <sequential>
- <delete failonerror="false">
- <fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="@{locale}/vf2js_rb.swc"/>
- <include name="@{locale}/vf2js_rb.swc.incr"/>
- </fileset>
- </delete>
- </sequential>
- </macrodef>
-
- <macrodef name="bundler">
- <attribute name="locale"/>
- <element name="run.fat.swc" optional="yes"/>
- <sequential>
- <bundle-clean locale="@{locale}"/>
- <bundle locale="@{locale}"/>
- <run.fat.swc/>
- </sequential>
- </macrodef>
-
- <target name="main" depends="clean,compile" description="Clean build of vf2js.swc and default locale">
- <bundle locale="${locale}"/>
- </target>
-
- <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
-
- <!-- This is a private target for building vf2js.swc for various locales. -->
- <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
- <target name="bundles">
- <!-- these languages do not have localized docs-->
- <bundler locale="nl_NL"/><!-- Dutch resources -->
- </target>
-
- <target name="clean" depends="bundles-clean">
- <delete failonerror="false">
- <fileset dir="${basedir}" >
- <include name="bundles.properties"/>
- <include name="bundles/en_US/packages.dita"/>
- </fileset>
- <fileset dir="${FLEX_HOME}/frameworks/libs">
- <include name="vf2js.swc"/>
- <include name="vf2js.swc.incr"/>
- </fileset>
- </delete>
- </target>
-
- <target name="bundles-clean">
- <delete failonerror="false">
- <fileset dir="${FLEX_HOME}/frameworks/locale">
- <include name="*/vf2js_rb.swc"/>
- <include name="*/vf2js_rb.swc.incr"/>
- </fileset>
- </delete>
- </target>
-
- <target name="compile" description="Compiles vf2js.swc">
- <echo message="Compiling frameworks/libs/vf2js.swc"/>
-
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
- <!--
- Link in the classes (and their dependencies) for the experimental classes
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in ExperimentalClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- Link in accessibility support.
- Include the appropriate CSS files and assets in the SWC.
- Don't include any resources in the SWC.
- Write a bundle list of referenced resource bundles
- into the file bundles.properties in this directory.
- -->
- <compc fork="true"
- output="${FLEX_HOME}/frameworks/libs/vf2js.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="compile-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- </compc>
- </target>
-
- <target name="doc" depends="clean-temp-docs" description="updates vf2js.swc with asdoc xml">
- <!-- Load the <asdoc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
-
- <condition property="asdoc.jvm.args" value="-Xmx384m">
- <os family="windows"/>
- </condition>
-
- <condition property="asdoc.jvm.args" value="-Xmx512m">
- <os family="mac"/>
- </condition>
-
- <condition property="asdoc.jvm.args" value="-Xmx512m">
- <os family="unix"/>
- </condition>
-
-
- <!-- Call asdoc to generate dita xml files -->
- <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
- <compiler.source-path path-element="${basedir}/src"/>
- <doc-classes class="ExperimentalClasses"/>
- <namespace uri="http://flex.apache.org/vf2js/ns" manifest="${basedir}/manifest.xml"/>
- <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
- <jvmarg line="${asdoc.jvm.args}"/>
- </asdoc>
-
- <!-- updates vf2js.swc with asdoc xml -->
- <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_rb.swc" update="true">
- <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
- <include name="*.*"/>
- <exclude name="ASDoc_Config.xml"/>
- <exclude name="overviews.xml"/>
- </zipfileset>
- </zip>
- <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
- </target>
-
- <target name="clean-temp-docs">
- <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
- <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
- </target>
+ <property name="FLEX_HOME" location="${basedir}/../../.."/>
+ <property file="${FLEX_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEX_HOME}/build.properties"/>
+ <macrodef name="bundle">
+ <attribute name="locale"/>
+ <sequential>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_rb.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <compc fork="true" output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="bundle-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ <arg value="+locale=@{locale}"/>
+ </compc>
+ </sequential>
+ </macrodef>
+ <macrodef name="fat-swc">
+ <attribute name="locale"/>
+ <sequential>
+ <mkdir dir="${basedir}/bundles/@{locale}/docs"/>
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc" update="true">
+ <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
+ <include name="*.*"/>
+ </zipfileset>
+ <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
+ <include name="packages.dita"/>
+ </zipfileset>
+ </zip>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundle-clean">
+ <attribute name="locale"/>
+ <sequential>
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="@{locale}/vf2js_rb.swc"/>
+ <include name="@{locale}/vf2js_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </sequential>
+ </macrodef>
+ <macrodef name="bundler">
+ <attribute name="locale"/>
+ <element name="run.fat.swc" optional="yes"/>
+ <sequential>
+ <bundle-clean locale="@{locale}"/>
+ <bundle locale="@{locale}"/>
+ <run.fat.swc/>
+ </sequential>
+ </macrodef>
+ <target name="main" depends="clean,compile" description="Clean build of vf2js.swc and default locale">
+ <bundle locale="${locale}"/>
+ </target>
+ <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
+ <!-- This is a private target for building vf2js.swc for various locales. -->
+ <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
+ <target name="bundles">
+ <!-- these languages do not have localized docs-->
+ <bundler locale="nl_NL"/>
+ <!-- Dutch resources -->
+ </target>
+ <target name="clean" depends="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${basedir}">
+ <include name="bundles.properties"/>
+ <include name="bundles/en_US/packages.dita"/>
+ </fileset>
+ <fileset dir="${FLEX_HOME}/frameworks/libs">
+ <include name="vf2js.swc"/>
+ <include name="vf2js.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="*/vf2js_rb.swc"/>
+ <include name="*/vf2js_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+ <target name="compile" description="Compiles vf2js.swc">
+ <echo message="Compiling frameworks/libs/vf2js.swc"/>
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <!--
+ Link in the classes (and their dependencies) for the experimental classes
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in ExperimentalClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Link in accessibility support.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true" output="${FLEX_HOME}/frameworks/libs/vf2js.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="compile-config.xml"/>
+ <arg value="+playerglobal.version=${playerglobal.version}"/>
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+ </compc>
+ </target>
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js.swc with asdoc xml">
+ <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <condition property="asdoc.jvm.args" value="-Xmx384m">
+ <os family="windows"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="mac"/>
+ </condition>
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="unix"/>
+ </condition>
+ <!-- Call asdoc to generate dita xml files -->
+ <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+ <compiler.source-path path-element="${basedir}/src"/>
+ <doc-classes class="ExperimentalClasses"/>
+ <namespace uri="http://flex.apache.org/vf2js/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
+ <jvmarg line="${asdoc.jvm.args}"/>
+ </asdoc>
+ <!-- updates vf2js.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_rb.swc" update="true">
+ <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+ <include name="*.*"/>
+ <exclude name="ASDoc_Config.xml"/>
+ <exclude name="overviews.xml"/>
+ </zipfileset>
+ </zip>
+ <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
+ </target>
+ <target name="clean-temp-docs">
+ <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+ <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
+ </target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2dec2c1c/frameworks/projects/vf2js/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundle-config.xml b/frameworks/projects/vf2js/bundle-config.xml
index 89cd8aa..deac1e8 100644
--- a/frameworks/projects/vf2js/bundle-config.xml
+++ b/frameworks/projects/vf2js/bundle-config.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,36 +17,28 @@
limitations under the License.
-->
-<flex-config>
- <compiler>
- <external-library-path>
- <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- <path-element>../../libs/framework.swc</path-element>
- <path-element>../../libs/spark.swc</path-element>
- </external-library-path>
-
- <include-libraries/>
-
- <library-path/>
-
- <locale>
- <locale-element>${locale}</locale-element>
- </locale>
-
- <source-path>
- <path-element>src</path-element>
- <path-element>bundles/${locale}</path-element>
- </source-path>
- </compiler>
-
- <include-classes/>
-
- <include-namespaces/>
-
- <include-resource-bundles>
- <bundle>vf2js</bundle>
- </include-resource-bundles>
-
- <target-player>${playerglobal.version}</target-player>
+<flex-config>
+ <compiler>
+ <external-library-path>
+ <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <include-libraries/>
+ <library-path/>
+ <locale>
+ <locale-element>${locale}</locale-element>
+ </locale>
+ <source-path>
+ <path-element>src</path-element>
+ <path-element>bundles/${locale}</path-element>
+ </source-path>
+ </compiler>
+ <include-classes/>
+ <include-namespaces/>
+ <include-resource-bundles>
+ <bundle>vf2js</bundle>
+ </include-resource-bundles>
+ <target-player>${playerglobal.version}</target-player>
</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2dec2c1c/frameworks/projects/vf2js/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/compile-config.xml b/frameworks/projects/vf2js/compile-config.xml
index a75427f..d06e6d9 100644
--- a/frameworks/projects/vf2js/compile-config.xml
+++ b/frameworks/projects/vf2js/compile-config.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,60 +17,47 @@
limitations under the License.
-->
-<flex-config>
-
- <compiler>
- <accessible>true</accessible>
-
- <external-library-path>
- <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- <path-element>../../libs/framework.swc</path-element>
- <path-element>../../libs/spark.swc</path-element>
- <path-element>../../libs/textLayout.swc</path-element>
- </external-library-path>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- <name>SkinPart</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>http://flex.apache.org/vf2js/ns</uri>
- <manifest>manifest.xml</manifest>
- </namespace>
- </namespaces>
- <source-path>
- <path-element>src</path-element>
- </source-path>
-
- <show-deprecation-warnings>false</show-deprecation-warnings>
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-namespaces>
- <uri>http://flex.apache.org/vf2js/ns</uri>
- </include-namespaces>
-
- <include-classes>
- <class>VF2JSClasses</class>
- </include-classes>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
-
- <resource-bundle-list>bundles.properties</resource-bundle-list>
-
- <target-player>${playerglobal.version}</target-player>
+<flex-config>
+ <compiler>
+ <accessible>true</accessible>
+ <external-library-path>
+ <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ <name>SkinPart</name>
+ </keep-as3-metadata>
+ <locale/>
+ <library-path/>
+ <namespaces>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ <manifest>manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <source-path>
+ <path-element>src</path-element>
+ </source-path>
+ <show-deprecation-warnings>false</show-deprecation-warnings>
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+ <include-namespaces>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ </include-namespaces>
+ <include-classes>
+ <class>VF2JSClasses</class>
+ </include-classes>
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <resource-bundle-list>bundles.properties</resource-bundle-list>
+ <target-player>${playerglobal.version}</target-player>
</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2dec2c1c/frameworks/projects/vf2js/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/defaults.css b/frameworks/projects/vf2js/defaults.css
index 9d843bc..3fa47db 100644
--- a/frameworks/projects/vf2js/defaults.css
+++ b/frameworks/projects/vf2js/defaults.css
@@ -16,5 +16,6 @@
* limitations under the License.
*
*/
+
@namespace "http://flex.apache.org/vf2js/ns";
@namespace s "library://ns.adobe.com/flex/spark";
[02/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Add namespace
Posted by er...@apache.org.
Add namespace
Initial addition of 'vf2js' namespace and project
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/f033c66b
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f033c66b
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f033c66b
Branch: refs/heads/VF2JS
Commit: f033c66b728a82ed90c760578edba583cf13f71e
Parents: 8a6efb4
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 12:20:49 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:09 2014 +0200
----------------------------------------------------------------------
build.xml | 3 +
frameworks/build.xml | 11 ++
frameworks/build_framework.xml | 42 +++-
frameworks/flex-config-template.xml | 4 +
frameworks/flex-config.xml | 4 +
frameworks/projects/vf2js/build.xml | 191 +++++++++++++++++++
frameworks/projects/vf2js/bundle-config.xml | 51 +++++
.../vf2js/bundles/en_US/vf2js.properties | 18 ++
.../vf2js/bundles/nl_NL/vf2js.properties | 18 ++
frameworks/projects/vf2js/compile-config.xml | 79 ++++++++
frameworks/projects/vf2js/defaults.css | 20 ++
frameworks/projects/vf2js/manifest.xml | 77 ++++++++
frameworks/projects/vf2js/spark-manifest.xml | 49 +++++
frameworks/projects/vf2js/src/VF2JSClasses.as | 31 +++
.../vf2js/src/vf2js/components/Button.as | 34 ++++
ide/flashbuilder/config/flex-config.xml | 4 +
16 files changed, 634 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 29e7583..7dd9b8d 100644
--- a/build.xml
+++ b/build.xml
@@ -468,6 +468,8 @@
<create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="experimental" build-number="${release.version}.${build.number.date}"/>
<!-- mobile experimental RSL -->
<create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="experimental_mobile" build-number="${release.version}.${build.number.date}"/>
+ <!-- vf2js RSL -->
+ <create-rsl rsl-dir="${basedir}/frameworks/rsls" swc-dir="${basedir}/frameworks/libs" swc-name="vf2js" build-number="${release.version}.${build.number.date}"/>
</target>
<target name="other.locales" description="Build resource SWCs for additional locales">
@@ -951,6 +953,7 @@ There are no known issues.
<include name="advancedgrids.swc"/>
<include name="spark_dmv.swc"/>
<include name="textLayout.swc"/>
+ <include name="vf2js.swc"/>
<exclude name="osmf.swc"/>
</fileset>
</copy>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index fcfa9f9..067ee9d 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -131,6 +131,7 @@
<antcall target="apache"/>
<antcall target="experimental"/>
<antcall target="experimental_mobile"/>
+ <antcall target="vf2js"/>
<antcall target="compile-automation"/>
</target>
@@ -241,6 +242,7 @@
<ant dir="${basedir}/projects/apache" target="other.locales"/>
<ant dir="${basedir}/projects/experimental" target="other.locales"/>
<ant dir="${basedir}/projects/experimental_mobile" target="other.locales"/>
+ <ant dir="${basedir}/projects/vf2js" target="other.locales"/>
</target>
<target name="doc" >
@@ -268,6 +270,10 @@
<ant dir="${basedir}/projects/apache" target="doc" />
<ant dir="${basedir}/projects/experimental" target="doc" />
<ant dir="${basedir}/projects/experimental_mobile" target="doc" />
+ <!-- removed until this project gets proper documentation -->
+ <!--
+ <ant dir="${basedir}/projects/vf2js" target="doc" />
+ -->
</target>
<!--
@@ -306,6 +312,7 @@
<ant dir="${basedir}/projects/apache" target="clean"/>
<ant dir="${basedir}/projects/experimental" target="clean"/>
<ant dir="${basedir}/projects/experimental_mobile" target="clean"/>
+ <ant dir="${basedir}/projects/vf2js" target="clean"/>
<ant dir="${basedir}/javascript" target="clean"/>
<ant dir="${basedir}/themes/AeonGraphical" target="clean"/>
<!-- delete the FlashBuilder executable directories -->
@@ -505,4 +512,8 @@
<target name="experimental_mobile" description="Clean build of experimental_mobile.swc">
<ant dir="${basedir}/projects/experimental_mobile"/>
</target>
+
+ <target name="vf2js" description="Clean build of vf2js.swc">
+ <ant dir="${basedir}/projects/vf2js"/>
+ </target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/build_framework.xml
----------------------------------------------------------------------
diff --git a/frameworks/build_framework.xml b/frameworks/build_framework.xml
index 41b8229..d224ce3 100644
--- a/frameworks/build_framework.xml
+++ b/frameworks/build_framework.xml
@@ -60,6 +60,7 @@
<property name="experimental.dir" value="${projects.dir}/experimental"/>
<property name="textLayout.dir" value="${projects.dir}/textLayout"/>
<property name="experimental.dir" value="${projects.dir}/experimental"/>
+ <property name="vf2js.dir" value="${projects.dir}/vf2js"/>
<!-- automation -->
<property name="automation.dir" value="${projects.dir}/automation"/>
@@ -81,9 +82,9 @@
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar;${FLEX_HOME}/lib/flexTasks.jar"/>
- <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,textLayout,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv,apache,experimental"/>
+ <target name="main" depends="check-compile-env,clean,thirdparty-downloads,prepare,textLayout,framework,mx,spark,airframework,airspark,mobilecomponents,rpc,charts,advancedgrids,core,flash-integration,automation-swcs,bundles,themes,sparkskins,spark_dmv,apache,experimental,vf2js"/>
- <target name="bundles" depends="framework_rb,mx_rb,textLayout_rb,spark_rb,airframework_rb,airspark_rb,mobilecomponents_rb,rpc_rb,charts_rb,advancedgrids_rb,automation-rbs,apache_rb,experimental_rb"/>
+ <target name="bundles" depends="framework_rb,mx_rb,textLayout_rb,spark_rb,airframework_rb,airspark_rb,mobilecomponents_rb,rpc_rb,charts_rb,advancedgrids_rb,automation-rbs,apache_rb,experimental_rb,vf2js_rb"/>
<target name="automation-swcs"
depends="automation_agent,automation_dmv,tool,tool_air,automation,automation_air,automation_spark,automation_flashflexkit,automation_air,automation_airspark"
@@ -1069,6 +1070,41 @@
</compc>
</target>
+ <target name="vf2js" description="Builds the vf2js.swc">
+ <compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}" accessible="true"
+ include-classes="VF2JSClasses" output="${basedir}/libs/vf2js.swc"
+ resource-bundle-list="${vf2js.dir}/bundles.properties">
+ <source-path path-element="${vf2js.dir}/src"/>
+ <library-path />
+ <external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
+ <external-library-path dir="${basedir}/libs">
+ <include name="mx.swc"/>
+ </external-library-path>
+ <include-file name="defaults.css" path="${mx.dir}/defaults.css"/>
+ <jvmarg line="${compc.jvm.args}"/>
+ <keep-as3-metadata name="Bindable"/>
+ <keep-as3-metadata name="Managed"/>
+ <keep-as3-metadata name="ChangeEvent"/>
+ <keep-as3-metadata name="NonCommittingChangeEvent"/>
+ <keep-as3-metadata name="Transient"/>
+ </compc>
+ </target>
+
+ <target name="vf2js_rb" description="Builds default locale vf2js_rb.swc">
+ <compc static-link-runtime-shared-libraries="true" fork="true" locale="${locale}"
+ output="${basedir}/locale/${locale}/vf2js_rb.swc">
+ <include-resource-bundles bundle="vf2js"/>
+ <source-path path-element="${vf2js.dir}/bundles/${locale}"/>
+ <source-path path-element="${vf2js.dir}/src"/>
+ <external-library-path dir="${playerglobal.dir}" includes="playerglobal.swc"/>
+ <external-library-path dir="${basedir}/libs">
+ <include name="framework.swc"/>
+ </external-library-path>
+ <library-path/>
+ <jvmarg line="${compc.jvm.args}"/>
+ </compc>
+ </target>
+
<!-- Download thirdparty code -->
@@ -1100,6 +1136,7 @@
<include name="flash-integration.swc"/>
<include name="apache.swc"/>
<include name="experimental.swc"/>
+ <include name="vf2js.swc"/>
</fileset>
<fileset dir="${basedir}/libs/automation">
<include name="automation_agent.swc"/>
@@ -1136,6 +1173,7 @@
<include name="tool_air_rb.swc"/>
<include name="apache_rb.swc"/>
<include name="experimental_rb.swc"/>
+ <include name="vf2js_rb.swc"/>
</fileset>
</delete>
<delete dir="${basedir}/projects" includes="*/bundles.properties"/>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/flex-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index 53776fd..b0a65b5 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -111,6 +111,10 @@
<uri>http://flex.apache.org/experimental/ns</uri>
<manifest>experimental-manifest.xml</manifest>
</namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ <manifest>vf2js-manifest.xml</manifest>
+ </namespace>
</namespaces>
<!-- Enable post-link SWF optimization. -->
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config.xml b/frameworks/flex-config.xml
index 2797eeb..5e71caa 100644
--- a/frameworks/flex-config.xml
+++ b/frameworks/flex-config.xml
@@ -111,6 +111,10 @@
<uri>http://flex.apache.org/experimental/ns</uri>
<manifest>experimental-manifest.xml</manifest>
</namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ <manifest>vf2js-manifest.xml</manifest>
+ </namespace>
</namespaces>
<!-- Enable post-link SWF optimization. -->
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/build.xml b/frameworks/projects/vf2js/build.xml
new file mode 100644
index 0000000..8a251e3
--- /dev/null
+++ b/frameworks/projects/vf2js/build.xml
@@ -0,0 +1,191 @@
+<?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 name="FLEX_HOME" location="${basedir}/../../.."/>
+
+ <property file="${FLEX_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEX_HOME}/build.properties"/>
+
+ <macrodef name="bundle">
+ <attribute name="locale"/>
+ <sequential>
+ <echo message="Compiling frameworks/locale/@{locale}/vf2js_rb.swc"/>
+
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <compc fork="true"
+ output="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="bundle-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+locale=@{locale}" />
+ </compc>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="fat-swc">
+ <attribute name="locale"/>
+ <sequential>
+ <mkdir dir="${basedir}/bundles/@{locale}/docs" />
+ <zip destfile="${FLEX_HOME}/frameworks/locale/@{locale}/vf2js_rb.swc" update="true">
+ <zipfileset dir="${basedir}/bundles/@{locale}/docs" prefix="docs">
+ <include name="*.*"/>
+ </zipfileset>
+ <zipfileset dir="${basedir}/bundles/en_US" prefix="docs">
+ <include name="packages.dita"/>
+ </zipfileset>
+ </zip>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="bundle-clean">
+ <attribute name="locale"/>
+ <sequential>
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="@{locale}/vf2js_rb.swc"/>
+ <include name="@{locale}/vf2js_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="bundler">
+ <attribute name="locale"/>
+ <element name="run.fat.swc" optional="yes"/>
+ <sequential>
+ <bundle-clean locale="@{locale}"/>
+ <bundle locale="@{locale}"/>
+ <run.fat.swc/>
+ </sequential>
+ </macrodef>
+
+ <target name="main" depends="clean,compile" description="Clean build of vf2js.swc and default locale">
+ <bundle locale="${locale}"/>
+ </target>
+
+ <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
+
+ <!-- This is a private target for building vf2js.swc for various locales. -->
+ <!-- The targets below set the 'locale' parameter and call it with <antcall>. -->
+ <target name="bundles">
+ <!-- these languages do not have localized docs-->
+ <bundler locale="nl_NL"/><!-- Dutch resources -->
+ </target>
+
+ <target name="clean" depends="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${basedir}" >
+ <include name="bundles.properties"/>
+ <include name="bundles/en_US/packages.dita"/>
+ </fileset>
+ <fileset dir="${FLEX_HOME}/frameworks/libs">
+ <include name="vf2js.swc"/>
+ <include name="vf2js.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="bundles-clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEX_HOME}/frameworks/locale">
+ <include name="*/vf2js_rb.swc"/>
+ <include name="*/vf2js_rb.swc.incr"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" description="Compiles vf2js.swc">
+ <echo message="Compiling frameworks/libs/vf2js.swc"/>
+
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+ <!--
+ Link in the classes (and their dependencies) for the experimental classes
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in ExperimentalClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Link in accessibility support.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true"
+ output="${FLEX_HOME}/frameworks/libs/vf2js.swc">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="compile-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ </compc>
+ </target>
+
+ <target name="doc" depends="clean-temp-docs" description="updates vf2js.swc with asdoc xml">
+ <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+ <condition property="asdoc.jvm.args" value="-Xmx384m">
+ <os family="windows"/>
+ </condition>
+
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="mac"/>
+ </condition>
+
+ <condition property="asdoc.jvm.args" value="-Xmx512m">
+ <os family="unix"/>
+ </condition>
+
+
+ <!-- Call asdoc to generate dita xml files -->
+ <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
+ <compiler.source-path path-element="${basedir}/src"/>
+ <doc-classes class="ExperimentalClasses"/>
+ <namespace uri="http://flex.apache.org/vf2js/ns" manifest="${basedir}/manifest.xml"/>
+ <namespace uri="library://ns.adobe.com/flex/spark" manifest="${basedir}/spark-manifest.xml"/>
+ <jvmarg line="${asdoc.jvm.args}"/>
+ </asdoc>
+
+ <!-- updates vf2js.swc with asdoc xml -->
+ <zip destfile="${FLEX_HOME}/frameworks/locale/en_US/vf2js_rb.swc" update="true">
+ <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+ <include name="*.*"/>
+ <exclude name="ASDoc_Config.xml"/>
+ <exclude name="overviews.xml"/>
+ </zipfileset>
+ </zip>
+ <copy file="${FLEX_HOME}/tempDoc/tempdita/packages.dita" tofile="${basedir}/bundles/en_US/packages.dita"/>
+ </target>
+
+ <target name="clean-temp-docs">
+ <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+ <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/bundle-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundle-config.xml b/frameworks/projects/vf2js/bundle-config.xml
new file mode 100644
index 0000000..89cd8aa
--- /dev/null
+++ b/frameworks/projects/vf2js/bundle-config.xml
@@ -0,0 +1,51 @@
+<!--
+
+ 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>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ </external-library-path>
+
+ <include-libraries/>
+
+ <library-path/>
+
+ <locale>
+ <locale-element>${locale}</locale-element>
+ </locale>
+
+ <source-path>
+ <path-element>src</path-element>
+ <path-element>bundles/${locale}</path-element>
+ </source-path>
+ </compiler>
+
+ <include-classes/>
+
+ <include-namespaces/>
+
+ <include-resource-bundles>
+ <bundle>vf2js</bundle>
+ </include-resource-bundles>
+
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundles/en_US/vf2js.properties b/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js/bundles/en_US/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties b/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
new file mode 100644
index 0000000..29940f7
--- /dev/null
+++ b/frameworks/projects/vf2js/bundles/nl_NL/vf2js.properties
@@ -0,0 +1,18 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/compile-config.xml b/frameworks/projects/vf2js/compile-config.xml
new file mode 100644
index 0000000..a8b2b0b
--- /dev/null
+++ b/frameworks/projects/vf2js/compile-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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>
+ <accessible>true</accessible>
+
+ <external-library-path>
+ <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+ <path-element>../../libs/framework.swc</path-element>
+ <path-element>../../libs/spark.swc</path-element>
+ <path-element>../../libs/textLayout.swc</path-element>
+ </external-library-path>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ <name>SkinPart</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ <manifest>manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.adobe.com/flex/spark</uri>
+ <manifest>spark-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>src</path-element>
+ </source-path>
+
+ <show-deprecation-warnings>false</show-deprecation-warnings>
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-namespaces>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ </include-namespaces>
+
+ <include-classes>
+ <class>VF2JSClasses</class>
+ </include-classes>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+
+ <resource-bundle-list>bundles.properties</resource-bundle-list>
+
+ <target-player>${playerglobal.version}</target-player>
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/defaults.css b/frameworks/projects/vf2js/defaults.css
new file mode 100644
index 0000000..9d843bc
--- /dev/null
+++ b/frameworks/projects/vf2js/defaults.css
@@ -0,0 +1,20 @@
+/*
+*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+@namespace "http://flex.apache.org/vf2js/ns";
+@namespace s "library://ns.adobe.com/flex/spark";
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/manifest.xml b/frameworks/projects/vf2js/manifest.xml
new file mode 100644
index 0000000..cdfe63e
--- /dev/null
+++ b/frameworks/projects/vf2js/manifest.xml
@@ -0,0 +1,77 @@
+<?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.
+
+-->
+
+<!--
+
+ Experimental Components
+
+-->
+<componentPackage>
+ <!-- components -->
+ <!-- Alert -->
+ <component id="Alert" class="spark.components.Alert"/>
+ <!-- DataAccordion -->
+ <component id="DataAccordion" class="spark.components.DataAccordion"/>
+ <!-- DataNavigator -->
+ <component id="DataNavigator" class="spark.components.DataNavigator"/>
+ <!-- DataNavigatorGroup -->
+ <component id="DataNavigatorGroup" class="spark.components.DataNavigatorGroup"/>
+ <!-- BorderDataNavigatorGroup -->
+ <component id="BorderDataNavigator" class="spark.components.BorderDataNavigator"/>
+ <!-- InlineScroller -->
+ <component id="InlineScroller" class="spark.components.InlineScroller"/>
+ <!-- ColorPicker -->
+ <component id="ColorPicker" class="spark.components.ColorPicker"/>
+ <!-- MaskedTextInput -->
+ <component id="MaskedTextInput" class="spark.components.MaskedTextInput"/>
+ <!-- Menu -->
+ <component id="Menu" class="spark.components.Menu"/>
+ <component id="MenuItemRenderer" class="spark.components.itemRenderers.MenuItemRenderer"/>
+ <!-- MenuBar -->
+ <component id="MenuBar" class="spark.components.MenuBar"/>
+ <component id="MenuBarItemRenderer" class="spark.components.itemRenderers.MenuBarItemRenderer"/>
+ <!-- ProgressBar -->
+ <component id="ProgressBar" class="spark.components.ProgressBar"/>
+
+ <!-- containers -->
+ <component id="Accordion" class="spark.containers.Accordion"/>
+ <component id="DeferredGroup" class="spark.containers.DeferredGroup"/>
+ <component id="Navigator" class="spark.containers.Navigator"/>
+ <component id="NavigatorGroup" class="spark.containers.NavigatorGroup"/>
+
+
+ <!-- Horizontal and Vertical dividers and their groups -->
+ <component id="Divider" class="spark.containers.Divider"/>
+ <component id="HDivider" class="spark.containers.HDivider"/>
+ <component id="VDivider" class="spark.containers.VDivider"/>
+ <component id="DividerGroup" class="spark.containers.DividedGroup"/>
+ <component id="HDividerGroup" class="spark.containers.HDividerGroup"/>
+ <component id="VDividerGroup" class="spark.containers.VDividerGroup"/>
+
+ <!-- layouts -->
+ <component id="AccordionLayout" class="spark.layouts.AccordionLayout"/>
+ <component id="CarouselLayout" class="spark.layouts.CarouselLayout"/>
+ <component id="CoverflowLayout" class="spark.layouts.CoverflowLayout"/>
+ <component id="InlineScrollerLayout" class="spark.layouts.InlineScrollerLayout"/>
+ <component id="RolodexLayout" class="spark.layouts.RolodexLayout"/>
+ <component id="StackLayout" class="spark.layouts.StackLayout"/>
+ <component id="TimeMachineLayout" class="spark.layouts.TimeMachineLayout"/>
+
+</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/spark-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/spark-manifest.xml b/frameworks/projects/vf2js/spark-manifest.xml
new file mode 100644
index 0000000..817b4cf
--- /dev/null
+++ b/frameworks/projects/vf2js/spark-manifest.xml
@@ -0,0 +1,49 @@
+<?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.
+
+-->
+
+<!--
+
+ Experimental Components
+
+-->
+<componentPackage>
+
+ <!-- Special Components -->
+ <component id="State" class="mx.states.State" lookupOnly="true"/>
+ <component id="Transition" class="mx.states.Transition" lookupOnly="true"/>
+
+ <!-- Flex 3 Graphics -->
+ <component id="BitmapFill" class="mx.graphics.BitmapFill" lookupOnly="true"/>
+ <component id="BitmapResizeMode" class="mx.graphics.BitmapResizeMode" lookupOnly="true"/>
+ <component id="CompoundTransform" class="mx.geom.CompoundTransform" lookupOnly="true"/>
+ <component id="GradientEntry" class="mx.graphics.GradientEntry" lookupOnly="true"/>
+ <component id="LinearGradient" class="mx.graphics.LinearGradient" lookupOnly="true"/>
+ <component id="LinearGradientStroke" class="mx.graphics.LinearGradientStroke" lookupOnly="true"/>
+ <component id="RadialGradient" class="mx.graphics.RadialGradient" lookupOnly="true"/>
+ <component id="RadialGradientStroke" class="mx.graphics.RadialGradientStroke" lookupOnly="true"/>
+ <component id="SolidColor" class="mx.graphics.SolidColor" lookupOnly="true"/>
+ <component id="SolidColorStroke" class="mx.graphics.SolidColorStroke" lookupOnly="true"/>
+ <component id="Stroke" class="mx.graphics.Stroke" lookupOnly="true"/>
+ <component id="Transform" class="mx.geom.Transform" lookupOnly="true"/>
+
+ <!-- Spark Graphics -->
+ <component id="BitmapGraphic" class="spark.primitives.BitmapImage" lookupOnly="true"/>
+ <component id="BitmapImage" class="spark.primitives.BitmapImage" lookupOnly="true"/>
+</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/src/VF2JSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/VF2JSClasses.as b/frameworks/projects/vf2js/src/VF2JSClasses.as
new file mode 100644
index 0000000..c5bc341
--- /dev/null
+++ b/frameworks/projects/vf2js/src/VF2JSClasses.as
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+ */
+ import vf2js.components.Button; Button;
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
new file mode 100644
index 0000000..78c447e
--- /dev/null
+++ b/frameworks/projects/vf2js/src/vf2js/components/Button.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.components
+{
+
+public class Button
+{
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ public function Button() {}
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f033c66b/ide/flashbuilder/config/flex-config.xml
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/config/flex-config.xml b/ide/flashbuilder/config/flex-config.xml
index 1536d4a..7caacbe 100644
--- a/ide/flashbuilder/config/flex-config.xml
+++ b/ide/flashbuilder/config/flex-config.xml
@@ -111,6 +111,10 @@
<uri>http://flex.apache.org/experimental/ns</uri>
<manifest>experimental-manifest.xml</manifest>
</namespace>
+ <namespace>
+ <uri>http://flex.apache.org/vf2js/ns</uri>
+ <manifest>vf2js-manifest.xml</manifest>
+ </namespace>
</namespaces>
<!-- Enable post-link SWF optimization. -->
[18/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Last bits to make
an SDK build work.
Posted by er...@apache.org.
Last bits to make an SDK build work.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a03d5aea
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a03d5aea
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a03d5aea
Branch: refs/heads/VF2JS
Commit: a03d5aea07cbfb688c3de81d9556ad3f194aecf3
Parents: 7b30919
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Jul 1 10:45:02 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Jul 1 10:45:02 2014 +0200
----------------------------------------------------------------------
frameworks/vf2js-manifest.xml | 30 ------------------------------
frameworks/vf2js_mx-manifest.xml | 29 +++++++++++++++++++++++++++++
frameworks/vf2js_s-manifest.xml | 30 ++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a03d5aea/frameworks/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js-manifest.xml b/frameworks/vf2js-manifest.xml
deleted file mode 100644
index 7bf4f16..0000000
--- a/frameworks/vf2js-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-sdk/blob/a03d5aea/frameworks/vf2js_mx-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js_mx-manifest.xml b/frameworks/vf2js_mx-manifest.xml
new file mode 100644
index 0000000..7c86f72
--- /dev/null
+++ b/frameworks/vf2js_mx-manifest.xml
@@ -0,0 +1,29 @@
+<?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-sdk/blob/a03d5aea/frameworks/vf2js_s-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js_s-manifest.xml b/frameworks/vf2js_s-manifest.xml
new file mode 100644
index 0000000..7bf4f16
--- /dev/null
+++ b/frameworks/vf2js_s-manifest.xml
@@ -0,0 +1,30 @@
+<?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>
[07/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Added
'Application' class.
Posted by er...@apache.org.
Added 'Application' class.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/953be7e9
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/953be7e9
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/953be7e9
Branch: refs/heads/VF2JS
Commit: 953be7e9932c07aacc05d7aae370525589fb1902
Parents: 2dec2c1
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Jun 18 14:38:44 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Jun 29 13:36:11 2014 +0200
----------------------------------------------------------------------
frameworks/projects/vf2js/manifest.xml | 9 ++---
frameworks/projects/vf2js/src/VF2JSClasses.as | 20 +++++------
.../vf2js/src/vf2js/components/Application.as | 38 ++++++++++++++++++++
frameworks/vf2js-manifest.xml | 7 ++--
4 files changed, 54 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/953be7e9/frameworks/projects/vf2js/manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/manifest.xml b/frameworks/projects/vf2js/manifest.xml
index 2422c70..41059d7 100644
--- a/frameworks/projects/vf2js/manifest.xml
+++ b/frameworks/projects/vf2js/manifest.xml
@@ -23,11 +23,8 @@
VF2JS Components
-->
-<componentPackage>
-
- <!-- components -->
-
- <!-- Button -->
- <component id="Button" class="vf2js.components.Button" />
+<componentPackage>
+ <component id="Application" class="vf2js.components.Application"/>
+ <component id="Button" class="vf2js.components.Button"/>
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/953be7e9/frameworks/projects/vf2js/src/VF2JSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/VF2JSClasses.as b/frameworks/projects/vf2js/src/VF2JSClasses.as
index c5bc341..e80ff0d 100644
--- a/frameworks/projects/vf2js/src/VF2JSClasses.as
+++ b/frameworks/projects/vf2js/src/VF2JSClasses.as
@@ -16,16 +16,16 @@
// 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.
- */
- import vf2js.components.Button; Button;
- }
+ 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-sdk/blob/953be7e9/frameworks/projects/vf2js/src/vf2js/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Application.as b/frameworks/projects/vf2js/src/vf2js/components/Application.as
new file mode 100644
index 0000000..1ee87d3
--- /dev/null
+++ b/frameworks/projects/vf2js/src/vf2js/components/Application.as
@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.components
+{
+
+import spark.components.Application;
+
+public class Application extends spark.components.Application
+{
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ public function Application() {
+ super();
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/953be7e9/frameworks/vf2js-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/vf2js-manifest.xml b/frameworks/vf2js-manifest.xml
index 05baae4..41059d7 100644
--- a/frameworks/vf2js-manifest.xml
+++ b/frameworks/vf2js-manifest.xml
@@ -23,9 +23,8 @@
VF2JS Components
-->
-<componentPackage>
-
- <!-- Button class -->
- <component id="Button" class="vf2js.components.Button" />
+<componentPackage>
+ <component id="Application" class="vf2js.components.Application"/>
+ <component id="Button" class="vf2js.components.Button"/>
</componentPackage>