You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/26 23:04:45 UTC
[01/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Repository: flex-asjs
Updated Branches:
refs/heads/spark 256a0a229 -> c4cb764eb
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/.project b/frameworks/js/FlexJS/projects/ReflectionJS/.project
new file mode 100644
index 0000000..1f3adb4
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/.project
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>ReflectionJS</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/ReflectionJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..44d7a61
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 21:06:49 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
new file mode 100644
index 0000000..6dcc084
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
@@ -0,0 +1,146 @@
+<?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="ReflectionJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="ReflectionJS.swc" />
+ <property name="target.name.no.version" value="ReflectionJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Reflection.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/ReflectionJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..c2f63f6
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Reflection/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ <path-element>../../../../../../../projects/Reflection/src/main/flex</path-element>
+ </include-sources>
+
+ <include-classes>
+ </include-classes>
+
+ <include-namespaces>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Storage/build.xml b/frameworks/js/FlexJS/projects/Storage/build.xml
deleted file mode 100644
index 9de3dac..0000000
--- a/frameworks/js/FlexJS/projects/Storage/build.xml
+++ /dev/null
@@ -1,151 +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="StorageJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
- </condition>
- <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/target/cordova.swc" />
- <property name="target.name" value="StorageJS.swc" />
- <property name="target.name.no.version" value="StorageJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Storage.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests"/>
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="--external-library-path+=${CORDOVA.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="--external-library-path+=${CORDOVA.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Storage/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Storage/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Storage/src/main/config/compile-js-config.xml
deleted file mode 100644
index 4fdfcef..0000000
--- a/frameworks/js/FlexJS/projects/Storage/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Storage/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Storage/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>StorageClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/StorageJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/build.xml b/frameworks/js/FlexJS/projects/StorageJS/build.xml
new file mode 100644
index 0000000..9de3dac
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/StorageJS/build.xml
@@ -0,0 +1,151 @@
+<?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="StorageJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
+ </condition>
+ <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/target/cordova.swc" />
+ <property name="target.name" value="StorageJS.swc" />
+ <property name="target.name.no.version" value="StorageJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Storage.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests"/>
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="--external-library-path+=${CORDOVA.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="--external-library-path+=${CORDOVA.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/StorageJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/StorageJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..4fdfcef
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/StorageJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Storage/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Storage/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/XML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XML/build.xml b/frameworks/js/FlexJS/projects/XML/build.xml
deleted file mode 100644
index d67f8c2..0000000
--- a/frameworks/js/FlexJS/projects/XML/build.xml
+++ /dev/null
@@ -1,183 +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="XMLJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
-
- <target name="more-props" >
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="XMLJS.swc" />
- <property name="target.name.no.version" value="XMLJS.swc" />
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
- </target>
-
- <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-extern-swc,copy-js,compile,test-js" description="Full build of XML.swc">
- </target>-->
- <target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,copy-js,test-js" description="Full build of XML.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-compiler.strict-xml=true" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js" >
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**" />
- </fileset>
- </copy>
- </target>
-
- <target name="check-falcon-home" unless="FALCON_HOME"
- description="Check FALCON_HOME is a directory.">
-
- <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
-
- <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
- type="file"
- property="FALCON_HOME"
- value="${env.FALCON_HOME}"/>
-
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
- type="file"
- property="FALCON_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
-
- <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler/generated/dist/sdk folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK"
- unless="FALCON_HOME"/>
- </target>
-
- <target name="check-falconjx-home" unless="FALCONJX_HOME"
- description="Check FALCON_HOME is a directory.">
-
- <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
-
- <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
- type="file"
- property="FALCONJX_HOME"
- value="${env.FALCONJX_HOME}"/>
-
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
- type="file"
- property="FALCONJX_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
-
- <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK"
- unless="FALCONJX_HOME"/>
- </target>
- <target name="asjs" depends="check-falcon-home,check-falconjx-home,more-props,compile-asjs">
- </target>
-
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/XML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XML/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/XML/src/main/config/compile-js-config.xml
deleted file mode 100644
index e78ac2e..0000000
--- a/frameworks/js/FlexJS/projects/XML/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/XML/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/XML/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../../../../../../../projects/XML/src/main/flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/XMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/build.xml b/frameworks/js/FlexJS/projects/XMLJS/build.xml
new file mode 100644
index 0000000..d67f8c2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/XMLJS/build.xml
@@ -0,0 +1,183 @@
+<?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="XMLJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <target name="more-props" >
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="XMLJS.swc" />
+ <property name="target.name.no.version" value="XMLJS.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ </target>
+
+ <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-extern-swc,copy-js,compile,test-js" description="Full build of XML.swc">
+ </target>-->
+ <target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,copy-js,test-js" description="Full build of XML.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js" >
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler/generated/dist/sdk folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+ <target name="asjs" depends="check-falcon-home,check-falconjx-home,more-props,compile-asjs">
+ </target>
+
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/XMLJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/XMLJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..e78ac2e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/XMLJS/src/main/config/compile-js-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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/XML/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/XML/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ <path-element>../../../../../../../projects/XML/src/main/flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
[18/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Made
sure namespaces are correctly generated. The following modules were missing
namespace information: -- Collections -- CreateJS -- DragDrop -- Effects --
Graphics - The following had wrong
Posted by ah...@apache.org.
- Made sure namespaces are correctly generated. The following modules were missing namespace information:
-- Collections
-- CreateJS
-- DragDrop
-- Effects
-- Graphics
- The following had wrong uris
-- Formatters
-- GoogleMaps
-- HTML5
-- JQuery
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0f49ba6e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0f49ba6e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0f49ba6e
Branch: refs/heads/spark
Commit: 0f49ba6e71c732848a16b767414f0394ac25c466
Parents: 6ce349d
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed May 18 16:50:44 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
frameworks/pom.xml | 39 ++++++++++++++++++++++++++++
frameworks/projects/Collections/pom.xml | 6 +++++
frameworks/projects/CreateJS/pom.xml | 6 +++++
frameworks/projects/DragDrop/pom.xml | 6 +++++
frameworks/projects/Effects/pom.xml | 6 +++++
frameworks/projects/Formatters/pom.xml | 2 +-
frameworks/projects/GoogleMaps/pom.xml | 2 +-
frameworks/projects/Graphics/pom.xml | 6 +++++
frameworks/projects/HTML5/pom.xml | 2 +-
frameworks/projects/JQuery/pom.xml | 2 +-
frameworks/projects/XML/pom.xml | 1 -
11 files changed, 73 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/pom.xml b/frameworks/pom.xml
new file mode 100644
index 0000000..4058466
--- /dev/null
+++ b/frameworks/pom.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs</groupId>
+ <artifactId>flex-asjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>frameworks</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>projects</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/Collections/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/pom.xml b/frameworks/projects/Collections/pom.xml
index c74aed4..4ed200e 100644
--- a/frameworks/projects/Collections/pom.xml
+++ b/frameworks/projects/Collections/pom.xml
@@ -40,6 +40,12 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
<includeClasses>
<includeClass>CollectionsClasses</includeClass>
</includeClasses>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
index 4cce08f..6fd5564 100644
--- a/frameworks/projects/CreateJS/pom.xml
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -40,6 +40,12 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>${project.basedir}/src/main/resources/createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
<includeClasses>
<includeClass>CreateJSClasses</includeClass>
</includeClasses>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/DragDrop/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/pom.xml b/frameworks/projects/DragDrop/pom.xml
index b08ea3e..dd92d08 100644
--- a/frameworks/projects/DragDrop/pom.xml
+++ b/frameworks/projects/DragDrop/pom.xml
@@ -40,6 +40,12 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
<includeClasses>
<includeClass>DragDropClasses</includeClass>
</includeClasses>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/Effects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/pom.xml b/frameworks/projects/Effects/pom.xml
index 851a1f2..3f24da5 100644
--- a/frameworks/projects/Effects/pom.xml
+++ b/frameworks/projects/Effects/pom.xml
@@ -40,6 +40,12 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
<includeClasses>
<includeClass>EffectsClasses</includeClass>
</includeClasses>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/Formatters/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/pom.xml b/frameworks/projects/Formatters/pom.xml
index e99e8d9..bfc7235 100644
--- a/frameworks/projects/Formatters/pom.xml
+++ b/frameworks/projects/Formatters/pom.xml
@@ -42,7 +42,7 @@
<configuration>
<namespaces>
<namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
<manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/GoogleMaps/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/pom.xml b/frameworks/projects/GoogleMaps/pom.xml
index 2edd24b..0bd176b 100644
--- a/frameworks/projects/GoogleMaps/pom.xml
+++ b/frameworks/projects/GoogleMaps/pom.xml
@@ -42,7 +42,7 @@
<configuration>
<namespaces>
<namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
+ <uri>library://ns.apache.org/flexjs/google</uri>
<manifest>${project.basedir}/src/main/resources/google-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
index dbbd654..ec7a8cd 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -40,6 +40,12 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
<includeClasses>
<includeClass>GraphicsClasses</includeClass>
</includeClasses>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/HTML5/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/pom.xml b/frameworks/projects/HTML5/pom.xml
index cd12b56..f195b0b 100644
--- a/frameworks/projects/HTML5/pom.xml
+++ b/frameworks/projects/HTML5/pom.xml
@@ -42,7 +42,7 @@
<configuration>
<namespaces>
<namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
<manifest>${project.basedir}/src/main/resources/html5-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/JQuery/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/pom.xml b/frameworks/projects/JQuery/pom.xml
index 438c4e2..b4e203d 100644
--- a/frameworks/projects/JQuery/pom.xml
+++ b/frameworks/projects/JQuery/pom.xml
@@ -42,7 +42,7 @@
<configuration>
<namespaces>
<namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
<manifest>${project.basedir}/src/main/resources/jquery-manifest.xml</manifest>
</namespace>
</namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0f49ba6e/frameworks/projects/XML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/pom.xml b/frameworks/projects/XML/pom.xml
index c968846..b3b8943 100644
--- a/frameworks/projects/XML/pom.xml
+++ b/frameworks/projects/XML/pom.xml
@@ -47,7 +47,6 @@
<manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
</namespace>
</namespaces>
-
</configuration>
<dependencies>
<dependency>
[27/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - don't
use the word extern except for the falcon externs
Posted by ah...@apache.org.
don't use the word extern except for the falcon externs
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/839caaf3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/839caaf3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/839caaf3
Branch: refs/heads/spark
Commit: 839caaf3f9741fc46aa5e30532e10cda7c90b9cd
Parents: 6b5850c
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 10:48:34 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:22 2016 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/projects/BindingJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/ChartsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/CollectionsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/CoreJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/CreateJSJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/DragDropJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/EffectsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/FlatJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/FormattersJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/GraphicsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/HTML5JS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/HTMLJS/build.xml | 6 +++---
frameworks/js/FlexJS/projects/JQueryJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/MobileJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/NetworkJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/ReflectionJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/StorageJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/XMLJS/build.xml | 4 ++--
19 files changed, 39 insertions(+), 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/BindingJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/build.xml b/frameworks/js/FlexJS/projects/BindingJS/build.xml
index 12a62fa..6ab9db3 100644
--- a/frameworks/js/FlexJS/projects/BindingJS/build.xml
+++ b/frameworks/js/FlexJS/projects/BindingJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="BindingJS.swc" />
<property name="target.name.no.version" value="BindingJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test-js" description="Full build of Binding.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test-js" description="Full build of Binding.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -97,7 +97,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/ChartsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/build.xml b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
index 6f32686..a1a5682 100644
--- a/frameworks/js/FlexJS/projects/ChartsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="ChartsJS.swc" />
<property name="target.name.no.version" value="ChartsJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of ChartsJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of ChartsJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -91,7 +91,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
index 0b526f7..db3c883 100644
--- a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="CollectionsJS.swc" />
<property name="target.name.no.version" value="CollectionsJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CollectionsJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of CollectionsJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -91,7 +91,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/CoreJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/build.xml b/frameworks/js/FlexJS/projects/CoreJS/build.xml
index 9806f7d..d523755 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CoreJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="CoreJS.swc" />
<property name="target.name.no.version" value="CoreJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of CoreJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of CoreJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -102,7 +102,7 @@
value="/** @param {(Object|null|string)} event The event. 
@return {boolean} The return. */
org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent" />
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
index 8b69fd9..7315203 100644
--- a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
@@ -46,7 +46,7 @@
<property name="target.name" value="CreateJSJS.swc" />
<property name="target.name.no.version" value="CreateJSJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CreateJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of CreateJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -104,7 +104,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/DragDropJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/build.xml b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
index 21c7f02..79202e5 100644
--- a/frameworks/js/FlexJS/projects/DragDropJS/build.xml
+++ b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="DragDropJS.swc" />
<property name="target.name.no.version" value="DragDropJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs" description="Full build of DragDrop.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs" description="Full build of DragDrop.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -98,7 +98,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/EffectsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/build.xml b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
index efc449f..4bbe5b3 100644
--- a/frameworks/js/FlexJS/projects/EffectsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="EffectsJS.swc" />
<property name="target.name.no.version" value="EffectsJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Effects.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of Effects.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -99,7 +99,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/FlatJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/build.xml b/frameworks/js/FlexJS/projects/FlatJS/build.xml
index 3b9497c..5df167a 100644
--- a/frameworks/js/FlexJS/projects/FlatJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FlatJS/build.xml
@@ -40,7 +40,7 @@
<property name="target.name" value="FlatJS.swc" />
<property name="target.name.no.version" value="FlatJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Flat.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Flat.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -98,7 +98,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/FormattersJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/build.xml b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
index dcd0c72..fd07f83 100644
--- a/frameworks/js/FlexJS/projects/FormattersJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="FormattersJS.swc" />
<property name="target.name.no.version" value="FormattersJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Formatters.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Formatters.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -90,7 +90,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
index c42f400..98936d5 100644
--- a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
@@ -43,7 +43,7 @@
<property name="target.name" value="GoogleMapsJS.swc" />
<property name="target.name.no.version" value="GoogleMapsJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GoogleMaps.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of GoogleMaps.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -95,7 +95,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
index 2108ce6..2bbd169 100644
--- a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="GraphicsJS.swc" />
<property name="target.name.no.version" value="GraphicsJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GraphicsJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of GraphicsJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -98,7 +98,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/HTML5JS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/build.xml b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
index 702e60e..ca5ed0a 100644
--- a/frameworks/js/FlexJS/projects/HTML5JS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="HTML5JS.swc" />
<property name="target.name.no.version" value="HTML5JS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTML5.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of HTML5.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -90,7 +90,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/HTMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/build.xml b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
index a034ce9..52d1726 100644
--- a/frameworks/js/FlexJS/projects/HTMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="HTMLJS.swc" />
<property name="target.name.no.version" value="HTMLJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTMLJS.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of HTMLJS.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -96,8 +96,8 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/externs/${target.name}"/>
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/JQueryJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/build.xml b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
index f7d4f0d..a314f6b 100644
--- a/frameworks/js/FlexJS/projects/JQueryJS/build.xml
+++ b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
@@ -43,7 +43,7 @@
<property name="target.name" value="JQueryJS.swc" />
<property name="target.name.no.version" value="JQueryJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of jQuery.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of jQuery.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -95,7 +95,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/MobileJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/build.xml b/frameworks/js/FlexJS/projects/MobileJS/build.xml
index 94ee6dc..a509575 100644
--- a/frameworks/js/FlexJS/projects/MobileJS/build.xml
+++ b/frameworks/js/FlexJS/projects/MobileJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="MobileJS.swc" />
<property name="target.name.no.version" value="MobileJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Mobile.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Mobile.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -90,7 +90,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/NetworkJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/build.xml b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
index 5d660e2..f068cea 100644
--- a/frameworks/js/FlexJS/projects/NetworkJS/build.xml
+++ b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="NetworkJS.swc" />
<property name="target.name.no.version" value="NetworkJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Network.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of Network.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -96,7 +96,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
index 7652935..be8cfb4 100644
--- a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
@@ -39,7 +39,7 @@
<property name="target.name" value="ReflectionJS.swc" />
<property name="target.name.no.version" value="ReflectionJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Reflection.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Reflection.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -96,7 +96,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/StorageJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/build.xml b/frameworks/js/FlexJS/projects/StorageJS/build.xml
index b732390..3097e59 100644
--- a/frameworks/js/FlexJS/projects/StorageJS/build.xml
+++ b/frameworks/js/FlexJS/projects/StorageJS/build.xml
@@ -43,7 +43,7 @@
<property name="target.name" value="StorageJS.swc" />
<property name="target.name.no.version" value="StorageJS.swc" />
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Storage.swc">
+ <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Storage.swc">
</target>
<target name="test" unless="is.jenkins">
@@ -101,7 +101,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/839caaf3/frameworks/js/FlexJS/projects/XMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/build.xml b/frameworks/js/FlexJS/projects/XMLJS/build.xml
index 2ec623f..88c9951 100644
--- a/frameworks/js/FlexJS/projects/XMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/XMLJS/build.xml
@@ -37,7 +37,7 @@
</path>
</target>
- <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-extern-swc,copy-js,compile,test-js" description="Full build of XML.swc">
+ <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-js-swc,copy-js,compile,test-js" description="Full build of XML.swc">
</target>-->
<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,copy-js,test-js" description="Full build of XML.swc">
</target>
@@ -93,7 +93,7 @@
</java>
</target>
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
[34/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - clean up
build scripts
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/build.xml b/frameworks/js/build.xml
deleted file mode 100644
index ebd6cd9..0000000
--- a/frameworks/js/build.xml
+++ /dev/null
@@ -1,153 +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.
-
--->
-
-<!-- Note:
- If you modify this file you may have to make the same change in build_framework.xml.
- build_framework.xml is renamed to build.xml when it is packaged.
- It is used to build the frameworks directory from the zip file.
--->
-<project name="frameworks-js" default="main" basedir=".">
-
- <property name="FLEXJS_HOME" location="../.."/>
-
- <!-- Required for OSX 10.6 / Snow Leopard Performance. -->
- <!-- Java 7 on Mac requires OSX 10.7.3 or higher and is 64-bit only -->
- <!-- local.d32 is set/used in build.properties so this needs to be done first. -->
- <condition property="local.d32" value="-d32">
- <and>
- <os family="mac"/>
- <matches pattern="1.6.*" string="${java.version}"/>
- <equals arg1="${sun.arch.data.model}" arg2="64"/>
- <equals arg1="${os.arch}" arg2="x86_64"/>
- </and>
- </condition>
-
- <!-- Property for the platform. -->
- <condition property="isMac">
- <os family="mac"/>
- </condition>
- <condition property="isWindows">
- <os family="windows" />
- </condition>
- <condition property="isLinux">
- <and>
- <os family="unix"/>
- <not>
- <os family="mac"/>
- </not>
- </and>
- </condition>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
- <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
- <property name="gjslint" value="gjslint" />
- <property name="jshint" value="jshint" />
- <condition property="no.lint" value="true">
- <os family="windows"/>
- </condition>
-
- <target name="main" depends="check-compile-env,clean,prepare,compile"
- description="Clean build of all SWCs"/>
-
- <target name="check-compile-env" description="Check for the required environment variables">
- <ant antfile="${FLEXJS_HOME}/build.xml" target="check-compile-env" dir="${FLEXJS_HOME}"/>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCONJX_HOME}/lib" includes="compc.jar"/>
- </path>
-
- <target name="prepare" depends="thirdparty-downloads"/>
-
- <target name="thirdparty-downloads" unless="no.thirdparty-downloads" description="Downloads all the required thirdparty code.">
- <!--<ant antfile="${basedir}/downloads.xml" dir="${basedir}"/>-->
- </target>
-
- <target name="compile" depends="flexjsjx, gjslint, jshint" description="Validates JS code" />
-
- <target name="lint" depends="gjslint, jshint" />
-
- <target name="gjslint" unless="no.lint">
- <echo>running gjslint</echo>
- <exec executable="${gjslint}" dir="${basedir}" failonerror="true">
- <arg value="--strict" />
- <arg value="--disable" />
- <arg value="006,100,214,300" />
- <!-- 006: wrong indentation -->
- <!-- 100: cannot have non-primitive value -->
- <!-- 214: @fileoverview tag missing description -->
- <!-- 300: missing newline at end of file -->
- <arg value="--max_line_length" />
- <arg value="120" />
- <arg value="-r" />
- <arg value="FlexJS/src" />
- </exec>
- </target>
-
- <target name="jshint" unless="no.lint">
- <echo>running jshint</echo>
- <exec executable="${jshint}" dir="${basedir}" failonerror="true">
- <arg value="--config" />
- <arg value="jshint.properties" />
- <arg value="FlexJS/src" />
- </exec>
- </target>
-
- <target name="flexjsjx" >
- <echo message="Compiling libs/FlexJSJX.swc"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
- <arg value="-load-config=${FLEXJS_HOME}/frameworks/as/projects/FlexJSJX/compile-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- </java>
- </target>
-
- <!--
- Cleanup
- -->
-
- <target name="super-clean" depends="thirdparty-clean,clean" description="Cleans everything including thirdparty downloads."/>
-
- <target name="thirdparty-clean" unless="no.thirdparty-clean" description="Removes all thirdparty downloads.">
- <!--<ant antfile="${basedir}/downloads.xml" target="clean" dir="${basedir}"/>-->
- </target>
-
- <target name="clean" description="Cleans all SWCs and their resource bundles">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="**/**" />
- </fileset>
- </delete>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index 721aa8e..f4fe8f6 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -26,12 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Binding.swc" />
- <property name="target.name.no.version" value="Binding.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test-js" description="Full build of Binding.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -43,22 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -66,32 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling libs/Binding.swc"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in BindingClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -101,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index 7c36fb6..fdc915d 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -26,14 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Charts.swc" />
- <property name="target.name.no.version" value="Charts.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Charts.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -43,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -60,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling libs/Charts.swc"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in ChartsClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -97,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index 83c53a9..8a14664 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -26,14 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Collections.swc" />
- <property name="target.name.no.version" value="Collections.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Collections.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -43,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -60,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -97,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index 292f449..a926925 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -21,19 +21,17 @@
<project name="Core" default="main" basedir=".">
<property name="FLEXJS_HOME" location="../../.."/>
-
+
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Core.swc" />
- <property name="target.name.no.version" value="Core.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Core.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -43,20 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <ant dir="src/test/flex"/>
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -64,35 +64,22 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
<ant dir="src/test/flex" target="clean"/>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
+
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
- output="${basedir}/target/${target.name}">
+ output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
@@ -100,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index bf7ecf1..1a36a0d 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="CreateJS.swc" />
- <property name="target.name.no.version" value="CreateJS.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of CreateJS.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,22 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -65,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -102,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index 0ec9d55..0cb8755 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -26,12 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="DragDrop.swc" />
- <property name="target.name.no.version" value="DragDrop.swc" />
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="main" depends="clean,js-if-needed,compile" description="Full build of DragDrop.swc">
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -43,23 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -104,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index 004d789..c3b97fe 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -26,14 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Effects.swc" />
- <property name="target.name.no.version" value="Effects.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile" description="Full build of Effects.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,25 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
-
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -68,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -105,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index f84eb8d..e323e5c 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -26,12 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Flat.swc" />
- <property name="target.name.no.version" value="Flat.swc" />
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Flat.swc">
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -42,24 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -104,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
</target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index 3843531..a14f28c 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Formatters.swc" />
- <property name="target.name.no.version" value="Formatters.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Formatters.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -59,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
</target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index a2c2f80..0dcfb0c 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="GoogleMaps.swc" />
- <property name="target.name.no.version" value="GoogleMaps.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of GoogleMaps.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -59,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,8 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index 6764adf..1aa386f 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -26,11 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Graphics.swc" />
- <property name="target.name.no.version" value="Graphics.swc" />
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Graphics.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -42,24 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
-
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -104,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index dc16577..8f206e3 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -26,11 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="HTML.swc" />
- <property name="target.name.no.version" value="HTML.swc" />
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of HTML.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -41,21 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <ant dir="src/test/flex"/>
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -63,35 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
<ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -101,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index f41560e..5836136 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="HTML5.swc" />
- <property name="target.name.no.version" value="HTML5.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of HTML5.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -59,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index c1677f6..b1c7627 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="JQuery.swc" />
- <property name="target.name.no.version" value="JQuery.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of jQuery.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -41,17 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -59,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
</target>
</project>
[11/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Added
Apache repositories to flex-asjs parent
Posted by ah...@apache.org.
- Added Apache repositories to flex-asjs parent
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e6bad32a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e6bad32a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e6bad32a
Branch: refs/heads/spark
Commit: e6bad32afb8367371d5aae8f08393d7b6fe3c07b
Parents: 229ba08
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 12:37:23 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e6bad32a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c12e701..750ffef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,10 +46,22 @@
<repository>
<id>flex-release</id>
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
<repository>
<id>flex-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
</repository>
</repositories>
[30/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Revert
"fix up launch scripts"
Posted by ah...@apache.org.
Revert "fix up launch scripts"
This reverts commit 946f7abafe34d90e68268b3113749b650f8aac61.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ff7138e2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ff7138e2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ff7138e2
Branch: refs/heads/spark
Commit: ff7138e228bc319fcda176bb0a9d7881b75a1b66
Parents: 7b295ce
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 17 11:34:48 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:22 2016 -0700
----------------------------------------------------------------------
js/bin/asjsc | 2 +-
js/bin/asjsc.bat | 2 +-
js/bin/asjscompc | 2 +-
js/bin/asjscompc.bat | 2 +-
js/bin/asnodec | 2 +-
js/bin/asnodec.bat | 2 +-
js/bin/jquery | 2 +-
js/bin/jquery.bat | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asjsc
----------------------------------------------------------------------
diff --git a/js/bin/asjsc b/js/bin/asjsc
index dc1ae99..618369d 100755
--- a/js/bin/asjsc
+++ b/js/bin/asjsc
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$FLEX_HOME/frameworks/js/libs/js.swc" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asjsc.bat
----------------------------------------------------------------------
diff --git a/js/bin/asjsc.bat b/js/bin/asjsc.bat
index 127ccaa..0df6851 100644
--- a/js/bin/asjsc.bat
+++ b/js/bin/asjsc.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\frameworks\js\libs\js.swc" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asjscompc
----------------------------------------------------------------------
diff --git a/js/bin/asjscompc b/js/bin/asjscompc
index 8ea2398..35b8e7a 100755
--- a/js/bin/asjscompc
+++ b/js/bin/asjscompc
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$FLEX_HOME/frameworks/js/libs/js.swc" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asjscompc.bat
----------------------------------------------------------------------
diff --git a/js/bin/asjscompc.bat b/js/bin/asjscompc.bat
index d9333fc..a9ea897 100644
--- a/js/bin/asjscompc.bat
+++ b/js/bin/asjscompc.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\frameworks\js\libs\js.swc" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asnodec
----------------------------------------------------------------------
diff --git a/js/bin/asnodec b/js/bin/asnodec
index 5bf0b5e..78497b1 100755
--- a/js/bin/asnodec
+++ b/js/bin/asnodec
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=node -external-library-path="$FLEX_HOME/frameworks/js/libs/js.swc" -external-library-path="$FLEX_HOME/frameworks/js/libs/node.swc" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=node -external-library-path="$SCRIPT_HOME/../libs/js.swc" -external-library-path="$SCRIPT_HOME/../libs/node.swc" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/asnodec.bat
----------------------------------------------------------------------
diff --git a/js/bin/asnodec.bat b/js/bin/asnodec.bat
index 7f9e93b..67742cf 100644
--- a/js/bin/asnodec.bat
+++ b/js/bin/asnodec.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=node -external-library-path="%FLEX_HOME%\js\libs\js.swc" -external-library-path="%FLEX_HOME%\frameworks\js\libs\node.swc" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=node -external-library-path="%FLEX_HOME%\js\libs\js.swc" -external-library-path="%FLEX_HOME%\js\libs\node.swc" %*
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/jquery
----------------------------------------------------------------------
diff --git a/js/bin/jquery b/js/bin/jquery
index 4b11486..64300b4 100755
--- a/js/bin/jquery
+++ b/js/bin/jquery
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$FLEX_HOME/frameworks/js/libs/js.swc" -external-library-path+="$FLEX_HOME/frameworks/js/libs/jquery.swc" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" -external-library-path+="$SCRIPT_HOME/../libs/jquery.swc" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff7138e2/js/bin/jquery.bat
----------------------------------------------------------------------
diff --git a/js/bin/jquery.bat b/js/bin/jquery.bat
index 3a709bb..e37c5ad 100644
--- a/js/bin/jquery.bat
+++ b/js/bin/jquery.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\frameworks\js\libs\js.swc" -external-library-path+="%FLEX_HOME%\js\libs\jquery.swc" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" -external-library-path+="%FLEX_HOME%\js\libs\jquery.swc" %*
\ No newline at end of file
[22/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Added
settings-template.xml
Posted by ah...@apache.org.
- Added settings-template.xml
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b9c15bb2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b9c15bb2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b9c15bb2
Branch: refs/heads/spark
Commit: b9c15bb24800f2604df58999e2819b17b6c5f603
Parents: 7cda779
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 15:42:09 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
settings-template.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b9c15bb2/settings-template.xml
----------------------------------------------------------------------
diff --git a/settings-template.xml b/settings-template.xml
new file mode 100644
index 0000000..a863de5
--- /dev/null
+++ b/settings-template.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
+ xmlns="http://maven.apache.org/SETTINGS/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <!-- Tell maven to place downloaded files relative to this settings file -->
+ <!--localRepository>.mvn/repository</localRepository-->
+
+ <!-- If you need to use a proxy, comment in this section -->
+ <!--proxies>
+ <proxy>
+ <active>true</active>
+ <protocol>proxy-protocol (http/https)</protocol>
+ <host>proxy-host</host>
+ <port>proxy-port</port>
+ </proxy>
+ </proxies-->
+
+ <!-- Profile that adds the apache snapshot repo to maven -->
+ <profiles>
+ <profile>
+ <id>apache-snapshots-enabled</id>
+ <!--Enable snapshots for the built in central repo and plugin repo -->
+ <repositories>
+ <repository>
+ <id>apache-snapshots</id>
+ <url>http://repository.apache.org/snapshots/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache-snapshots</id>
+ <url>http://repository.apache.org/snapshots/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+ <!-- Activate the apache-snapshots-enabled profile -->
+ <activeProfiles>
+ <activeProfile>apache-snapshots-enabled</activeProfile>
+ </activeProfiles>
+</settings>
\ No newline at end of file
[21/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Replaced the release repo with the real one.
Posted by ah...@apache.org.
- Replaced the release repo with the real one.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b826f892
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b826f892
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b826f892
Branch: refs/heads/spark
Commit: b826f8929533c34d72c00af7eeb14734a8908a1a
Parents: e6bad32
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 14:04:54 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b826f892/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 750ffef..046b8a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
<repositories>
<repository>
<id>flex-release</id>
- <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+ <url>https://repository.apache.org/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
[45/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - more
attempts to get Application and Label to compile
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/controls/scrollClasses/ScrollBar.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/controls/scrollClasses/ScrollBar.as b/frameworks/projects/MX/src/main/flex/mx/controls/scrollClasses/ScrollBar.as
deleted file mode 100644
index 29c5ab1..0000000
--- a/frameworks/projects/MX/src/main/flex/mx/controls/scrollClasses/ScrollBar.as
+++ /dev/null
@@ -1,1719 +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 mx.controls.scrollClasses
-{
-
-COMPILE::AS3
-{
- import flash.display.DisplayObject;
- import flash.events.Event;
- import flash.events.EventDispatcher;
- import flash.events.MouseEvent;
- import flash.events.TimerEvent;
- import flash.geom.Point;
- import flash.ui.Keyboard;
- import flash.utils.Timer;
-}
-COMPILE::JS
-{
- import flex.display.DisplayObject;
- import flex.events.Event;
- import flex.events.EventDispatcher;
- import flex.events.MouseEvent;
- import flex.events.TimerEvent;
- import flex.geom.Point;
- import flex.ui.Keyboard;
- import flex.utils.Timer;
-}
-
-import mx.controls.Button;
-import mx.core.UIComponent;
-import mx.core.mx_internal;
-import mx.events.FlexEvent;
-COMPILE::LATER
-{
- import mx.events.SandboxMouseEvent;
-}
-import mx.events.ScrollEvent;
-import mx.events.ScrollEventDetail;
-import mx.managers.ISystemManager;
-import mx.styles.ISimpleStyleClient;
-import mx.styles.StyleProxy;
-
-use namespace mx_internal;
-
-//--------------------------------------
-// Styles
-//--------------------------------------
-
-include "../../styles/metadata/SkinStyles.as"
-
-/**
- * Name of the class to use as the default skin for the down arrow button of
- * the scroll bar.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarDownButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="downArrowSkin", type="Class", inherit="no", states="up, over, down, disabled")]
-
-/**
- * Name of the class to use as the skin for the down arrow button of the
- * scroll bar when it is disabled.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarDownButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="downArrowDisabledSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the down arrow button of the
- * scroll bar when you click the arrow button
- * .
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarDownButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="downArrowDownSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the down arrow button of the
- * scroll bar when the mouse pointer is over the arrow button.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarDownButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="downArrowOverSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the down arrow button of
- * the scroll bar.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarDownButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="downArrowUpSkin", type="Class", inherit="no")]
-
-/**
- * Color of any symbol of a component. Examples include the check mark of a CheckBox or
- * the arrow of a ScrollBar button.
- *
- * @default 0x000000
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
-[Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]
-
-/**
- * Name of the class to use as the default skin for the down arrow button of
- * the scroll bar.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollThumbSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarThumbSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbSkin", type="Class", inherit="no", states="up, over, down")]
-
-/**
- * Name of the class to use as the skin for the thumb of the scroll bar
- * when you click the thumb.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollThumbSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarThumbSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbDownSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the icon for the thumb of the scroll bar.
- *
- * @default "undefined"
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbIcon", type="Class", inherit="no")]
-
-/**
- * The number of pixels to offset the scroll thumb from the center of the scroll bar.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbOffset", type="Number", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the thumb of the scroll bar
- * when the mouse pointer is over the thumb.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollThumbSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarThumbSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbOverSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the thumb of the scroll bar.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollThumbSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarThumbSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="thumbUpSkin", type="Class", inherit="no")]
-
-/**
- * The colors of the track, as an array of two colors.
- * You can use the same color twice for a solid track color.
- *
- * @default [0x94999b, 0xe7e7e7]
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackColors", type="Array", arrayType="uint", format="Color", inherit="no", theme="halo")]
-
-
-/**
- * Name of the class to use as the default skin for the track of the scroll bar.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollTrackSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.ScrollBarTrackSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the track of the scroll bar
- * when the scroll bar is disabled.
- *
- * @default undefined
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackDisabledSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the track of the scroll bar
- * when you click on the track.
- *
- * @default undefined
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackDownSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the track of the scroll bar
- * when the mouse pointer is over the scroll bar.
- *
- * @default undefined
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackOverSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the track of the scroll bar.
- *
- * @default undefined
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="trackUpSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the default skin for the up arrow button of the scroll bar.
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.mx.skins.spark.ScrollBarUpButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="upArrowSkin", type="Class", inherit="no", states="up, over, down, disabled")]
-
-/**
- * Name of the class to use as the skin for the up arrow button of the scroll bar
- * when it is disabled.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.mx.skins.spark.ScrollBarUpButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="upArrowDisabledSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the up arrow button of the scroll bar
- * when you click the arrow button.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.mx.skins.spark.ScrollBarUpButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="upArrowDownSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the up arrow button of the scroll bar
- * when the mouse pointer is over the arrow button.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.mx.skins.spark.ScrollBarUpButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="upArrowOverSkin", type="Class", inherit="no")]
-
-/**
- * Name of the class to use as the skin for the up arrow button of the
- * scroll bar.
- *
- * <p>If you change the skin, either graphically or programmatically,
- * you should ensure that the new skin is the same height
- * (for horizontal ScrollBars) or width (for vertical ScrollBars) as the track.</p>
- *
- * <p>The default skin class is based on the theme. For example, with the Halo theme,
- * the default skin class is <code>mx.skins.halo.ScrollArrowSkin</code>. For the Spark theme, the default skin
- * class is <code>mx.skins.spark.mx.skins.spark.ScrollBarUpButtonSkin</code>.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-[Style(name="upArrowUpSkin", type="Class", inherit="no")]
-
-//--------------------------------------
-// Excluded APIs
-//--------------------------------------
-
-[Exclude(name="doubleClickEnabled", kind="property")]
-
-[Exclude(name="errorColor", kind="style")]
-[Exclude(name="focusBlendMode", kind="style")]
-[Exclude(name="focusSkin", kind="style")]
-[Exclude(name="focusThickness", kind="style")]
-
-/**
- * The ScrollBar class is the base class for the HScrollBar and VScrollBar
- * controls.
- * A ScrollBar consists of two arrow buttons, a track between them,
- * and a variable-size scroll thumb. The scroll thumb can move by
- * clicking on either of the two arrow buttons, dragging the scroll thumb
- * along the track, or clicking on the track.
- *
- * <p>The width of a scroll bar is equal to the largest width of its subcomponents
- * (up arrow, down arrow, thumb, and track).
- * Every subcomponent is centered in the scroll bar.</p>
- *
- * @mxml
- *
- * <p>The <code><mx:ScrollBar></code> tag inherits all of the tag attributes
- * of its superclass, and adds the following tag attributes:</p>
- *
- * <pre>
- * <mx:ScrollBar
- * <strong>Properties</strong>
- * direction="vertical|horizontal"
- * lineScrollSize="1"
- * maxScrollPosition="0"
- * minScrollPosition="0"
- * pageScrollSize="<i>Reset to the pageSize parameter of setScrollProperties</i>"
- * pageSize="0"
- * scrollPosition="0"
- *
- * <strong>Styles</strong>
- * borderColor="0xB7BABC"
- * cornerRadius="0"
- * disabledIconColor="0x999999"
- * downArrowDisabledSkin="mx.skins.halo.ScrollArrowSkin"
- * downArrowDownSkin="mx.skins.halo.ScrollArrowSkin"
- * downArrowOverSkin="mx.skins.halo.ScrollArrowSkin"
- * downArrowUpSkin="mx.skins.halo.ScrollArrowSkin"
- * fillAlphas="[0.6, 0.4]"
- * fillColors="[0xFFFFFF, 0xCCCCCC]"
- * highlightAlphas="[0.3, 0.0]"
- * iconColor="0x111111"
- * thumbDownSkin="mx.skins.halo.ScrollThumbSkin"
- * thumbIcon="undefined"
- * thumbOffset="0"
- * thumbOverSkin="mx.skins.halo.ScrollThumbSkin"
- * thumbUpSkin="mx.skins.halo.ScrollThumbSkin"
- * trackColors="[0x94999b, 0xe7e7e7]"
- * trackSkin="mx.skins.halo.ScrollTrackSkin"
- * upArrowDisabledSkin="mx.skins.halo.ScrollArrowSkin"
- * upArrowDownSkin="mx.skins.halo.ScrollArrowSkin"
- * upArrowOverSkin="mx.skins.halo.ScrollArrowSkin"
- * upArrowUpSkin="mx.skins.halo.ScrollArrowSkin"
- * />
- * </pre>
- *
- * @see mx.controls.HScrollBar
- * @see mx.controls.VScrollBar
- * @see mx.controls.Button
- * @see mx.controls.scrollClasses.ScrollThumb
- *
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-public class ScrollBar extends UIComponent
-{
- include "../../core/Version.as";
-
- //--------------------------------------------------------------------------
- //
- // Class constants
- //
- //--------------------------------------------------------------------------
-
- /**
- * The width of a vertical scrollbar, or the height of a horizontal
- * scrollbar, in pixels.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const THICKNESS:Number = 16;
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function ScrollBar()
- {
- super();
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * The up arrow button.
- */
- mx_internal var upArrow:Button;
-
- /**
- * @private
- * The down arrow button.
- */
- mx_internal var downArrow:Button;
-
- /**
- * @private
- * The scroll track
- */
- mx_internal var scrollTrack:Button;
-
- /**
- * @private
- * The scroll thumb
- */
- mx_internal var scrollThumb:ScrollThumb;
-
- /**
- * @private
- * Used to keep track of minimums because of the orientation change.
- */
- mx_internal var _minWidth:Number = 16;
-
- /**
- * @private
- */
- mx_internal var _minHeight:Number = 32;
-
- /**
- * @private
- * true if servicing a scroll event.
- */
- mx_internal var isScrolling:Boolean;
-
- /**
- * @private
- * Timer used to autoscroll when holding the mouse down on the track.
- */
- private var trackScrollTimer:Timer;
-
- /**
- * @private
- * The direction we're going when in track scroll repeat.
- */
- private var trackScrollRepeatDirection:int;
-
- /**
- * @private
- * The direction we're going when in track scroll repeat.
- */
- private var trackScrolling:Boolean = false;
-
- /**
- * @private
- * Where the mouse is on the track.
- */
- private var trackPosition:Number;
-
- /**
- * @private
- * Old position, used to compute deltas when button presses are auto
- * repeated
- */
- mx_internal var oldPosition:Number;
-
- //--------------------------------------------------------------------------
- //
- // Overridden properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // doubleClickEnabled
- //----------------------------------
-
- /**
- * @private
- * Scrollbars cannot be doubleClickEnabled.
- * It messes up fast clicking on its buttons.
- */
- override public function set doubleClickEnabled(value:Boolean):void
- {
- }
-
- //----------------------------------
- // enabled
- //----------------------------------
-
- /**
- * @private
- * Turn off buttons, or turn on buttons and resync thumb.
- */
- override public function set enabled(value:Boolean):void
- {
- super.enabled = value;
-
- invalidateDisplayList();
- }
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // direction
- //----------------------------------
-
- /**
- * @private
- * Storage for the direction property.
- */
- private var _direction:String = ScrollBarDirection.VERTICAL;
-
- [Bindable("directionChanged")]
- [Inspectable(category="General", enumeration="vertical,horizontal", defaultValue="vertical")]
-
- /**
- * Specifies whether the ScrollBar is for horizontal or vertical scrolling.
- * Valid values in MXML are <code>"vertical"</code> and <code>"horizontal"</code>.
- *
- * <p>In ActionScript, you use the following constants
- * to set this property:
- * <code>ScrollBarDirection.VERTICAL</code> and
- * <code>ScrollBarDirection.HORIZONTAL</code>.</p>
- *
- * @default ScrollBarDirection.VERTICAL
- *
- * @see mx.controls.scrollClasses.ScrollBarDirection
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get direction():String
- {
- return _direction;
- }
-
- /**
- * @private
- */
- public function set direction(value:String):void
- {
- _direction = value;
-
- invalidateSize();
- invalidateDisplayList();
-
- dispatchEvent(new Event("directionChanged"));
- }
-
- //----------------------------------
- // downArrowStyleFilters
- //----------------------------------
-
- /**
- * Set of styles to pass from the ScrollBar to the down arrow.
- * @see mx.styles.StyleProxy
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected function get downArrowStyleFilters():Object
- {
- return null;
- }
-
- //----------------------------------
- // lineMinusDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- */
- mx_internal function get lineMinusDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.LINE_UP :
- ScrollEventDetail.LINE_LEFT;
- }
-
- //----------------------------------
- // linePlusDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- */
- mx_internal function get linePlusDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.LINE_DOWN :
- ScrollEventDetail.LINE_RIGHT;
- }
-
- //----------------------------------
- // lineScrollSize
- //----------------------------------
-
- /**
- * @private
- * Storage for the lineScrollSize property.
- */
- private var _lineScrollSize:Number = 1;
-
- [Inspectable(category="Other", defaultValue="1")]
-
- /**
- * Amount to scroll when an arrow button is pressed, in pixels.
- *
- * @default 1
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get lineScrollSize():Number
- {
- return _lineScrollSize;
- }
-
- /**
- * @private
- */
- public function set lineScrollSize(value:Number):void
- {
- _lineScrollSize = value;
- }
-
- //----------------------------------
- // maxDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- */
- private function get maxDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.AT_BOTTOM :
- ScrollEventDetail.AT_RIGHT;
- }
-
- //----------------------------------
- // maxScrollPosition
- //----------------------------------
-
- /**
- * @private
- * Storage for the maxScrollPosition property.
- */
- private var _maxScrollPosition:Number = 0;
-
- [Inspectable(category="Other", defaultValue="0")]
-
- /**
- * Number which represents the maximum scroll position.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get maxScrollPosition():Number
- {
- return _maxScrollPosition;
- }
-
- /**
- * @private
- */
- public function set maxScrollPosition(value:Number):void
- {
- _maxScrollPosition = value;
- invalidateDisplayList();
- }
-
- //----------------------------------
- // minDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- */
- private function get minDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.AT_TOP :
- ScrollEventDetail.AT_LEFT;
- }
-
- //----------------------------------
- // minScrollPosition
- //----------------------------------
-
- /**
- * @private
- * Storage for the minScrollPosition property.
- */
- private var _minScrollPosition:Number = 0;
-
- [Inspectable(category="Other", defaultValue="0")]
-
- /**
- * Number that represents the minimum scroll position.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get minScrollPosition():Number
- {
- return _minScrollPosition;
- }
-
- /**
- * @private
- */
- public function set minScrollPosition(value:Number):void
- {
- _minScrollPosition = value;
- invalidateDisplayList();
- }
-
- //----------------------------------
- // pageMinusDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- */
- mx_internal function get pageMinusDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.PAGE_UP :
- ScrollEventDetail.PAGE_LEFT;
- }
-
- //----------------------------------
- // pagePlusDetail
- //----------------------------------
-
- /**
- * @private
- * String used to set the detail property of a ScrollEvent.
- * Can be <code>ScrollEventDetail.PAGE_RIGHT</code> or
- * <code>ScrollEventDetail.PAGE_DOWN</code>.
- */
- mx_internal function get pagePlusDetail():String
- {
- return direction == ScrollBarDirection.VERTICAL ?
- ScrollEventDetail.PAGE_DOWN :
- ScrollEventDetail.PAGE_RIGHT;
- }
-
- //----------------------------------
- // pageSize
- //----------------------------------
-
- /**
- * @private
- * Storage for the pageSize property.
- */
- private var _pageSize:Number = 0;
-
- [Inspectable(category="Other", defaultValue="0")]
-
- /**
- * The number of lines equivalent to one page.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get pageSize():Number
- {
- return _pageSize;
- }
-
- /**
- * @private
- */
- public function set pageSize(value:Number):void
- {
- _pageSize = value;
- }
-
- //----------------------------------
- // pageScrollSize
- //----------------------------------
-
- /**
- * @private
- * Storage for the pageScrollSize property.l
- */
- private var _pageScrollSize:Number = 0;
-
- [Inspectable(category="Other", defaultValue="0")]
-
- /**
- * Amount to move the scroll thumb when the scroll bar
- * track is pressed, in pixels.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get pageScrollSize():Number
- {
- return _pageScrollSize;
- }
-
- /**
- * @private
- */
- public function set pageScrollSize(value:Number):void
- {
- _pageScrollSize = value;
- }
-
- //----------------------------------
- // scrollPosition
- //----------------------------------
-
- /**
- * @private
- * Storage for the scrollPosition property.
- */
- private var _scrollPosition:Number = 0;
-
- [Inspectable(category="Other", defaultValue="0")]
-
- /**
- * Number that represents the current scroll position.
- *
- * The value is between <code>minScrollPosition</code> and
- * <code>maxScrollPosition</code> inclusively.
- *
- * @default 0
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get scrollPosition():Number
- {
- return _scrollPosition;
- }
-
- /**
- * @private
- */
- public function set scrollPosition(value:Number):void
- {
- _scrollPosition = value;
-
- if (scrollThumb)
- {
- // Turn on bitmap caching whenever we start scrolling. Turn it
- // off whenever we resize the scrollbar (because caching hurts
- // performance during a resize animation)
- if (!cacheAsBitmap)
- cacheHeuristic = scrollThumb.cacheHeuristic = true;
-
- if (!isScrolling)
- {
- // Update thumb.
- value = Math.min(value, maxScrollPosition);
- value = Math.max(value, minScrollPosition);
-
- var denom:Number = maxScrollPosition - minScrollPosition;
- var y:Number = (denom == 0 || isNaN(denom)) ? 0 :
- ((value - minScrollPosition) * (trackHeight - scrollThumb.height) /
- (denom)) + trackY;
-
- var x:Number = (virtualWidth - scrollThumb.width) / 2 + getStyle("thumbOffset");
- scrollThumb.move(Math.round(x), Math.round(y));
- }
- }
- }
-
- //----------------------------------
- // thumbStyleFilters
- //----------------------------------
-
- /**
- * Set of styles to pass from the ScrollBar to the thumb.
- * @see mx.styles.StyleProxy
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected function get thumbStyleFilters():Object
- {
- return null;
- }
-
- //----------------------------------
- // trackHeight
- //----------------------------------
-
- /**
- * @private
- */
- private function get trackHeight():Number
- {
- return virtualHeight -
- (upArrow.getExplicitOrMeasuredHeight() +
- downArrow.getExplicitOrMeasuredHeight());
- }
-
- //----------------------------------
- // trackY
- //----------------------------------
-
- /**
- * @private
- */
- private function get trackY():Number
- {
- return upArrow.getExplicitOrMeasuredHeight();
- }
-
- //----------------------------------
- // upArrowStyleFilters
- //----------------------------------
-
- /**
- * Set of styles to pass from the ScrollBar to the up arrow.
- * @see mx.styles.StyleProxy
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected function get upArrowStyleFilters():Object
- {
- return null;
- }
-
- //----------------------------------
- // virtualHeight
- //----------------------------------
-
- /**
- * @private
- * For internal use only.
- * Used by horizontal bar to deal with rotation.
- */
- mx_internal function get virtualHeight():Number
- {
- return unscaledHeight;
- }
-
- //----------------------------------
- // virtualWidth
- //----------------------------------
-
- /**
- * @private
- * For internal use only.
- * Used by horizontal bar to deal with rotation.
- */
- mx_internal function get virtualWidth():Number
- {
- return unscaledWidth;
- }
- //--------------------------------------------------------------------------
- //
- // Overridden methods: UIComponent
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * Create child objects.
- */
- override protected function createChildren():void
- {
- super.createChildren();
-
- // Create the scroll track.
- if (!scrollTrack)
- {
- scrollTrack = new Button();
- scrollTrack.focusEnabled = false;
- scrollTrack.tabEnabled = false;
- scrollTrack.skinName = "trackSkin";
- scrollTrack.upSkinName = "trackUpSkin";
- scrollTrack.overSkinName = "trackOverSkin";
- scrollTrack.downSkinName = "trackDownSkin";
- scrollTrack.disabledSkinName = "trackDisabledSkin";
-
- if (scrollTrack is ISimpleStyleClient)
- ISimpleStyleClient(scrollTrack).styleName = this;
-
- addChild(scrollTrack);
-
- scrollTrack.validateProperties();
- }
-
- // Create the up-arrow button, layered above the track.
- if (!upArrow)
- {
- upArrow = new Button();
-
- // It will get enabled later in setScrollProperties().
- upArrow.enabled = false;
-
- // Holding it down will cause continuous scrolling.
- upArrow.autoRepeat = true;
-
- upArrow.focusEnabled = false;
- upArrow.tabEnabled = false;
-
- // This button is a 4-state Button
- // that by default uses the ScrollArrowSkin.
- upArrow.upSkinName = "upArrowUpSkin";
- upArrow.overSkinName = "upArrowOverSkin";
- upArrow.downSkinName = "upArrowDownSkin";
- upArrow.disabledSkinName = "upArrowDisabledSkin";
- upArrow.skinName = "upArrowSkin";
- upArrow.upIconName = "";
- upArrow.overIconName = "";
- upArrow.downIconName = "";
- upArrow.disabledIconName = "";
-
- addChild(upArrow);
-
- upArrow.styleName = new StyleProxy(this, upArrowStyleFilters);
-
- upArrow.validateProperties();
- upArrow.addEventListener(FlexEvent.BUTTON_DOWN, upArrow_buttonDownHandler);
- }
-
- // Create the down-arrow button, layered above the track.
- if (!downArrow)
- {
- downArrow = new Button();
-
- // It will get enabled later in setScrollProperties().
- downArrow.enabled = false;
-
- // Holding it down will cause continuous scrolling.
- downArrow.autoRepeat = true;
-
- downArrow.focusEnabled = false;
- downArrow.tabEnabled = false;
-
- // This button is a 4-state Button
- // that by default uses the ScrollArrowSkin.
- downArrow.upSkinName = "downArrowUpSkin";
- downArrow.overSkinName = "downArrowOverSkin";
- downArrow.downSkinName = "downArrowDownSkin";
- downArrow.disabledSkinName = "downArrowDisabledSkin";
- downArrow.skinName = "downArrowSkin";
- downArrow.upIconName = "";
- downArrow.overIconName = "";
- downArrow.downIconName = "";
- downArrow.disabledIconName = "";
-
- addChild(downArrow);
-
- downArrow.styleName = new StyleProxy(this, downArrowStyleFilters);
-
- downArrow.validateProperties();
- downArrow.addEventListener(FlexEvent.BUTTON_DOWN, downArrow_buttonDownHandler);
- }
- }
-
- /**
- * @private
- * Determine our min width/height based on the up and down
- * arrow sizes.
- */
- override protected function measure():void
- {
- super.measure();
-
- //make sure arrows have required values
- upArrow.validateSize();
- downArrow.validateSize();
- scrollTrack.validateSize();
-
- _minWidth = scrollThumb ? scrollThumb.getExplicitOrMeasuredWidth() : 0;
- _minWidth = Math.max(scrollTrack.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredWidth(),
- downArrow.getExplicitOrMeasuredWidth(), _minWidth);
- _minHeight = upArrow.getExplicitOrMeasuredHeight() +
- downArrow.getExplicitOrMeasuredHeight();
- }
-
- /**
- * @private
- * Size changed so re-position everything.
- */
- override protected function updateDisplayList(unscaledWidth:Number,
- unscaledHeight:Number):void
- {
- if ($height == 1)
- return;
-
- if (!upArrow)
- return;
-
- super.updateDisplayList(unscaledWidth, unscaledHeight);
-
- // Turn on bitmap caching whenever we start scrolling. Turn it
- // off whenever we resize the scrollbar (because caching hurts
- // performance during a resize animation)
- if (cacheAsBitmap)
- {
- cacheHeuristic = false;
- if (scrollThumb)
- scrollThumb.cacheHeuristic = false;
- }
-
- upArrow.setActualSize(upArrow.getExplicitOrMeasuredWidth(),
- upArrow.getExplicitOrMeasuredHeight());
- upArrow.move((virtualWidth - upArrow.width) / 2, 0);
-
- scrollTrack.setActualSize(scrollTrack.getExplicitOrMeasuredWidth(), virtualHeight);
-
- scrollTrack.x = (virtualWidth - scrollTrack.width) / 2;
- scrollTrack.y = 0;
-
- downArrow.setActualSize(downArrow.getExplicitOrMeasuredWidth(),
- downArrow.getExplicitOrMeasuredHeight());
- downArrow.move((virtualWidth - downArrow.width) / 2,
- virtualHeight - downArrow.getExplicitOrMeasuredHeight());
-
-
- setScrollProperties(pageSize, minScrollPosition,
- maxScrollPosition, _pageScrollSize);
-
- // Reset thumb position.
- scrollPosition = _scrollPosition;
- }
-
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * Sets the range and viewport size of the ScrollBar control.
- *
- * The ScrollBar control updates the state of the arrow buttons and
- * size of the scroll thumb accordingly.
- *
- * @param pageSize Number which represents the size of one page.
- *
- * @param minScrollPosition Number which represents the bottom of the
- * scrolling range.
- *
- * @param maxScrollPosition Number which represents the top of the
- * scrolling range.
- *
- * @param pageScrollSize Number which represents the increment to move when
- * the scroll track is pressed.
- *
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function setScrollProperties(pageSize:Number,
- minScrollPosition:Number,
- maxScrollPosition:Number,
- pageScrollSize:Number = 0):void
- {
- var thumbHeight:Number;
-
- this.pageSize = pageSize;
-
- _pageScrollSize = (pageScrollSize > 0) ? pageScrollSize : pageSize;
-
- this.minScrollPosition = Math.max(minScrollPosition, 0);
- this.maxScrollPosition = Math.max(maxScrollPosition, 0);
-
- _scrollPosition = Math.max(this.minScrollPosition, _scrollPosition);
- _scrollPosition = Math.min(this.maxScrollPosition, _scrollPosition);
-
- // If the ScrollBar is enabled and has a nonzero range ...
- if (this.maxScrollPosition - this.minScrollPosition > 0 && enabled)
- {
- upArrow.enabled = true;
- downArrow.enabled = true;
- scrollTrack.enabled = true;
-
- addEventListener(MouseEvent.MOUSE_DOWN,
- scrollTrack_mouseDownHandler);
- addEventListener(MouseEvent.MOUSE_OVER,
- scrollTrack_mouseOverHandler);
- addEventListener(MouseEvent.MOUSE_OUT,
- scrollTrack_mouseOutHandler);
-
- if (!scrollThumb)
- {
- scrollThumb = new ScrollThumb();
-
- scrollThumb.focusEnabled = false;
- scrollThumb.tabEnabled = false;
-
- // Add the thumb above the up arrow but below the down arrow
- addChildAt(scrollThumb, getChildIndex(downArrow));
-
- scrollThumb.styleName = new StyleProxy(this, thumbStyleFilters);
-
- // This button is a 4-state Button
- // that by default uses the ScrollThumbSkin.
- scrollThumb.upSkinName = "thumbUpSkin";
- scrollThumb.overSkinName = "thumbOverSkin";
- scrollThumb.downSkinName = "thumbDownSkin";
- scrollThumb.iconName = "thumbIcon";
- scrollThumb.skinName = "thumbSkin";
- }
-
- thumbHeight = trackHeight < 0 ? 0 : Math.round(
- pageSize /
- (this.maxScrollPosition - this.minScrollPosition + pageSize) *
- trackHeight);
-
- if (thumbHeight < scrollThumb.minHeight)
- {
- if (trackHeight < scrollThumb.minHeight)
- {
- scrollThumb.visible = false;
- }
- else
- {
- thumbHeight = scrollThumb.minHeight;
- scrollThumb.visible = true;
- scrollThumb.setActualSize(scrollThumb.measuredWidth, scrollThumb.minHeight);
- }
- }
- else
- {
- scrollThumb.visible = true;
- scrollThumb.setActualSize(scrollThumb.measuredWidth, thumbHeight);
- }
-
- scrollThumb.setRange(upArrow.getExplicitOrMeasuredHeight() + 0,
- virtualHeight -
- downArrow.getExplicitOrMeasuredHeight() -
- scrollThumb.height,
- this.minScrollPosition,
- this.maxScrollPosition);
-
- scrollPosition = Math.max(Math.min(scrollPosition, this.maxScrollPosition), this.minScrollPosition);
- }
- else
- {
- upArrow.enabled = false;
- downArrow.enabled = false;
- scrollTrack.enabled = false;
-
- if (scrollThumb)
- scrollThumb.visible = false;
- }
- }
-
- /**
- * @private
- */
- mx_internal function lineScroll(direction:int):void
- {
- var delta:Number = _lineScrollSize;
-
- var newPos:Number = _scrollPosition + direction * delta;
- if (newPos > maxScrollPosition)
- newPos = maxScrollPosition;
- else if (newPos < minScrollPosition)
- newPos = minScrollPosition;
-
- if (newPos != scrollPosition)
- {
- var oldPosition:Number = scrollPosition;
- scrollPosition = newPos;
- var detail:String = direction < 0 ? lineMinusDetail : linePlusDetail;
- dispatchScrollEvent(oldPosition, detail);
- }
- }
-
- /**
- * @private
- */
- mx_internal function pageScroll(direction:int):void
- {
- var delta:Number = _pageScrollSize != 0 ? _pageScrollSize : pageSize;
-
- var newPos:Number = _scrollPosition + direction * delta;
- if (newPos > maxScrollPosition)
- newPos = maxScrollPosition;
- else if (newPos < minScrollPosition)
- newPos = minScrollPosition;
-
- if (newPos != scrollPosition)
- {
- var oldPosition:Number = scrollPosition;
- scrollPosition = newPos;
- var detail:String = direction < 0 ? pageMinusDetail : pagePlusDetail;
- dispatchScrollEvent(oldPosition, detail);
- }
- }
-
- /**
- * @private
- * Dispatch a scroll event.
- */
- mx_internal function dispatchScrollEvent(oldPosition:Number,
- detail:String):void
- {
- var event:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL);
- event.detail = detail;
- event.position = scrollPosition;
- event.delta = scrollPosition - oldPosition;
- event.direction = direction;
- dispatchEvent(event);
- }
-
- /**
- * @private
- * Returns true if it is a scrollbar key.
- * It will execute the equivalent code for that key as well.
- */
- mx_internal function isScrollBarKey(key:uint):Boolean
- {
- var oldPosition:Number;
-
- if (key == Keyboard.HOME)
- {
- if (scrollPosition != 0)
- {
- oldPosition = scrollPosition;
- scrollPosition = 0;
- dispatchScrollEvent(oldPosition, minDetail);
- }
- return true;
- }
-
- else if (key == Keyboard.END)
- {
- if (scrollPosition < maxScrollPosition)
- {
- oldPosition = scrollPosition;
- scrollPosition = maxScrollPosition;
- dispatchScrollEvent(oldPosition, maxDetail);
- }
- return true;
- }
-
- return false;
- }
-
- //--------------------------------------------------------------------------
- //
- // Event handlers
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * Callback when the up-arrow button is pressed or autorepeated.
- */
- private function upArrow_buttonDownHandler(event:FlexEvent):void
- {
- if (isNaN(oldPosition))
- oldPosition = scrollPosition;
-
- lineScroll(-1);
- }
-
- /**
- * @private
- * Callback when the down-arrow button is pressed or autorepeated.
- */
- private function downArrow_buttonDownHandler(event:FlexEvent):void
- {
- if (isNaN(oldPosition))
- oldPosition = scrollPosition;
-
- lineScroll(1);
- }
-
- /**
- * @private
- * Show the over skin of the scrollTrack if there is one.
- */
- private function scrollTrack_mouseOverHandler(event:MouseEvent):void
- {
- if (!(event.target == this || event.target == scrollTrack) || !enabled)
- return;
-
- if (trackScrolling)
- trackScrollTimer.start();
- }
-
- /**
- * @private
- * Hide the over skin of the scrollTrack.
- */
- private function scrollTrack_mouseOutHandler(event:MouseEvent):void
- {
- if (trackScrolling && enabled)
- trackScrollTimer.stop();
- }
-
- /**
- * @private
- * Set up the repeating events when pressing on the track.
- */
- private function scrollTrack_mouseDownHandler(event:MouseEvent):void
- {
- if (!(event.target == this || event.target == scrollTrack) || !enabled)
- return;
-
- trackScrolling = true;
-
- var sbRoot:DisplayObject = systemManager.getSandboxRoot();
- sbRoot.addEventListener(
- MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true);
- sbRoot.addEventListener(
- MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true);
- COMPILE::LATER
- {
- // in case we go offscreen
- sbRoot.addEventListener(
- SandboxMouseEvent.MOUSE_UP_SOMEWHERE, scrollTrack_mouseLeaveHandler);
- systemManager.deployMouseShields(true);
- }
- var pt:Point = new Point(event.localX, event.localY);
- pt = event.target.localToGlobal(pt);
- pt = globalToLocal(pt);
-
- trackPosition = pt.y;
-
- if (isNaN(oldPosition))
- oldPosition = scrollPosition;
-
- trackScrollRepeatDirection =
- scrollThumb.y + scrollThumb.height < pt.y ? 1 :
- scrollThumb.y > pt.y ? -1 : 0;
- pageScroll(trackScrollRepeatDirection);
-
- if (!trackScrollTimer)
- {
- trackScrollTimer = new Timer(getStyle("repeatDelay"), 1);
- trackScrollTimer.addEventListener(TimerEvent.TIMER, trackScrollTimerHandler);
- }
- else
- {
- trackScrollTimer.delay = getStyle("repeatDelay");
- trackScrollTimer.repeatCount = 1;
- }
-
- trackScrollTimer.start();
- }
-
- /**
- * @private
- * This gets called at certain intervals
- * to repeat the scroll event when pressing the track.
- */
- private function trackScrollTimerHandler(event:Event):void
- {
- if (trackScrollRepeatDirection == 1)
- if (scrollThumb.y + scrollThumb.height > trackPosition)
- return;
-
- if (trackScrollRepeatDirection == -1)
- if (scrollThumb.y < trackPosition)
- return;
-
- pageScroll(trackScrollRepeatDirection);
- if (trackScrollTimer && trackScrollTimer.repeatCount == 1)
- {
- trackScrollTimer.delay = getStyle("repeatInterval");
- trackScrollTimer.repeatCount = 0;
- }
- }
-
- /**
- * @private
- * Stop repeating events because the track is no longer pressed
- * special case to restore focus when we've released the mouse
- */
- private function scrollTrack_mouseUpHandler(event:MouseEvent):void
- {
- scrollTrack_mouseLeaveHandler(event);
- }
- private function scrollTrack_mouseLeaveHandler(event:Event):void
- {
- trackScrolling = false;
-
- var sbRoot:DisplayObject = systemManager.getSandboxRoot();
- sbRoot.removeEventListener(
- MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true);
- sbRoot.removeEventListener(
- MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true);
- // in case we go offscreen
- COMPILE::LATER
- {
- sbRoot.removeEventListener(
- SandboxMouseEvent.MOUSE_UP_SOMEWHERE, scrollTrack_mouseLeaveHandler);
- }
- systemManager.deployMouseShields(false);
-
- if (trackScrollTimer)
- trackScrollTimer.reset();
-
- if (event.target != scrollTrack)
- return;
-
- var detail:String = oldPosition > scrollPosition ?
- pageMinusDetail :
- pagePlusDetail;
- dispatchScrollEvent(oldPosition, detail);
-
- oldPosition = NaN;
- }
-
- /**
- * @private
- * Stop repeating events because the track is no longer pressed
- * special case to restore focus when we've released the mouse
- */
- private function scrollTrack_mouseMoveHandler(event:MouseEvent):void
- {
- if (trackScrolling)
- {
- var pt:Point = new Point(event.stageX, event.stageY);
- pt = globalToLocal(pt);
- trackPosition = pt.y;
- }
- }
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/Application.as b/frameworks/projects/MX/src/main/flex/mx/core/Application.as
index ec69d69..57cd9ec 100644
--- a/frameworks/projects/MX/src/main/flex/mx/core/Application.as
+++ b/frameworks/projects/MX/src/main/flex/mx/core/Application.as
@@ -1048,9 +1048,17 @@ public class Application extends LayoutContainer
var sm:ISystemManager = systemManager;
- _url = LoaderUtil.normalizeURL(sm.loaderInfo);
- _parameters = sm.loaderInfo.parameters;
-
+ COMPILE::AS3
+ {
+ _url = LoaderUtil.normalizeURL(root.loaderInfo);
+ _parameters = root.loaderInfo.parameters;
+ }
+ COMPILE::JS
+ {
+ _url = LoaderUtil.normalizeURL(window.location.href);
+ _parameters = makeParameters(window.location.search);
+ }
+
initManagers(sm);
_descriptor = null;
@@ -1205,6 +1213,8 @@ public class Application extends LayoutContainer
objData.width = width;
objData.height = height;
+ COMPILE::LATER
+ {
objData.verticalScrollPosition = verticalScrollPosition;
objData.horizontalScrollPosition = horizontalScrollPosition;
@@ -1223,7 +1233,7 @@ public class Application extends LayoutContainer
if (verticalScrollBar)
verticalScrollBar.visible = false;
-
+ }
if (whiteBox)
whiteBox.visible = false;
@@ -1247,6 +1257,8 @@ public class Application extends LayoutContainer
{
setActualSize(obj.width, obj.height);
+ COMPILE::LATER
+ {
if (horizontalScrollBar)
horizontalScrollBar.visible = obj.horizontalScrollBarVisible;
if (verticalScrollBar)
@@ -1257,7 +1269,7 @@ public class Application extends LayoutContainer
horizontalScrollPosition = obj.horizontalScrollPosition;
verticalScrollPosition = obj.verticalScrollPosition;
-
+ }
updateDisplayList(unscaledWidth, unscaledHeight);
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/Container.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/Container.as b/frameworks/projects/MX/src/main/flex/mx/core/Container.as
index fe02073..86dab78 100644
--- a/frameworks/projects/MX/src/main/flex/mx/core/Container.as
+++ b/frameworks/projects/MX/src/main/flex/mx/core/Container.as
@@ -28,12 +28,8 @@ COMPILE::AS3
import flash.display.InteractiveObject;
import flash.display.Loader;
import flash.display.Shape;
- import flash.display.Sprite;
import flash.events.Event;
- import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
- import flash.geom.Point;
- import flash.geom.Rectangle;
import flash.text.TextField;
import flash.text.TextLineMetrics;
import flash.ui.Keyboard;
@@ -46,16 +42,17 @@ COMPILE::JS
import flex.display.InteractiveObject;
import flex.display.Loader;
import flex.display.Shape;
- import flex.display.Sprite;
import flex.events.Event;
- import flex.events.KeyboardEvent;
import flex.events.MouseEvent;
- import flex.geom.Point;
- import flex.geom.Rectangle;
import flex.text.TextField;
import flex.text.TextLineMetrics;
import flex.ui.Keyboard;
}
+import flex.display.Sprite;
+import org.apache.flex.geom.Point;
+import org.apache.flex.geom.Rectangle;
+import org.apache.flex.utils.PointUtils;
+import mx.events.KeyboardEvent;
import flex.system.DefinitionManager;
import org.apache.flex.reflection.getDefinitionByName;
@@ -529,7 +526,11 @@ public class Container extends UIComponent
mx_internal function getLayoutChildAt(index:int):IUIComponent
{
+ COMPILE::LATER
+ {
return PostScaleAdapter.getCompatibleIUIComponent(getChildAt(index));
+ }
+ return getChildAt(index) as IUIComponent;
}
//--------------------------------------------------------------------------
@@ -832,12 +833,15 @@ public class Container extends UIComponent
{
super.enabled = value;
+ COMPILE::LATER
+ {
// Scrollbars must be enabled/disabled when this container is.
if (horizontalScrollBar)
horizontalScrollBar.enabled = value;
if (verticalScrollBar)
verticalScrollBar.enabled = value;
-
+ }
+
invalidateProperties();
if (border && border is IInvalidating)
@@ -1570,6 +1574,7 @@ public class Container extends UIComponent
* @private
* The horizontal scrollbar (null if not present).
*/
+ COMPILE::LATER
private var _horizontalScrollBar:ScrollBar;
/**
@@ -1586,6 +1591,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get horizontalScrollBar():ScrollBar
{
return _horizontalScrollBar;
@@ -1594,6 +1600,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set horizontalScrollBar(value:ScrollBar):void
{
_horizontalScrollBar = value;
@@ -1607,6 +1614,7 @@ public class Container extends UIComponent
* @private
* Storage for the horizontalScrollPosition property.
*/
+ COMPILE::LATER
private var _horizontalScrollPosition:Number = 0;
[Bindable("scroll")]
@@ -1626,6 +1634,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get horizontalScrollPosition():Number
{
if (!isNaN(horizontalScrollPositionPending))
@@ -1636,6 +1645,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set horizontalScrollPosition(value:Number):void
{
if (_horizontalScrollPosition == value)
@@ -1668,6 +1678,7 @@ public class Container extends UIComponent
* @private
* Storage for the horizontalScrollPolicy property.
*/
+ COMPILE::LATER
mx_internal var _horizontalScrollPolicy:String = ScrollPolicy.AUTO;
[Bindable("horizontalScrollPolicyChanged")]
@@ -1704,6 +1715,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get horizontalScrollPolicy():String
{
return _horizontalScrollPolicy;
@@ -1712,6 +1724,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set horizontalScrollPolicy(value:String):void
{
if (_horizontalScrollPolicy != value)
@@ -1835,6 +1848,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get maxHorizontalScrollPosition():Number
{
return horizontalScrollBar ?
@@ -1856,6 +1870,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get maxVerticalScrollPosition():Number
{
return verticalScrollBar ?
@@ -2106,6 +2121,7 @@ public class Container extends UIComponent
* @private
* The vertical scrollbar (null if not present).
*/
+ COMPILE::LATER
private var _verticalScrollBar:ScrollBar;
/**
@@ -2122,6 +2138,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get verticalScrollBar():ScrollBar
{
return _verticalScrollBar;
@@ -2130,6 +2147,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set verticalScrollBar(value:ScrollBar):void
{
_verticalScrollBar = value;
@@ -2143,6 +2161,7 @@ public class Container extends UIComponent
* @private
* Storage for the verticalScrollPosition property.
*/
+ COMPILE::LATER
private var _verticalScrollPosition:Number = 0;
[Bindable("scroll")]
@@ -2162,6 +2181,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get verticalScrollPosition():Number
{
if (!isNaN(verticalScrollPositionPending))
@@ -2173,6 +2193,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set verticalScrollPosition(value:Number):void
{
if (_verticalScrollPosition == value)
@@ -2205,6 +2226,7 @@ public class Container extends UIComponent
* @private
* Storage for the verticalScrollPolicy property.
*/
+ COMPILE::LATER
mx_internal var _verticalScrollPolicy:String = ScrollPolicy.AUTO;
[Bindable("verticalScrollPolicyChanged")]
@@ -2241,6 +2263,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
public function get verticalScrollPolicy():String
{
return _verticalScrollPolicy;
@@ -2249,6 +2272,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
public function set verticalScrollPolicy(value:String):void
{
if (_verticalScrollPolicy != value)
@@ -2312,6 +2336,8 @@ public class Container extends UIComponent
// out our children. That way, children that have a percentage width or
// percentage height will only expand to consume space that's left over
// after leaving room for the scrollbars.
+ COMPILE::LATER
+ {
var verticalScrollBarIncluded:Boolean =
verticalScrollBar != null &&
(doingLayout || verticalScrollPolicy == ScrollPolicy.ON);
@@ -2320,7 +2346,7 @@ public class Container extends UIComponent
(doingLayout || horizontalScrollPolicy == ScrollPolicy.ON);
if (!verticalScrollBarIncluded && !horizontalScrollBarIncluded)
return bm;
-
+ }
// The viewMetrics property needs to return its own object.
// Rather than allocating a new one each time, we'll allocate one once
// and then hold a reference to it.
@@ -2336,11 +2362,13 @@ public class Container extends UIComponent
_viewMetrics.bottom = bm.bottom;
}
+ COMPILE::LATER
+ {
if (verticalScrollBarIncluded)
_viewMetrics.right += verticalScrollBar.minWidth;
if (horizontalScrollBarIncluded)
_viewMetrics.bottom += horizontalScrollBar.minHeight;
-
+ }
return _viewMetrics;
}
@@ -2381,6 +2409,8 @@ public class Container extends UIComponent
// depending on whether we're doing layout or not.
// In that case, we can't use a cached value.
// In all other cases, use the cached value if it exists.
+ COMPILE::LATER
+ {
if (_viewMetricsAndPadding &&
(!horizontalScrollBar ||
horizontalScrollPolicy == ScrollPolicy.ON) &&
@@ -2389,7 +2419,8 @@ public class Container extends UIComponent
{
return _viewMetricsAndPadding;
}
-
+ }
+
if (!_viewMetricsAndPadding)
_viewMetricsAndPadding = new EdgeMetrics();
@@ -2963,22 +2994,9 @@ public class Container extends UIComponent
* @playerversion AIR 1.5
* @productversion Flex 4
*/
- public function get numElements():int
+ override public function getElementAt(index:int):IVisualElement
{
- return numChildren;
- }
-
- /**
- * @inheritDoc
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
- public function getElementAt(index:int):IVisualElement
- {
- return getChildAt(index) as IVisualElement;
+ return super.getElementAt(index) as IVisualElement;
}
/**
@@ -2989,12 +3007,9 @@ public class Container extends UIComponent
* @playerversion AIR 1.5
* @productversion Flex 4
*/
- public function getElementIndex(element:IVisualElement):int
+ override public function getElementIndex(element:IVisualElement):int
{
- if (! (element is DisplayObject) )
- throw ArgumentError(element + " is not found in this Container");
-
- return getChildIndex(element as DisplayObject);
+ return super.getElementIndex(element);
}
/**
@@ -3066,7 +3081,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.5
* @productversion Flex 4
*/
- public function removeAllElements():void
+ override public function removeAllElements():void
{
for (var i:int = numElements - 1; i >= 0; i--)
{
@@ -3174,6 +3189,8 @@ public class Container extends UIComponent
// Create the border/background object.
createBorder();
+ COMPILE::LATER
+ {
// To save ourselves an extra layout pass, check to see
// if the scrollbars will definitely be needed.
// If so, create them now.
@@ -3182,7 +3199,8 @@ public class Container extends UIComponent
verticalScrollPolicy == ScrollPolicy.ON,
horizontalScrollPolicy == ScrollPolicy.ON ||
verticalScrollPolicy == ScrollPolicy.ON);
-
+ }
+
// Determine the child-creation policy (ContainerCreationPolicy.AUTO,
// ContainerCreationPolicy.ALL, or ContainerCreationPolicy.NONE).
// If the author has specified a policy, use it.
@@ -3281,7 +3299,10 @@ public class Container extends UIComponent
changedStyles = null;
}
+ COMPILE::LATER
+ {
createOrDestroyBlocker();
+ }
}
/**
@@ -3305,7 +3326,10 @@ public class Container extends UIComponent
ILayoutManagerClient (child).validateSize(true);
}
}
+ COMPILE::LATER
+ {
adjustSizesForScaleChanges();
+ }
}
else
{
@@ -3365,9 +3389,11 @@ public class Container extends UIComponent
// is resized to be larger, the new max scroll positions
// are reduced and the current scroll positions
// will be invalid unless we clamp them.
+ COMPILE::LATER
+ {
if (clampScrollPositions())
scrollChildren();
-
+ }
if (contentPane)
{
vm = viewMetrics;
@@ -3381,6 +3407,8 @@ public class Container extends UIComponent
effectOverlay.height = unscaledHeight;
}
+ COMPILE::LATER
+ {
// Set the positions and sizes of the scrollbars.
if (horizontalScrollBar || verticalScrollBar)
{
@@ -3436,7 +3464,6 @@ public class Container extends UIComponent
whiteBox.y = horizontalScrollBar.y;
}
}
-
contentPane.x = vm.left;
contentPane.y = vm.top;
@@ -3447,6 +3474,7 @@ public class Container extends UIComponent
}
scrollChildren();
+ }
}
invalidateDisplayListFlag = false;
@@ -3527,6 +3555,8 @@ public class Container extends UIComponent
layoutChrome(unscaledWidth, unscaledHeight);
+ COMPILE::LATER
+ {
if (scrollPositionChanged)
{
clampScrollPositions();
@@ -3594,6 +3624,7 @@ public class Container extends UIComponent
// text anti-aliasing issue with device text on Windows).
contentPane.cacheAsBitmap = (backgroundColor != null);
}
+ }
}
/**
@@ -3607,9 +3638,9 @@ public class Container extends UIComponent
override public function contentToGlobal(point:Point):Point
{
if (contentPane)
- return contentPane.localToGlobal(point);
+ return PointUtils.localToGlobal(point, contentPane);
- return localToGlobal(point);
+ return PointUtils.localToGlobal(point, this);
}
/**
@@ -3623,9 +3654,9 @@ public class Container extends UIComponent
override public function globalToContent(point:Point):Point
{
if (contentPane)
- return contentPane.globalToLocal(point);
+ return PointUtils.globalToLocal(point, contentPane);
- return globalToLocal(point);
+ return PointUtils.globalToLocal(point, this);
}
/**
@@ -3642,7 +3673,7 @@ public class Container extends UIComponent
return point;
point = contentToGlobal(point);
- return globalToLocal(point);
+ return PointUtils.globalToLocal(point, this);
}
/**
@@ -3658,7 +3689,7 @@ public class Container extends UIComponent
if (!contentPane)
return point;
- point = localToGlobal(point);
+ point = PointUtils.localToGlobal(point, this);
return globalToContent(point);
}
@@ -3713,6 +3744,8 @@ public class Container extends UIComponent
invalidateViewMetricsAndPadding();
}
+ COMPILE::LATER
+ {
if (allStyles || styleProp == "horizontalScrollBarStyleName")
{
if (horizontalScrollBar && horizontalScrollBar is ISimpleStyleClient)
@@ -3734,6 +3767,7 @@ public class Container extends UIComponent
verticalScrollBarStyleName;
}
}
+ }
}
/**
@@ -3916,14 +3950,21 @@ public class Container extends UIComponent
*/
override public function prepareToPrint(target:IFlexDisplayObject):Object
{
+ COMPILE::LATER
+ {
var rect:Rectangle = (contentPane && contentPane.scrollRect) ? contentPane.scrollRect : null;
if (rect)
contentPane.scrollRect = null;
-
+ }
+
super.prepareToPrint(target);
+ COMPILE::LATER
+ {
return rect;
+ }
+ return null;
}
/**
@@ -4447,14 +4488,19 @@ public class Container extends UIComponent
// This should be the last step in initializing the child, so that
// it can't be referenced until initialization is complete.
// However, it must be done before executing executeBindings().
+ COMPILE::LATER
+ {
child.createReferenceOnParentDocument(
IFlexDisplayObject(childDescriptor.document));
+ }
if (!child.document)
child.document = childDescriptor.document;
// Repeaters don't get added as children of the Container,
// so they have their own initialization sequence.
+ COMPILE::LATER
+ {
if (child is IRepeater)
{
// Add this repeater to the list maintained by the parent
@@ -4484,6 +4530,19 @@ public class Container extends UIComponent
creationCompleteHandler);
}
}
+ }
+ // This needs to run before child.executeBindings(), because
+ // executeBindings() depends on the parent being set.
+ addChild(DisplayObject(child));
+
+ child.executeBindings();
+
+ if (creationPolicy == ContainerCreationPolicy.QUEUED ||
+ creationPolicy == ContainerCreationPolicy.NONE)
+ {
+ child.addEventListener(FlexEvent.CREATION_COMPLETE,
+ creationCompleteHandler);
+ }
// Return a reference to the child UIComponent that was just created.
return child;
@@ -4900,6 +4959,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
private function createOrDestroyBlocker():void
{
// If this container is being enabled and a blocker exists,
@@ -5015,8 +5075,11 @@ public class Container extends UIComponent
}
else
{
+ COMPILE::LATER
+ {
changed = createOrDestroyScrollbars(false, false, false);
-
+ }
+
// Get scrollableWidth and scrollableHeight for scrollChildren()
bounds = getScrollableRect();
scrollableWidth = bounds.right;
@@ -5052,7 +5115,11 @@ public class Container extends UIComponent
{
if (!IUIComponent(child).includeInLayout)
continue;
+ COMPILE::LATER
+ {
var uic:IUIComponent = PostScaleAdapter.getCompatibleIUIComponent(child);
+ }
+ var uic:IUIComponent = child as IUIComponent;
width = uic.width;
height = uic.height;
x = uic.x;
@@ -5131,19 +5198,27 @@ public class Container extends UIComponent
newScrollableWidth = Math.floor(newScrollableWidth);
newScrollableHeight = Math.floor(newScrollableHeight);
+ COMPILE::LATER
+ {
if (horizontalScrollBar && horizontalScrollPolicy != ScrollPolicy.ON)
newViewableHeight -= horizontalScrollBar.minHeight;
if (verticalScrollBar && verticalScrollPolicy != ScrollPolicy.ON)
newViewableWidth -= verticalScrollBar.minWidth;
-
+ }
+
newViewableWidth -= (vm.left + vm.right);
newViewableHeight -= (vm.top + vm.bottom);
+ COMPILE::LATER
+ {
var needHorizontal:Boolean =
horizontalScrollPolicy == ScrollPolicy.ON;
var needVertical:Boolean =
verticalScrollPolicy == ScrollPolicy.ON;
-
+ }
+
+ COMPILE::LATER
+ {
var needContentPane:Boolean =
needHorizontal ||
needVertical ||
@@ -5151,6 +5226,12 @@ public class Container extends UIComponent
effectOverlay != null ||
vm.left > 0 ||
vm.top > 0;
+ }
+ var needContentPane:Boolean =
+ hasNegativeCoords ||
+ effectOverlay != null ||
+ vm.left > 0 ||
+ vm.top > 0;
// These "if" statements are tuned for the most common case,
// which is that the Container does not need scrollbars.
@@ -5161,25 +5242,33 @@ public class Container extends UIComponent
// Don't display scrollbars if the Container is so small
// that scrollbars would occlude everything else
// or the scrollbar buttons would overlap.
+ COMPILE::LATER
+ {
if (horizontalScrollPolicy == ScrollPolicy.AUTO &&
unscaledHeight - vm.top - vm.bottom >= 18 &&
unscaledWidth - vm.left - vm.right >= 32)
{
needHorizontal = true;
}
+ }
}
if (newViewableHeight < newScrollableHeight)
{
needContentPane = true;
+ COMPILE::LATER
+ {
if (verticalScrollPolicy == ScrollPolicy.AUTO &&
unscaledWidth - vm.left - vm.right >= 18 &&
unscaledHeight - vm.top - vm.bottom >= 32)
{
needVertical = true;
}
+ }
}
+ COMPILE::LATER
+ {
// Fix for 106095. The logic here says "if removing the scrollbars
// would make enough room to display the view's children, then remove
// the scrollbars".
@@ -5210,7 +5299,6 @@ public class Container extends UIComponent
var changed:Boolean = createOrDestroyScrollbars(
needHorizontal, needVertical, needContentPane);
-
if ((scrollableWidth != newScrollableWidth ||
viewableWidth != newViewableWidth) ||
changed)
@@ -5246,11 +5334,14 @@ public class Container extends UIComponent
}
return changed;
+ }
+ return false
}
/**
* @private
*/
+ COMPILE::LATER
private function createOrDestroyScrollbars(
needHorizontal:Boolean,
needVertical:Boolean,
@@ -5426,6 +5517,7 @@ public class Container extends UIComponent
* Returns true if either horizontalScrollPosition or
* verticalScrollPosition was changed to ensure this.
*/
+ COMPILE::LATER
private function clampScrollPositions():Boolean
{
var changed:Boolean = false;
@@ -5491,7 +5583,11 @@ public class Container extends UIComponent
// because that changes logic of how many children we have
var n:int = numChildren;
- var newPane:Sprite = new FlexSprite();
+ COMPILE::LATER
+ {
+ var newPane:Sprite = new FlexSprite();
+ }
+ var newPane:Sprite = new Sprite();
newPane.name = "contentPane";
// Place content pane above border and background image but below
@@ -5541,6 +5637,7 @@ public class Container extends UIComponent
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
protected function scrollChildren():void
{
if (!contentPane)
@@ -5600,6 +5697,7 @@ public class Container extends UIComponent
/**
* @private
*/
+ COMPILE::LATER
private function dispatchScrollEvent(direction:String,
oldPosition:Number,
newPosition:Number,
@@ -5629,7 +5727,10 @@ public class Container extends UIComponent
_forceClippingCount--;
createContentPane();
+ COMPILE::LATER
+ {
scrollChildren();
+ }
}
}
@@ -5696,6 +5797,8 @@ public class Container extends UIComponent
var direction:String;
var oldPos:Number;
+ COMPILE::LATER
+ {
if (verticalScrollBar)
{
direction = ScrollEventDirection.VERTICAL;
@@ -5800,6 +5903,7 @@ public class Container extends UIComponent
}
}
}
+ }
}
//--------------------------------------------------------------------------
@@ -5812,6 +5916,7 @@ public class Container extends UIComponent
* @private
* This method copied verbatim from mx.core.ScrollControlBase.
*/
+ COMPILE::LATER
private function mouseWheelHandler(event:MouseEvent):void
{
// If this Container has a vertical scrollbar, then handle the event
@@ -5853,6 +5958,8 @@ public class Container extends UIComponent
FlexEvent.UPDATE_COMPLETE, layoutCompleteHandler);
forceLayout = false;
+ COMPILE::LATER
+ {
var needToScrollChildren:Boolean = false;
if (!isNaN(horizontalScrollPositionPending))
@@ -5898,6 +6005,8 @@ public class Container extends UIComponent
if (needToScrollChildren)
scrollChildren();
+ }
+
}
/**
@@ -5915,6 +6024,7 @@ public class Container extends UIComponent
* This method is called if the user interactively moves
* the horizontal scrollbar thumb.
*/
+ COMPILE::LATER
private function horizontalScrollBar_scrollHandler(event:Event):void
{
// TextField.scroll bubbles so you might see it here
@@ -5935,6 +6045,7 @@ public class Container extends UIComponent
* This method is called if the user interactively moves
* the vertical scrollbar thumb.
*/
+ COMPILE::LATER
private function verticalScrollBar_scrollHandler(event:Event):void
{
// TextField.scroll bubbles so you might see it here
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/ContainerRawChildrenList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/ContainerRawChildrenList.as b/frameworks/projects/MX/src/main/flex/mx/core/ContainerRawChildrenList.as
new file mode 100644
index 0000000..d668440
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/core/ContainerRawChildrenList.as
@@ -0,0 +1,227 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.core
+{
+
+import flash.display.DisplayObject;
+import flash.geom.Point;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+/**
+ * @private
+ * Helper class for the rawChildren property of the Container class.
+ * For descriptions of the properties and methods,
+ * see the IChildList interface.
+ *
+ * @see mx.core.Container
+ */
+public class ContainerRawChildrenList implements IChildList
+{
+ include "../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Notes
+ //
+ //--------------------------------------------------------------------------
+
+ /*
+
+ Although at the level of a Flash DisplayObjectContainer, all
+ children are equal, in a Flex Container some children are "more
+ equal than others". (George Orwell, "Animal Farm")
+
+ In particular, Flex distinguishes between content children and
+ non-content (or "chrome") children. Content children are the kind
+ that can be specified in MXML. If you put several controls
+ into a VBox, those are its content children. Non-content children
+ are the other ones that you get automatically, such as a
+ background/border, scrollbars, the titlebar of a Panel,
+ AccordionHeaders, etc.
+
+ Most application developers are uninterested in non-content children,
+ so Container overrides APIs such as numChildren and getChildAt()
+ to deal only with content children. For example, Container, keeps
+ its own _numChildren counter.
+
+ However, developers of custom containers need to be able to deal
+ with both content and non-content children, so they require similar
+ APIs that operate on all children.
+
+ For the public API, it would be ugly to have double APIs on Container
+ such as getChildAt() and all_getChildAt(). Instead, Container has
+ a public rawChildren property which lets you access APIs which
+ operate on all the children, in the same way that the
+ DisplayObjectContainer APIs do. For example, getChildAt(0) returns
+ the first content child, while rawChildren.getChildAt(0) returns
+ the first child (either content or non-content).
+
+ This ContainerRawChildrenList class implements the rawChildren
+ property. Note that it simply calls a second set of parallel
+ mx_internal APIs in Container. (They're named, for example,
+ _getChildAt() instead of all_getChildAt()).
+
+ Many of the all-children APIs in Container such as _getChildAt()
+ simply call super.getChildAt() in order to get the implementation
+ in DisplayObjectContainer. It would be nice if we could eliminate
+ _getChildAt() in Container and simply implement the all-children
+ version in this class by calling the DisplayObjectContainer method.
+ But once Container overrides getChildAt(), there is no way
+ to call the supermethod through an instance.
+
+ */
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ * Constructor.
+ */
+ public function ContainerRawChildrenList(owner:Container)
+ {
+ super();
+
+ this.owner = owner;
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Variables
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ */
+ private var owner:Container;
+
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // numChildren
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public function get numChildren():int
+ {
+ return owner.$numChildren;
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ */
+ public function addChild(child:DisplayObject):DisplayObject
+ {
+ return owner.rawChildren_addChild(child);
+ }
+
+ /**
+ * @private
+ */
+ public function addChildAt(child:DisplayObject, index:int):DisplayObject
+ {
+ return owner.rawChildren_addChildAt(child, index);
+ }
+
+ /**
+ * @private
+ */
+ public function removeChild(child:DisplayObject):DisplayObject
+ {
+ return owner.rawChildren_removeChild(child);
+ }
+
+ /**
+ * @private
+ */
+ public function removeChildAt(index:int):DisplayObject
+ {
+ return owner.rawChildren_removeChildAt(index);
+ }
+
+ /**
+ * @private
+ */
+ public function getChildAt(index:int):DisplayObject
+ {
+ return owner.rawChildren_getChildAt(index);
+ }
+
+ /**
+ * @private
+ */
+ public function getChildByName(name:String):DisplayObject
+ {
+ return owner.rawChildren_getChildByName(name);
+ }
+
+ /**
+ * @private
+ */
+ public function getChildIndex(child:DisplayObject):int
+ {
+ return owner.rawChildren_getChildIndex(child);
+ }
+
+ /**
+ * @private
+ */
+ public function setChildIndex(child:DisplayObject, newIndex:int):void
+ {
+ owner.rawChildren_setChildIndex(child, newIndex);
+ }
+
+ /**
+ * @private
+ */
+ public function getObjectsUnderPoint(point:Point):Array
+ {
+ return owner.rawChildren_getObjectsUnderPoint(point);
+ }
+
+ /**
+ * @private
+ */
+ public function contains(child:DisplayObject):Boolean
+ {
+ return owner.rawChildren_contains(child);
+ }
+}
+
+}
[46/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - more
attempts to get Application and Label to compile
Posted by ah...@apache.org.
more attempts to get Application and Label to compile
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c4cb764e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c4cb764e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c4cb764e
Branch: refs/heads/spark
Commit: c4cb764ebc7011ee97fb870834ab7a5cb8aff9fc
Parents: dc36448
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 26 15:45:09 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
.../mx/containers/errors/ConstraintError.as | 58 +
.../utilityClasses/ApplicationLayout.as | 116 ++
.../mx/containers/utilityClasses/BoxLayout.as | 20 +-
.../flex/mx/containers/utilityClasses/Flex.as | 696 +++++++
.../containers/utilityClasses/FlexChildInfo.as | 142 ++
.../utilityClasses/IConstraintLayout.as | 99 +
.../mx/controls/listClasses/BaseListData.as | 233 +++
.../listClasses/IDropInListItemRenderer.as | 163 ++
.../controls/listClasses/IListItemRenderer.as | 79 +
.../flex/mx/controls/scrollClasses/ScrollBar.as | 1719 ------------------
.../MX/src/main/flex/mx/core/Application.as | 22 +-
.../MX/src/main/flex/mx/core/Container.as | 207 ++-
.../flex/mx/core/ContainerRawChildrenList.as | 227 +++
.../MX/src/main/flex/mx/core/IContainer.as | 4 +
.../MX/src/main/flex/mx/core/IDataRenderer.as | 103 ++
.../src/main/flex/mx/core/INavigatorContent.as | 67 +
.../main/flex/mx/events/IndexChangedEvent.as | 310 ++++
.../flex/mx/managers/IActiveWindowManager.as | 100 +
.../styles/metadata/ModalTransparencyStyles.as | 80 +
.../MX/src/main/flex/mx/utils/LoaderUtil.as | 658 +++++++
20 files changed, 3329 insertions(+), 1774 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/errors/ConstraintError.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/errors/ConstraintError.as b/frameworks/projects/MX/src/main/flex/mx/containers/errors/ConstraintError.as
new file mode 100644
index 0000000..136fa55
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/errors/ConstraintError.as
@@ -0,0 +1,58 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.containers.errors
+{
+
+/**
+ * This error is thrown when a constraint expression is not configured properly;
+ * for example, if the GridColumn reference is invalid.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public class ConstraintError extends Error
+{
+ include "../../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ *
+ * @param message A message providing information about the error cause.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function ConstraintError(message:String)
+ {
+ super(message);
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/ApplicationLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/ApplicationLayout.as b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/ApplicationLayout.as
new file mode 100644
index 0000000..6cad8bb
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/ApplicationLayout.as
@@ -0,0 +1,116 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.containers.utilityClasses
+{
+
+import mx.core.Container;
+import mx.core.EdgeMetrics;
+import mx.core.IFlexDisplayObject;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+/**
+ * @private
+ * The ApplicationLayout class is for internal use only.
+ */
+public class ApplicationLayout extends BoxLayout
+{
+ include "../../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function ApplicationLayout()
+ {
+ super();
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Overridden methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ * Lay out children as per Application layout rules.
+ */
+ override public function updateDisplayList(unscaledWidth:Number,
+ unscaledHeight:Number):void
+ {
+ super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+ var target:Container = super.target;
+
+ // If there are scrollbars, and any children are at negative
+ // co-ordinates, make adjustments to bring them into the visible area.
+ COMPILE::LATER
+ {
+ if ((target.horizontalScrollBar && getHorizontalAlignValue() > 0) ||
+ (target.verticalScrollBar && getVerticalAlignValue() > 0))
+ {
+ var paddingLeft:Number = target.getStyle("paddingLeft");
+ var paddingTop:Number = target.getStyle("paddingTop");
+ var oX:Number = 0;
+ var oY:Number = 0;
+
+ var n:int = target.numChildren;
+ var i:int;
+ var child:IFlexDisplayObject;
+
+ for (i = 0; i < n; i++)
+ {
+ child = IFlexDisplayObject(target.getChildAt(i));
+
+ if (child.x < paddingLeft)
+ oX = Math.max(oX, paddingLeft - child.x);
+
+ if (child.y < paddingTop)
+ oY = Math.max(oY, paddingTop - child.y);
+ }
+
+ if (oX != 0 || oY != 0)
+ {
+ for (i = 0; i < n; i++)
+ {
+ child = IFlexDisplayObject(target.getChildAt(i));
+ child.move(child.x + oX, child.y + oY);
+ }
+ }
+ }
+ }
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/BoxLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/BoxLayout.as b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/BoxLayout.as
index db31dcd..60eefd6 100644
--- a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/BoxLayout.as
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/BoxLayout.as
@@ -180,8 +180,11 @@ public class BoxLayout extends Layout
var w:Number = Math.max(unscaledWidth, mw) - vm.right - vm.left;
var h:Number = Math.max(unscaledHeight, mh) - vm.bottom - vm.top;
+ COMPILE::LATER
+ {
var horizontalScrollBar:ScrollBar = target.horizontalScrollBar;
var verticalScrollBar:ScrollBar = target.verticalScrollBar;
+ }
var gap:Number;
var numChildrenWithOwnSpace:int;
@@ -227,12 +230,18 @@ public class BoxLayout extends Layout
height = child.getExplicitOrMeasuredHeight();
}
+ COMPILE::LATER
+ {
// if scaled and zoom is playing, best to let the sizes be non-integer
if (child.scaleX == 1 && child.scaleY == 1)
child.setActualSize(Math.floor(width), Math.floor(height));
else
child.setActualSize(width, height);
+ }
+ child.setActualSize(width, height);
+ COMPILE::LATER
+ {
// Ignore scrollbar sizes for child alignment purpose.
if (verticalScrollBar != null &&
target.verticalScrollPolicy == ScrollPolicy.AUTO)
@@ -244,6 +253,7 @@ public class BoxLayout extends Layout
{
h += horizontalScrollBar.minHeight;
}
+ }
// Use the child's width and height because a Resize effect might
// have changed the child's dimensions. Bug 146158.
@@ -268,6 +278,8 @@ public class BoxLayout extends Layout
excessSpace = Flex.flexChildHeightsProportionally(
target, h - (numChildrenWithOwnSpace - 1) * gap, w);
+ COMPILE::LATER
+ {
// Ignore scrollbar sizes for child alignment purpose.
if (horizontalScrollBar != null &&
target.horizontalScrollPolicy == ScrollPolicy.AUTO)
@@ -279,7 +291,8 @@ public class BoxLayout extends Layout
{
w += verticalScrollBar.minWidth;
}
-
+ }
+
top = paddingTop + excessSpace * verticalAlign;
for (i = 0; i < n; i++)
@@ -307,6 +320,8 @@ public class BoxLayout extends Layout
excessSpace = Flex.flexChildWidthsProportionally(
target, w - (numChildrenWithOwnSpace - 1) * gap, h);
+ COMPILE::LATER
+ {
// Ignore scrollbar sizes for child alignment purpose.
if (horizontalScrollBar != null &&
target.horizontalScrollPolicy == ScrollPolicy.AUTO)
@@ -318,7 +333,8 @@ public class BoxLayout extends Layout
{
excessSpace += verticalScrollBar.minWidth;
}
-
+ }
+
left = paddingLeft + excessSpace * horizontalAlign;
for (i = 0; i < n; i++)
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/Flex.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/Flex.as b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/Flex.as
new file mode 100644
index 0000000..6aee0d3
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/Flex.as
@@ -0,0 +1,696 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.containers.utilityClasses
+{
+
+import mx.core.IChildList;
+import mx.core.IUIComponent;
+
+[ExcludeClass]
+
+/**
+ * @private
+ * The Flex class is for internal use only.
+ */
+public class Flex
+{
+ include "../../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Class methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * This function sets the width of each child
+ * so that the widths add up to spaceForChildren.
+ * Each child is set to its preferred width
+ * if its percentWidth is zero.
+ * If it's percentWidth is a positive number
+ * the child grows depending on the size of its parent
+ * The height of each child is set to its preferred height.
+ * The return value is any extra space that's left over
+ * after growing all children to their maxWidth.
+ *
+ * @param parent The parent container of the children.
+ *
+ * @param spaceForChildren The space that is to be
+ * distributed across all the children.
+ *
+ * @param h height for all children.
+ *
+ * @result Any extra space that's left over
+ * after growing all children to their maxWidth.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function flexChildWidthsProportionally(
+ parent:IChildList,
+ spaceForChildren:Number,
+ h:Number):Number
+ {
+ var spaceToDistribute:Number = spaceForChildren;
+ var totalPercentWidth:Number = 0;
+ var childInfoArray:Array = [];
+ var childInfo:FlexChildInfo;
+ var child:IUIComponent;
+ var i:int;
+
+ // If the child is flexible, store information about it in the
+ // childInfoArray. For non-flexible children, just set the child's
+ // width and height immediately.
+ //
+ // Also calculate the sum of all widthFlexes, and calculate the
+ // sum of the width of all non-flexible children.
+ var n:int = parent.numChildren;
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+
+ var percentWidth:Number = child.percentWidth;
+ var percentHeight:Number = child.percentHeight;
+ var height:Number;
+
+ if (!isNaN(percentHeight) && child.includeInLayout)
+ {
+ height = Math.max(child.minHeight,
+ Math.min(child.maxHeight,
+ ((percentHeight >= 100) ? h : h * percentHeight / 100)));
+ }
+ else
+ {
+ height = child.getExplicitOrMeasuredHeight();
+ }
+
+ if (!isNaN(percentWidth) && child.includeInLayout)
+ {
+ totalPercentWidth += percentWidth;
+
+ childInfo = new FlexChildInfo();
+ childInfo.percent = percentWidth;
+ childInfo.min = child.minWidth;
+ childInfo.max = child.maxWidth;
+ childInfo.height = height;
+ childInfo.child = child;
+
+ childInfoArray.push(childInfo);
+ }
+ else
+ {
+ var width:Number = child.getExplicitOrMeasuredWidth();
+ // if scaled and zoom is playing, best to let the sizes be non-integer
+ // otherwise the rounding creates an error that accumulates in some components like List
+ COMPILE::LATER
+ {
+ if (child.scaleX == 1 && child.scaleY == 1)
+ {
+ child.setActualSize(Math.floor(width),
+ Math.floor(height));
+ }
+ else
+ {
+ child.setActualSize(width, height);
+ }
+ }
+ child.setActualSize(width, height);
+
+ if (child.includeInLayout)
+ {
+ // Need to account for the actual child width since
+ // setActualSize may trigger a Resize effect, which
+ // could change the size of the component.
+ spaceToDistribute -= child.width;
+ }
+ }
+ }
+
+ // Distribute the extra space among the children.
+ if (totalPercentWidth)
+ {
+ spaceToDistribute = flexChildrenProportionally(spaceForChildren,
+ spaceToDistribute, totalPercentWidth, childInfoArray);
+
+ // Set the widths and heights of the flexible children
+ n = childInfoArray.length;
+ for (i = 0; i < n; i++)
+ {
+ childInfo = childInfoArray[i];
+ child = childInfo.child;
+
+ // if scaled and zoom is playing, best to let the sizes be non-integer
+ // otherwise the rounding creates an error that accumulates in some components like List
+ COMPILE::LATER
+ {
+ if (child.scaleX == 1 && child.scaleY == 1)
+ {
+ child.setActualSize(Math.floor(childInfo.size),
+ Math.floor(childInfo.height));
+ }
+ else
+ {
+ child.setActualSize(childInfo.size, childInfo.height);
+ }
+ }
+ child.setActualSize(childInfo.size, childInfo.height);
+ }
+
+ distributeExtraWidth(parent, spaceForChildren);
+ }
+
+ return spaceToDistribute;
+ }
+
+ /**
+ * This function sets the height of each child
+ * so that the heights add up to spaceForChildren.
+ * Each child is set to its preferred height
+ * if its percentHeight is zero.
+ * If its percentHeight is a positive number,
+ * the child grows (or shrinks) to consume its share of extra space.
+ * The width of each child is set to its preferred width.
+ * The return value is any extra space that's left over
+ * after growing all children to their maxHeight.
+ *
+ * @param parent The parent container of the children.
+ *
+ * @param spaceForChildren The space that is to be
+ * distributed across all children .
+ *
+ * @param w width for all children.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function flexChildHeightsProportionally(
+ parent:IChildList,
+ spaceForChildren:Number,
+ w:Number):Number
+ {
+ var spaceToDistribute:Number = spaceForChildren;
+ var totalPercentHeight:Number = 0;
+ var childInfoArray:Array = [];
+ var childInfo:FlexChildInfo;
+ var child:IUIComponent;
+ var i:int;
+
+ // If the child is flexible, store information about it in the
+ // childInfoArray. For non-flexible children, just set the child's
+ // width and height immediately.
+ //
+ // Also calculate the sum of all percentHeights, and calculate the
+ // sum of the height of all non-flexible children.
+ var n:int = parent.numChildren;
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+
+ var percentWidth:Number = child.percentWidth;
+ var percentHeight:Number = child.percentHeight;
+ var width:Number;
+
+ if (!isNaN(percentWidth) && child.includeInLayout)
+ {
+ width = Math.max(child.minWidth,
+ Math.min(child.maxWidth,
+ ((percentWidth >= 100) ? w : w * percentWidth / 100)));
+ }
+ else
+ {
+ width = child.getExplicitOrMeasuredWidth();
+ }
+
+ if (!isNaN(percentHeight) && child.includeInLayout)
+ {
+ totalPercentHeight += percentHeight;
+
+ childInfo = new FlexChildInfo();
+ childInfo.percent = percentHeight;
+ childInfo.min = child.minHeight;
+ childInfo.max = child.maxHeight;
+ childInfo.width = width;
+ childInfo.child = child;
+
+ childInfoArray.push(childInfo);
+ }
+ else
+ {
+ var height:Number = child.getExplicitOrMeasuredHeight();
+ // if scaled and zoom is playing, best to let the sizes be non-integer
+ // otherwise the rounding creates an error that accumulates in some components like List
+ COMPILE::LATER
+ {
+ if (child.scaleX == 1 && child.scaleY == 1)
+ {
+ child.setActualSize(Math.floor(width),
+ Math.floor(height));
+ }
+ else
+ {
+ child.setActualSize(width, height);
+ }
+ }
+ child.setActualSize(width, height);
+
+ if (child.includeInLayout)
+ {
+ // Need to account for the actual child height since
+ // setActualSize may trigger a Resize effect, which
+ // could change the size of the component.
+ spaceToDistribute -= child.height;
+ }
+ }
+ }
+
+ // Distribute the extra space among the children.
+ if (totalPercentHeight)
+ {
+ spaceToDistribute = flexChildrenProportionally(spaceForChildren,
+ spaceToDistribute, totalPercentHeight, childInfoArray);
+
+ // Set the widths and heights of the flexible children
+ n = childInfoArray.length;
+ for (i = 0; i < n; i++)
+ {
+ childInfo = childInfoArray[i];
+ child = childInfo.child;
+
+ // if scaled and zoom is playing, best to let the sizes be non-integer
+ // otherwise the rounding creates an error that accumulates in some components like List
+ COMPILE::LATER
+ {
+ if (child.scaleX == 1 && child.scaleY == 1)
+ {
+ child.setActualSize(Math.floor(childInfo.width),
+ Math.floor(childInfo.size));
+ }
+ else
+ {
+ child.setActualSize(childInfo.width, childInfo.size);
+ }
+ }
+ child.setActualSize(childInfo.width, childInfo.size);
+ }
+
+ distributeExtraHeight(parent, spaceForChildren);
+ }
+
+ return spaceToDistribute;
+ }
+
+ /**
+ * This function distributes excess space among the flexible children.
+ * It does so with a view to keep the children's overall size
+ * close the ratios specified by their percent.
+ *
+ * @param spaceForChildren The total space for all children
+ *
+ * @param spaceToDistribute The space that needs to be distributed
+ * among the flexible children.
+ *
+ * @param childInfoArray An array of Objects. When this function
+ * is called, each object should define the following properties:
+ * - percent: the percentWidth or percentHeight of the child (depending
+ * on whether we're growing in a horizontal or vertical direction)
+ * - min: the minimum width (or height) for that child
+ * - max: the maximum width (or height) for that child
+ *
+ * @return When this function finishes executing, a "size" property
+ * will be defined for each child object. The size property contains
+ * the portion of the spaceToDistribute to be distributed to the child.
+ * Ideally, the sum of all size properties is spaceToDistribute.
+ * If all the children hit their minWidth/maxWidth/minHeight/maxHeight
+ * before the space was distributed, then the remaining unused space
+ * is returned. Otherwise, the return value is zero.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function flexChildrenProportionally(
+ spaceForChildren:Number,
+ spaceToDistribute:Number,
+ totalPercent:Number,
+ childInfoArray:Array):Number
+ {
+ // The algorithm iterivately attempts to break down the space that
+ // is consumed by "flexible" containers into ratios that are related
+ // to the percentWidth/percentHeight of the participating containers.
+
+ var numChildren:int = childInfoArray.length;
+ var flexConsumed:Number; // space consumed by flexible compontents
+ var done:Boolean;
+
+ // Continue as long as there are some remaining flexible children.
+ // The "done" flag isn't strictly necessary, except that it catches
+ // cases where round-off error causes totalPercent to not exactly
+ // equal zero.
+ do
+ {
+ flexConsumed = 0; // space consumed by flexible compontents
+ done = true; // we are optimistic
+
+ // We now do something a little tricky so that we can
+ // support partial filling of the space. If our total
+ // percent < 100% then we can trim off some space.
+ // This unused space can be used to fulfill mins and maxes.
+ var unused:Number = spaceToDistribute -
+ (spaceForChildren * totalPercent / 100);
+ if (unused > 0)
+ spaceToDistribute -= unused;
+ else
+ unused = 0;
+
+ // Space for flexible children is the total amount of space
+ // available minus the amount of space consumed by non-flexible
+ // components.Divide that space in proportion to the percent
+ // of the child
+ var spacePerPercent:Number = spaceToDistribute / totalPercent;
+
+ // Attempt to divide out the space using our percent amounts,
+ // if we hit its limit then that control becomes 'non-flexible'
+ // and we run the whole space to distribute calculation again.
+ for (var i:int = 0; i < numChildren; i++)
+ {
+ var childInfo:FlexChildInfo = childInfoArray[i];
+
+ // Set its size in proportion to its percent.
+ var size:Number = childInfo.percent * spacePerPercent;
+
+ // If our flexiblity calc say grow/shrink more than we are
+ // allowed, then we grow/shrink whatever we can, remove
+ // ourselves from the array for the next pass, and start
+ // the loop over again so that the space that we weren't
+ // able to consume / release can be re-used by others.
+ if (size < childInfo.min)
+ {
+ var min:Number = childInfo.min;
+ childInfo.size = min;
+
+ // Move this object to the end of the array
+ // and decrement the length of the array.
+ // This is slightly expensive, but we don't expect
+ // to hit these min/max limits very often.
+ childInfoArray[i] = childInfoArray[--numChildren];
+ childInfoArray[numChildren] = childInfo;
+
+ totalPercent -= childInfo.percent;
+ // Use unused space first before reducing flexible space.
+ if (unused >= min)
+ {
+ unused -= min;
+ }
+ else
+ {
+ spaceToDistribute -= min - unused;
+ unused = 0;
+ }
+ done = false;
+ break;
+ }
+ else if (size > childInfo.max)
+ {
+ var max:Number = childInfo.max;
+ childInfo.size = max;
+
+ childInfoArray[i] = childInfoArray[--numChildren];
+ childInfoArray[numChildren] = childInfo;
+
+ totalPercent -= childInfo.percent;
+ // Use unused space first before reducing flexible space.
+ if (unused >= max)
+ {
+ unused -= max;
+ }
+ else
+ {
+ spaceToDistribute -= max - unused;
+ unused = 0;
+ }
+ done = false;
+ break;
+ }
+ else
+ {
+ // All is well, let's carry on...
+ childInfo.size = size;
+ flexConsumed += size;
+ }
+ }
+ }
+ while (!done);
+
+ return Math.max(0, Math.floor((spaceToDistribute + unused) - flexConsumed))
+ }
+
+ /**
+ * This function distributes excess space among the flexible children
+ * because of rounding errors where we want to keep children's dimensions
+ * full pixel amounts. This only distributes the extra space
+ * if there was some rounding down and there are still
+ * flexible children.
+ *
+ * @param parent The parent container of the children.
+ *
+ * @param spaceForChildren The total space for all children
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function distributeExtraHeight(
+ parent:IChildList,
+ spaceForChildren:Number):void
+ {
+ // We should only get here after distributing the majority of the
+ // space already. This is done in flexChildHeightsProportionally.
+ // Strategy here is to keep adding 1 pixel at a time to each
+ // component that's flexible (percentHeight defined and hasn't
+ // reached maxHeight yet). We could use another approach where
+ // we add more than a pixel at a time, but we'd have to first
+ // calculate exactly how many flexible components we have first
+ // and see how much space we can add to them without hitting
+ // their maxHeight. Since we're just dealing with rounding
+ // issues, we should only make one pass here (if we hit maxHeight
+ // problems, we might make more than one, but not many more).
+
+ // We just distribute from the top-down and don't care about
+ // who was "rounded down the most"
+
+ // First check if we should distribute any extra space. To do
+ // this, we check to see if someone suffers from rounding error.
+ var n:int = parent.numChildren;
+ var wantToGrow:Boolean = false;
+ var i:int;
+ var percentHeight:Number;
+ var spaceToDistribute:Number = spaceForChildren;
+ var spaceUsed:Number = 0;
+ var child:IUIComponent;
+ var childHeight:Number;
+ var wantSpace:Number;
+
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+
+ if (!child.includeInLayout)
+ continue;
+
+ childHeight = child.height;
+ percentHeight = child.percentHeight;
+
+ spaceUsed += childHeight;
+
+ if (!isNaN(percentHeight))
+ {
+ wantSpace = Math.ceil(percentHeight/100 * spaceForChildren);
+
+ if (wantSpace > childHeight)
+ wantToGrow = true;
+ }
+ }
+
+ // No need to distribute extra size
+ if (!wantToGrow)
+ return;
+
+ // Start distributing...
+ spaceToDistribute -= spaceUsed;
+
+ // If we still have components that will let us
+ // distribute to them
+ var stillFlexibleComponents:Boolean = true;
+
+ while (stillFlexibleComponents && spaceToDistribute >= 1.0)
+ {
+ // Start optimistically
+ stillFlexibleComponents = false;
+
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+ childHeight = child.height;
+ percentHeight = child.percentHeight
+
+ // if they have a percentHeight, and we won't reach their
+ // maxHeight by giving them one more pixel, then
+ // give them a pixel
+ if (!isNaN(percentHeight) &&
+ child.includeInLayout &&
+ childHeight < child.maxHeight)
+ {
+ wantSpace = Math.ceil(percentHeight/100 * spaceForChildren);
+
+ if (wantSpace > childHeight)
+ {
+ child.setActualSize(child.width, childHeight+1);
+ spaceToDistribute--;
+ stillFlexibleComponents = true;
+
+ if (spaceToDistribute == 0)
+ return;
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * This function distributes excess space among the flexible children
+ * because of rounding errors where we want to keep children's dimensions
+ * full pixel amounts. This only distributes the extra space
+ * if there was some rounding down and there are still
+ * flexible children.
+ *
+ * @param parent The parent container of the children.
+ *
+ * @param spaceForChildren The total space for all children
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function distributeExtraWidth(
+ parent:IChildList,
+ spaceForChildren:Number):void
+ {
+ // We should only get here after distributing the majority of the
+ // space already. This is done in flexChildWidthsProportionally.
+ // Strategy here is to keep adding 1 pixel at a time to each
+ // component that's flexible (percentWidth defined and hasn't
+ // reached maxWidth yet). We could use another approach where
+ // we add more than a pixel at a time, but we'd have to first
+ // calculate exactly how many flexible components we have first
+ // and see how much space we can add to them without hitting
+ // their maxWidth. Since we're just dealing with rounding
+ // issues, we should only make one pass here (if we hit maxWidth
+ // problems, we might make more than one, but not many more).
+
+ // We just distribute from the top-down and don't care about
+ // who was "rounded down the most"
+
+ // First check if we should distribute any extra space. To do
+ // this, we check to see if someone suffers from rounding error.
+ var n:int = parent.numChildren;
+ var wantToGrow:Boolean = false;
+ var i:int;
+ var percentWidth:Number;
+ var spaceToDistribute:Number = spaceForChildren;
+ var spaceUsed:Number = 0;
+ var child:IUIComponent;
+ var childWidth:Number;
+ var wantSpace:Number;
+
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+
+ if (!child.includeInLayout)
+ continue;
+
+ childWidth = child.width;
+ percentWidth = child.percentWidth;
+
+ spaceUsed += childWidth;
+
+ if (!isNaN(percentWidth))
+ {
+ wantSpace = Math.ceil(percentWidth/100 * spaceForChildren);
+
+ if (wantSpace > childWidth)
+ wantToGrow = true;
+ }
+ }
+
+ // No need to distribute extra size
+ if (!wantToGrow)
+ return;
+
+ // Start distributing...
+ spaceToDistribute -= spaceUsed;
+
+ // If we still have components that will let us
+ // distribute to them
+ var stillFlexibleComponents:Boolean = true;
+
+ while (stillFlexibleComponents && spaceToDistribute >= 1.0)
+ {
+ // Start optimistically
+ stillFlexibleComponents = false;
+
+ for (i = 0; i < n; i++)
+ {
+ child = IUIComponent(parent.getChildAt(i));
+ childWidth = child.width;
+ percentWidth = child.percentWidth
+
+ // if they have a percentWidth, and we won't reach their
+ // maxWidth by giving them one more pixel, then
+ // give them a pixel
+ if (!isNaN(percentWidth) &&
+ child.includeInLayout &&
+ childWidth < child.maxWidth)
+ {
+ wantSpace = Math.ceil(percentWidth / 100 * spaceForChildren);
+
+ if (wantSpace > childWidth)
+ {
+ child.setActualSize(childWidth +1, child.height);
+ spaceToDistribute--;
+ stillFlexibleComponents = true;
+
+ if (spaceToDistribute == 0)
+ return;
+ }
+ }
+ }
+ }
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/FlexChildInfo.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/FlexChildInfo.as b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/FlexChildInfo.as
new file mode 100644
index 0000000..e910e03
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/FlexChildInfo.as
@@ -0,0 +1,142 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.containers.utilityClasses
+{
+
+import mx.core.IUIComponent;
+
+[ExcludeClass]
+
+/**
+ * @private
+ * Helper class for the Flex.flexChildrenProportionally() method.
+ */
+public class FlexChildInfo
+{
+ include "../../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function FlexChildInfo()
+ {
+ super();
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // child
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var child:IUIComponent;
+
+ //----------------------------------
+ // size
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var size:Number = 0;
+
+ //----------------------------------
+ // preferred
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var preferred:Number = 0;
+
+ //----------------------------------
+ // flex
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var flex:Number = 0;
+
+ //----------------------------------
+ // percent
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var percent:Number;
+
+ //----------------------------------
+ // min
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var min:Number;
+
+ //----------------------------------
+ // max
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var max:Number;
+
+ //----------------------------------
+ // width
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var width:Number;
+
+ //----------------------------------
+ // height
+ //----------------------------------
+
+ /**
+ * @private
+ */
+ public var height:Number;
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/IConstraintLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/IConstraintLayout.as b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/IConstraintLayout.as
new file mode 100644
index 0000000..9fcb43b
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/containers/utilityClasses/IConstraintLayout.as
@@ -0,0 +1,99 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.containers.utilityClasses
+{
+
+/**
+ * IConstraintLayout is a marker interface that indicates that a container
+ * supports ConstraintColumn class and ConstraintRow class within its layout.
+ * Application, Canvas, and Panel containers support ConstraintRow and
+ * ConstraintColumn classes.
+ * To utilize this type of constraint in these containers,
+ * set the <code>layout</code> property to <code>"absolute"</code>
+ * and create ConstraintColumn and ConstraintRow instances.
+ *
+ * @see mx.containers.Canvas
+ * @see mx.containers.Panel
+ * @see mx.core.Application
+ * @see mx.containers.utilityClasses.ConstraintColumn
+ * @see mx.containers.utilityClasses.ConstraintRow
+ * @see mx.modules.Module
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public interface IConstraintLayout
+{
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // constraintColumns
+ //----------------------------------
+
+ /**
+ * An Array of ConstraintColumn instances that partition this container.
+ * The ConstraintColumn instance at index 0 is the left-most column;
+ * indices increase from left to right.
+ *
+ * @default []
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ function get constraintColumns():Array /* of ConstraintColumn */;
+
+ /**
+ * @private
+ */
+ function set constraintColumns(value:Array /* of ConstraintColumn */):void;
+
+ //----------------------------------
+ // constraintRows
+ //----------------------------------
+
+ /**
+ * An Array of ConstraintRow instances that partition this container.
+ * The ConstraintRow instance at index 0 is the top-most row;
+ * indices increase from top to bottom.
+ *
+ * @default []
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ function get constraintRows():Array /* of ConstraintRow */;
+
+ /**
+ * @private
+ */
+ function set constraintRows(value:Array /* of ConstraintRow */):void;
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/BaseListData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/BaseListData.as b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/BaseListData.as
new file mode 100644
index 0000000..cdb1651
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/BaseListData.as
@@ -0,0 +1,233 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.controls.listClasses
+{
+
+import flash.events.EventDispatcher;
+
+import mx.core.IUIComponent;
+import mx.core.IUID;
+
+/**
+ * The BaseListData class defines the data type of the <code>listData</code>
+ * property implemented by drop-in item renderers or drop-in item editors.
+ * All drop-in item renderers and drop-in item editors must implement the
+ * IDropInListItemRenderer interface, which defines the <code>listData</code>
+ * property.
+ *
+ * <p>The <code>listData</code> property is of type BaseListData,
+ * where the BaseListData class has three subclasses:
+ * DataGridListData, ListData, and TreeListData.
+ * The actual data type of the value of the <code>listData</code> property
+ * depends on the control using the drop-in item renderer or item editor.
+ * For a DataGrid control, the value is of type DataGridListData,
+ * for a List control the value is of type ListData,
+ * and for a Tree control, the value is of type TreeListData.</p>
+ *
+ * <p>When used as a drop-in item renderer or drop-in item editor,
+ * Flex sets the <code>listData</code> property to a BaseListData-derived
+ * class containing information computed about the item in the data provider
+ * containing the data for the item.</p>
+ *
+ * <p>While the properties of this class are writable,
+ * you should consider them to be read only.
+ * They are initialized by the list class,
+ * and read by an item renderer or item editor.
+ * Changing these values can lead to unexpected results.</p>
+ *
+ * <p>The properties are marked bindable, but these properties
+ * do not actually do any change detection or send change events.
+ * The properties are changed as a whole by setting a new
+ * value for the <code>listData</code> property.
+ * The <code>change</code> event for the modification of
+ * the <code>listData</code> property updates all bindings.</p>
+ *
+ * @see mx.controls.listClasses.IDropInListItemRenderer
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+
+public class BaseListData extends EventDispatcher
+{
+
+ include "../../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ *
+ * @param label The textual representation of the item data.
+ *
+ * @param uid A unique identifier.
+ *
+ * @param owner A reference to the list control.
+ *
+ * @param rowIndex The index of the row in the currently visible rows of the control.
+ *
+ * @param columnIndex The index of the column in the currently visible columns of the
+ * control.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function BaseListData(label:String, uid:String,
+ owner:IUIComponent, rowIndex:int = 0,
+ columnIndex:int = 0)
+ {
+ super();
+
+ this.label = label;
+ this.uid = uid;
+ this.owner = owner;
+ this.rowIndex = rowIndex;
+ this.columnIndex = columnIndex;
+ }
+
+
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // columnIndex
+ //----------------------------------
+
+ [Bindable("__NoChangeEvent__")]
+
+ /**
+ * The index of the column of the List-based control relative
+ * to the currently visible columns of the control, where the first column
+ * is at an index of 1.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var columnIndex:int;
+
+ //----------------------------------
+ // label
+ //----------------------------------
+
+ [Bindable("__NoChangeEvent__")]
+
+ /**
+ * The textual representation of the item data, based on the list class's
+ * <code>itemToLabel()</code> method.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var label:String;
+
+ //----------------------------------
+ // owner
+ //----------------------------------
+
+ [Bindable("__NoChangeEvent__")]
+
+ /**
+ * A reference to the list object that owns this item.
+ * This should be a ListBase-derived class.
+ * This property is typed as IUIComponent so that drop-ins
+ * like Label and TextInput don't have to have dependencies
+ * on List and all of its dependencies.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var owner:IUIComponent;
+
+ //----------------------------------
+ // rowIndex
+ //----------------------------------
+
+ [Bindable("__NoChangeEvent__")]
+
+ /**
+ * The index of the row of the DataGrid, List, or Tree control relative
+ * to the currently visible rows of the control, where the first row
+ * is at an index of 1.
+ * For example, you click on an item in the control and <code>rowIndex</code>
+ * is set to 3.
+ * You then scroll the control to change the row's position in the visible rows
+ * of the control, and then click on the same row as before.
+ * The <code>rowIndex</code> now contains a different value corresponding to
+ * the new index of the row in the currently visible rows.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var rowIndex:int;
+
+ //----------------------------------
+ // uid
+ //----------------------------------
+
+ /**
+ * @private
+ * Storage for the uid property.
+ */
+ private var _uid:String;
+
+ [Bindable("__NoChangeEvent__")]
+
+ /**
+ * The unique identifier for this item.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function get uid():String
+ {
+ return _uid;
+ }
+
+ /**
+ * @private
+ */
+ public function set uid(value:String):void
+ {
+ _uid = value;
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IDropInListItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IDropInListItemRenderer.as b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IDropInListItemRenderer.as
new file mode 100644
index 0000000..97ce464
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IDropInListItemRenderer.as
@@ -0,0 +1,163 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.controls.listClasses
+{
+
+/**
+ * The interface for "drop-in" item renderers. Most IListItemRenderers
+ * are not "drop-ins". They are expecting to use a particular field of
+ * the data provider item. For example, they may assign the "lastName"
+ * property of the item to a Label's <code>text</code> property. This
+ * is easy to write using data-binding, but has the negative
+ * consequence that the renderer cannot be re-used in another column
+ * of a DataGrid or another List with different fields.
+ * IDropInListItemRenderer allows a renderer to be re-used. The list
+ * classes will pass more information to the renderer so that it
+ * can determine which field to use at run-time.
+ *
+ * <p>Components that you want to use as drop-in item renderers or drop-in
+ * item editors must implement the IDropInListItemRenderer interface.
+ * Many Flex component implement this interface, and therefore are usable
+ * as drop-in item renderers and drop-in item editors in any column or
+ * list.</p>
+ *
+ * <p>Drop-in item renderers or drop-in item editors also must implement
+ * the IDataRenderer interface to define the <code>data</code> property.</p>
+ *
+ * <p>When a component is used as a drop-in item renderer or drop-in
+ * item editor, Flex initializes the <code>listData</code> property
+ * of the component with the appropriate data from the list control.
+ * The component can then use the <code>listData</code> property
+ * to initialize the <code>data</code> property of the drop-in
+ * item renderer or drop-in item editor.</p>
+ *
+ * <p>The <code>listData</code> property is of type BaseListData,
+ * where the BaseListData class has four subclasses:
+ * DataGridListData, ListData, TreeListData, and MenuListData.
+ * The actual data type of the value of the <code>listData</code> property
+ * depends on the control using the drop-in item renderer or item editor.
+ * For a DataGrid control, the value is of type DataGridListData,
+ * for a List control the value is of type ListData,
+ * for a Tree control, the value is of type TreeListData,
+ * and for a Menu control, the value is of type MenuListData..</p>
+ *
+ * <p>The following example shows the setter method for the
+ * <code>data</code> property for the NumericStepper control
+ * that initializes NumericStepper's <code>value</code> property
+ * based on the value of the <code>listData</code> property:</p>
+ *
+ * <pre>
+ * public function set data(value:Object):void
+ * {
+ * _data = value;
+ *
+ * this.value = _listData ? parseFloat(_listData.label) : Number(_data);
+ *
+ * dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
+ * }
+ * </pre>
+ *
+ * <p>In the example above, the NumericStepper control ignores the
+ * <code>data</code> property when setting NumericStepper's
+ * <code>value</code> property, and uses the <code>listData</code>
+ * property instead.</p>
+ *
+ * <p>To implement the IDropInListItemRenderer interface,
+ * you define a setter and getter method to implement
+ * the <code>listData</code> property.
+ * Typically, the setter method writes the value of the
+ * <code>listData</code> property to an internal variable.
+ * The list class always assigns this property then sets
+ * the data provider item in the <code>data</code> property.</p>
+ *
+ * <p>Notice that the setter method for the <code>listData</code> property
+ * does not dispatch an event.
+ * This is because the list classes always set <code>listData</code>,
+ * then set the <code>data</code> property.
+ * Setting the <code>data</code> property also dispatches the <code>dataChange</code> event.
+ * You never set <code>listData</code> on its own,
+ * so it does not need to dispatch its own event. </p>
+ *
+ * <p>The <code>data</code> setter method could call the <code>invalidateProperties()</code> method
+ * if it did something that required the control to update itself.
+ * It would then be up to the component developer to write a <code>commitProperties()</code> method
+ * to determine that <code>listData</code> was modified, and handle it accordingly. </p>
+ *
+ * <p>The getter method returns the current value
+ * of the internal variable, as the following example shows:</p>
+ *
+ * <pre>
+ * // Internal variable for the property value.
+ * private var _listData:BaseListData;
+ *
+ * // Make the listData property bindable.
+ * [Bindable("dataChange")]
+ *
+ * // Define the getter method.
+ * public function get listData():BaseListData
+ * {
+ * return _listData;
+ * }
+ *
+ * // Define the setter method,
+ * public function set listData(value:BaseListData):void
+ * {
+ * _listData = value;
+ * }
+ * </pre>
+ *
+ * @see mx.controls.listClasses.BaseListData
+ * @see mx.core.IDataRenderer
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public interface IDropInListItemRenderer
+{
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // listData
+ //----------------------------------
+
+ /**
+ * Implements the <code>listData</code> property
+ * using setter and getter methods.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ function get listData():BaseListData;
+
+ /**
+ * @private
+ */
+ function set listData(value:BaseListData):void;
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IListItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IListItemRenderer.as b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IListItemRenderer.as
new file mode 100644
index 0000000..86d2b92
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/controls/listClasses/IListItemRenderer.as
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.listClasses
+{
+
+import flash.events.IEventDispatcher;
+import mx.core.IDataRenderer;
+import mx.core.IFlexDisplayObject;
+import mx.core.IUIComponent;
+import mx.managers.ILayoutManagerClient;
+import mx.styles.ISimpleStyleClient;
+
+/**
+ * Item renderers and item editors for list components must implement
+ * the IListItemRenderer interface.
+ * The IListItemRenderer interface is a set of several other interfaces.
+ * It does not define any new class methods or properties.
+ *
+ * <p>The set of interfaces includes the following:
+ * IDataRenderer, IFlexDisplayObject, ILayoutManagerClient,
+ * ISimpleStyleClient, IUIComponent.
+ * The UIComponent class implements all of these interfaces,
+ * except the IDataRenderer interface.
+ * Therefore, if you create a custom item renderer or item editor
+ * as a subclass of the UIComponent class, you only have to implement
+ * the IDataRenderer interface and then you can add to the class
+ * definition that the class implements IDataRenderer and IListItemRenderer.</p>
+ *
+ * <p>IListItemRenderers are generally dedicated to displaying a particular
+ * field from the data provider item and cannot be re-used in other
+ * DataGrid columns or in other lists with different fields. If you want
+ * to create a renderer that can be re-used you can also implement
+ * IDropInListItemRenderer, and the list will pass more data to
+ * the renderer that allows the renderer to be re-used with different
+ * data fields.</p>
+ *
+ * <p>Item renderers and item editors are passed data from a list class'
+ * data provider using the IDataRenderer interface.
+ * Renderers and editors that implement the IDropInListItemRenderer
+ * interface get other information from the list class.
+ * The item renderer or item editor uses one or both pieces of information
+ * to display the data.</p>
+ *
+ * <p>The renderers and editors are often recycled.
+ * Once they are created, they may be used again simply by being given
+ * a new data and optional <code>listData</code> property.
+ * Therefore in your implementation you must make sure that component
+ * properties are not assumed to contain their initial, or default values.</p>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public interface IListItemRenderer extends IDataRenderer, IEventDispatcher,
+ IFlexDisplayObject,
+ ILayoutManagerClient,
+ ISimpleStyleClient, IUIComponent
+{
+}
+
+}
[38/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Adjusted a property name that wasn't correctly updated to reflect recent
refactorings
Posted by ah...@apache.org.
- Adjusted a property name that wasn't correctly updated to reflect recent refactorings
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9481792e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9481792e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9481792e
Branch: refs/heads/spark
Commit: 9481792e7c15f98d7de1ef9c97187759593b683d
Parents: a1c52cb
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu May 19 10:27:11 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9481792e/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml b/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
index 5e70a10..13cc1a9 100644
--- a/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
+++ b/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
@@ -23,7 +23,7 @@
xmlns:models="models.*"
xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:cordova="library://ns.apache.org/flexjs/cordova"
- deviceready="MyInitialView(initialView).ready = true"
+ isdeviceready="MyInitialView(initialView).ready = true"
>
<cordova:valuesImpl>
[23/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Resolved a problem in the parent relationship (Thanks to Sergio Fernandez)
Posted by ah...@apache.org.
- Resolved a problem in the parent relationship (Thanks to Sergio Fernandez)
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7cda7797
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7cda7797
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7cda7797
Branch: refs/heads/spark
Commit: 7cda779714fabc6037ec39e0fc799c3015aa336f
Parents: 44b6619
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 15:29:25 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
frameworks/projects/pom.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7cda7797/frameworks/projects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index 9ac0738..d8bd39a 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -21,9 +21,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>14</version>
+ <groupId>org.apache.flex.flexjs</groupId>
+ <artifactId>flex-asjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.apache.flex.flexjs.framework</groupId>
[04/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/build.xml b/frameworks/js/FlexJS/projects/Graphics/build.xml
deleted file mode 100644
index bcf5da3..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/build.xml
+++ /dev/null
@@ -1,147 +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="GraphicsJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="GraphicsJS.swc" />
- <property name="target.name.no.version" value="GraphicsJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GraphicsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Graphics/src/main/config/compile-js-config.xml
deleted file mode 100644
index 8a65a62..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Graphics/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Graphics/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>GraphicsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
new file mode 100644
index 0000000..83db7fb
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Graphics.as" projectUUID="ff3e0531-b7c9-4b0c-9146-05c27a47f837" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Graphics/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Graphics.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/.flexLibProperties b/frameworks/js/FlexJS/projects/GraphicsJS/.flexLibProperties
new file mode 100644
index 0000000..aacd132
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="GraphicsClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/.project b/frameworks/js/FlexJS/projects/GraphicsJS/.project
new file mode 100644
index 0000000..6d9a0f6
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>GraphicsJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/GraphicsJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..95006fb
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:43:15 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
new file mode 100644
index 0000000..bcf5da3
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
@@ -0,0 +1,147 @@
+<?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="GraphicsJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="GraphicsJS.swc" />
+ <property name="target.name.no.version" value="GraphicsJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GraphicsJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ <ant dir="asjs/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GraphicsJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/GraphicsJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..8a65a62
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Graphics/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Graphics/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>GraphicsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTML/.actionScriptProperties
deleted file mode 100644
index 476cd3f..0000000
--- a/frameworks/js/FlexJS/projects/HTML/.actionScriptProperties
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="HTML.as" projectUUID="10468643-4626-481f-ba6b-3f035ccbbabb" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/HTML/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/XML.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/BindingJS/target/BindingJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CollectionsJS/target/CollectionsJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="HTML.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/.flexLibProperties b/frameworks/js/FlexJS/projects/HTML/.flexLibProperties
deleted file mode 100644
index ce80227..0000000
--- a/frameworks/js/FlexJS/projects/HTML/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="HTMLClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/.project b/frameworks/js/FlexJS/projects/HTML/.project
deleted file mode 100644
index 011687f..0000000
--- a/frameworks/js/FlexJS/projects/HTML/.project
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>HTMLJS</name>
- <comment></comment>
- <projects>
- <project>BindingJS</project>
- <project>CollectionsJS</project>
- <project>CoreJS</project>
- <project>GraphicsJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/HTML/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index cefd511..0000000
--- a/frameworks/js/FlexJS/projects/HTML/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:46:00 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/build.xml b/frameworks/js/FlexJS/projects/HTML/build.xml
deleted file mode 100644
index d88fc4a..0000000
--- a/frameworks/js/FlexJS/projects/HTML/build.xml
+++ /dev/null
@@ -1,146 +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="HTMLJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="HTMLJS.swc" />
- <property name="target.name.no.version" value="HTMLJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTMLJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="src/test/flex"/>
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/externs/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/HTML/src/main/config/compile-js-config.xml
deleted file mode 100644
index 2670033..0000000
--- a/frameworks/js/FlexJS/projects/HTML/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,90 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/BindingJS.swc</path-element>
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/GraphicsJS.swc</path-element>
- <path-element>../../../../../libs/CollectionsJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/HTML/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>../../../../../../../projects/HTML/src/main/resources/svg-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/HTML/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTML5/.actionScriptProperties
deleted file mode 100644
index fa7c089..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="HTML5.as" projectUUID="5f79f743-aaab-4427-9842-97bbd3d20850" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/HTML5/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="HTML5.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/.flexLibProperties b/frameworks/js/FlexJS/projects/HTML5/.flexLibProperties
deleted file mode 100644
index ff2ee0c..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="HTML5Classes"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/.project b/frameworks/js/FlexJS/projects/HTML5/.project
deleted file mode 100644
index 347cd59..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>HTML5JS</name>
- <comment></comment>
- <projects>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/HTML5/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index a632ce0..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Feb 04 21:04:32 PST 2016
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/build.xml b/frameworks/js/FlexJS/projects/HTML5/build.xml
deleted file mode 100644
index c375dbf..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/build.xml
+++ /dev/null
@@ -1,139 +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="HTML5JS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="HTML5JS.swc" />
- <property name="target.name.no.version" value="HTML5JS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTML5.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/HTML5/src/main/config/compile-js-config.xml
deleted file mode 100644
index a320c65..0000000
--- a/frameworks/js/FlexJS/projects/HTML5/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,77 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- <manifest>../../../../../../../projects/HTML5/src/main/resources/html5-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/HTML5/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>HTML5Classes</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
new file mode 100644
index 0000000..fa7c089
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="HTML5.as" projectUUID="5f79f743-aaab-4427-9842-97bbd3d20850" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/HTML5/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="HTML5.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/.flexLibProperties b/frameworks/js/FlexJS/projects/HTML5JS/.flexLibProperties
new file mode 100644
index 0000000..ff2ee0c
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="HTML5Classes"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/.project b/frameworks/js/FlexJS/projects/HTML5JS/.project
new file mode 100644
index 0000000..347cd59
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>HTML5JS</name>
+ <comment></comment>
+ <projects>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/HTML5JS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..a632ce0
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 21:04:32 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/build.xml b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
new file mode 100644
index 0000000..c375dbf
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
@@ -0,0 +1,139 @@
+<?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="HTML5JS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="HTML5JS.swc" />
+ <property name="target.name.no.version" value="HTML5JS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTML5.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
[16/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix clean
Posted by ah...@apache.org.
fix clean
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/379fa182
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/379fa182
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/379fa182
Branch: refs/heads/spark
Commit: 379fa182f499618ea1841dfef27c6256c7def632
Parents: d26703b
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 13 11:57:04 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/build.xml | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/379fa182/frameworks/js/FlexJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/build.xml b/frameworks/js/FlexJS/build.xml
index c4b88ca..182ca4d 100644
--- a/frameworks/js/FlexJS/build.xml
+++ b/frameworks/js/FlexJS/build.xml
@@ -136,25 +136,8 @@
<ant dir="${basedir}/projects/StorageJS" target="clean"/>
<ant dir="${basedir}/projects/XMLJS" target="clean"/>
- <!-- delete the FlashBuilder executable directories -->
- <delete includeemptydirs="true" failonerror="false">
- <fileset dir="${basedir}/projects">
- <include name="*/bin/**"/>
- </fileset>
- </delete>
- <!-- Delete empty folders -->
<delete dir="${basedir}/libs"/>
- <delete dir="${basedir}/locale">
- <exclude name="**/metadata.properties"/>
- </delete>
- <delete dir="${basedir}/libs/generated"/>
- <!-- Delete only if it exists and it is empty. air and swfobject put dirs here. -->
- <delete dir="${FLEXJS_HOME}/templates" includeemptydirs="true" failonerror="false">
- <exclude name="swfobject/index.template.html" />
- <exclude name="swfobject/expressInstall.swf" />
- <exclude name="swfobject/swfobject.js" />
- <exclude name="swfobject/history/**" />
- </delete>
+ <delete dir="${basedir}/generated-sources"/>
</target>
<target name="Binding" description="Clean build of Binding.swc">
[44/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - more
attempts to get Application and Label to compile
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/IContainer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/IContainer.as b/frameworks/projects/MX/src/main/flex/mx/core/IContainer.as
index 5ea3f6f..8151a41 100644
--- a/frameworks/projects/MX/src/main/flex/mx/core/IContainer.as
+++ b/frameworks/projects/MX/src/main/flex/mx/core/IContainer.as
@@ -106,7 +106,9 @@ include "IInteractiveObjectInterface.as"
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
function get horizontalScrollPosition():Number;
+ COMPILE::LATER
function set horizontalScrollPosition(value:Number):void;
/**
@@ -117,7 +119,9 @@ include "IInteractiveObjectInterface.as"
* @playerversion AIR 1.1
* @productversion Flex 3
*/
+ COMPILE::LATER
function get verticalScrollPosition():Number;
+ COMPILE::LATER
function set verticalScrollPosition(value:Number):void;
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/IDataRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/IDataRenderer.as b/frameworks/projects/MX/src/main/flex/mx/core/IDataRenderer.as
new file mode 100644
index 0000000..c3bfe10
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/core/IDataRenderer.as
@@ -0,0 +1,103 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.core
+{
+
+/**
+ * The IDataRenderer interface defines the interface for components that have a <code>data</code> property.
+ *
+ * <p>Components that are used in an item renderer or item editor
+ * in a list control (such as the List, HorizontalList, TileList, DataGrid,
+ * and Tree controls), or as renderers in a chart are passed the data
+ * to render or edit by using the <code>data</code> property.
+ * The component must implement IDataRenderer so that the host components
+ * can pass this information.
+ * All Flex containers and many Flex components implement IDataRenderer and
+ * the <code>data</code> property.</p>
+ *
+ * <p>In a list control, Flex sets the <code>data</code> property
+ * of an item renderer or item editor to the element in the data provider
+ * that corresponds to the item being rendered or edited.
+ * For a DataGrid control, the <code>data</code> property
+ * contains the data provider element for the entire row of the DataGrid
+ * control, not just for the item.</p>
+ *
+ * <p>To implement this interface, you define a setter and getter method
+ * to implement the <code>data</code> property.
+ * Typically, the setter method writes the value of the <code>data</code>
+ * property to an internal variable and dispatches a <code>dataChange</code>
+ * event, and the getter method returns the current value of the internal
+ * variable, as the following example shows:</p>
+ *
+ * <pre>
+ * // Internal variable for the property value.
+ * private var _data:Object;
+ *
+ * // Make the data property bindable.
+ * [Bindable("dataChange")]
+ *
+ * // Define the getter method.
+ * public function get data():Object {
+ * return _data;
+ * }
+ *
+ * // Define the setter method, and dispatch an event when the property
+ * // changes to support data binding.
+ * public function set data(value:Object):void {
+ * _data = value;
+ *
+ * dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
+ * }
+ * </pre>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public interface IDataRenderer
+{
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // data
+ //----------------------------------
+
+ /**
+ * The data to render or edit.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ function get data():Object;
+
+ /**
+ * @private
+ */
+ function set data(value:Object):void;
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/core/INavigatorContent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/core/INavigatorContent.as b/frameworks/projects/MX/src/main/flex/mx/core/INavigatorContent.as
new file mode 100644
index 0000000..27afaa4
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/core/INavigatorContent.as
@@ -0,0 +1,67 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.core
+{
+import mx.managers.IToolTipManagerClient;
+
+/**
+ * The INavigatorContent interface defines the interface that a container must
+ * implement to be used as the child of a navigator container,
+ * such as the ViewStack, TabNavigator, and Accordion navigator containers.
+ *
+ * @see mx.containers.Accordion
+ * @see mx.containers.TabNavigator
+ * @see mx.containers.ViewStack
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10
+ * @playerversion AIR 1.5
+ * @productversion Flex 4
+ */
+public interface INavigatorContent extends IDeferredContentOwner, IToolTipManagerClient
+{
+ [Bindable("labelChanged")]
+ /**
+ * The text displayed by the navigator container for this container.
+ * For example, the text appears in the button area of an Accordion container
+ * and in the tab area of the TabNavigator container.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10
+ * @playerversion AIR 1.5
+ * @productversion Flex 4
+ */
+ function get label():String;
+
+ [Bindable("iconChanged")]
+ /**
+ * The icon displayed by the navigator container for this container.
+ * The icon appears in the button area of an Accordion container
+ * and in the tab area of the TabNavigator container.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10
+ * @playerversion AIR 1.5
+ * @productversion Flex 4
+ */
+ function get icon():Class;
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/events/IndexChangedEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/IndexChangedEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/IndexChangedEvent.as
new file mode 100644
index 0000000..364717a
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/IndexChangedEvent.as
@@ -0,0 +1,310 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.events
+{
+
+import flash.display.DisplayObject;
+import flash.events.Event;
+
+/**
+ * The IndexChangedEvent class represents events that are dispatched when
+ * an index changes.
+ * This event can indicate that the index value of a child of a container changed,
+ * the displayed child of a navigator container such as an Accordion or
+ * ViewStack changed, or the order of column headers in a DataGrid
+ * control changed.
+ *
+ * @see mx.core.Container
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+public class IndexChangedEvent extends Event
+{
+ include "../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Class constants
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * The IndexChangedEvent.CHANGE constant defines the value of the
+ * <code>type</code> property of the event object for a <code>change</code> event,
+ * which indicates that an index has changed, such as when and Accordion control
+ * changes the displayed panel or a ViewStack changes views.
+ *
+ * <p>The properties of the event object have the following values:</p>
+ * <table class="innertable">
+ * <tr><th>Property</th><th>Value</th></tr>
+ * <tr><td><code>bubbles</code></td><td>false</td></tr>
+ * <tr><td><code>cancelable</code></td><td>false</td></tr>
+ * <tr><td><code>currentTarget</code></td><td>The Object that defines the
+ * event listener that handles the event. For example, if you use
+ * <code>myButton.addEventListener()</code> to register an event listener,
+ * myButton is the value of the <code>currentTarget</code>. </td></tr>
+ * <tr><td><code>inputType</code></td><td>Indicates whether this event
+ * was caused by a mouse or keyboard interaction.</td></tr>
+ * <tr><td><code>newIndex</code></td><td>The zero-based index
+ * after the change.</td></tr>
+ * <tr><td><code>oldIndex</code></td><td>The zero-based index
+ * before the change.</td></tr>
+ * <tr><td><code>relatedObject</code></td><td>Contains a reference
+ * to the child object that corresponds to the new index.</td></tr>
+ * <tr><td><code>target</code></td><td>The Object that dispatched the event;
+ * it is not always the Object listening for the event.
+ * Use the <code>currentTarget</code> property to always access the
+ * Object listening for the event.</td></tr>
+ * <tr><td><code>TriggerEvent</code></td><td>The event that
+ * triggered this event.</td></tr>
+ * <tr><td><code>Type</code></td><td>IndexChangedEvent.CHANGE</td></tr>
+ * </table>
+ *
+ * @eventType change
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const CHANGE:String = "change";
+
+ /**
+ * The IndexChangedEvent.CHILD_INDEX_CHANGE constant defines the value of the
+ * <code>type</code> property of the event object for a childIndexChange event,
+ * which indicates that a component's index among a container's children
+ * has changed.
+ *
+ * <p>The properties of the event object have the following values:</p>
+ * <table class="innertable">
+ * <tr><th>Property</th><th>Value</th></tr>
+ * <tr><td><code>bubbles</code></td><td>false</td></tr>
+ * <tr><td><code>cancelable</code></td><td>false</td></tr>
+ * <tr><td><code>currentTarget</code></td><td>The Object that defines the
+ * event listener that handles the event. For example, if you use
+ * <code>myButton.addEventListener()</code> to register an event listener,
+ * myButton is the value of the <code>currentTarget</code>. </td></tr>
+ * <tr><td><code>inputType</code></td><td>Indicates whether this event
+ * was caused by a mouse or keyboard interaction.</td></tr>
+ * <tr><td><code>newIndex</code></td><td>The zero-based index of the
+ * child after the change.</td></tr>
+ * <tr><td><code>oldIndex</code></td><td>The zero-based index of the
+ * child before the change.</td></tr>
+ * <tr><td><code>relatedObject</code></td><td>Contains a reference
+ * to the child object whose index changed.</td></tr>
+ * <tr><td><code>target</code></td><td>The Object that dispatched the event;
+ * it is not always the Object listening for the event.
+ * Use the <code>currentTarget</code> property to always access the
+ * Object listening for the event.</td></tr>
+ * <tr><td><code>TriggerEvent</code></td><td>null</td></tr>
+ * <tr><td><code>Type</code></td><td>IndexChangedEvent.CHILD_INDEX_CHANGE</td></tr>
+ * </table>
+ *
+ * @eventType childIndexChange
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const CHILD_INDEX_CHANGE:String = "childIndexChange";
+
+ /**
+ * The IndexChangedEvent.HEADER_SHIFT constant defines the value of the
+ * <code>type</code> property of the event object for a <code>headerShift</code> event,
+ * which indicates that a header has changed its index, as when a user drags
+ * a DataGrid column to a new position.
+ *
+ * <p>The properties of the event object have the following values:</p>
+ * <table class="innertable">
+ * <tr><th>Property</th><th>Value</th></tr>
+ * <tr><td><code>bubbles</code></td><td>false</td></tr>
+ * <tr><td><code>cancelable</code></td><td>false</td></tr>
+ * <tr><td><code>currentTarget</code></td><td>The Object that defines the
+ * event listener that handles the event. For example, if you use
+ * <code>myButton.addEventListener()</code> to register an event listener,
+ * myButton is the value of the <code>currentTarget</code>. </td></tr>
+ * <tr><td><code>inputType</code></td><td>Indicates whether this event
+ * was caused by a mouse or keyboard interaction.</td></tr>
+ * <tr><td><code>newIndex</code></td><td>The zero-based index of the
+ * header after the change.</td></tr>
+ * <tr><td><code>oldIndex</code></td><td>The zero-based index of the
+ * header before the change.</td></tr>
+ * <tr><td><code>relatedObject</code></td><td>null</td></tr>
+ * <tr><td><code>target</code></td><td>The Object that dispatched the event;
+ * it is not always the Object listening for the event.
+ * Use the <code>currentTarget</code> property to always access the
+ * Object listening for the event.</td></tr>
+ * <tr><td><code>TriggerEvent</code></td><td>The event that
+ * triggered this event.</td></tr>
+ * <tr><td><code>Type</code></td><td>IndexChangedEvent.HEADER_SHIFT</td></tr>
+ * </table>
+ *
+ * @eventType headerShift
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const HEADER_SHIFT:String = "headerShift";
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ * Normally called by a Flex control and not used in application code.
+ *
+ * @param type The event type; indicates the action that caused the event.
+ *
+ * @param bubbles Specifies whether the event can bubble
+ * up the display list hierarchy.
+ *
+ * @param cancelable Specifies whether the behavior
+ * associated with the event can be prevented.
+ *
+ * @param relatedObject The child object associated with the index change.
+ *
+ * @param oldIndex The zero-based index before the change.
+ *
+ * @param newIndex The zero-based index after the change.
+ *
+ * @param triggerEvent The event that triggered this event.
+ *
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function IndexChangedEvent(type:String, bubbles:Boolean = false,
+ cancelable:Boolean = false,
+ relatedObject:DisplayObject = null,
+ oldIndex:Number = -1,
+ newIndex:Number = -1,
+ triggerEvent:Event = null)
+ {
+ super(type, bubbles, cancelable);
+
+ this.relatedObject = relatedObject;
+ this.oldIndex = oldIndex;
+ this.newIndex = newIndex;
+ this.triggerEvent = triggerEvent;
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // newIndex
+ //----------------------------------
+
+ /**
+ * The zero-based index after the change. For <code>change</code> events
+ * it is the index of the current child. For <code>childIndexChange</code>
+ * events, it is the new index of the child. For <code>headerShift</code>
+ * events, it is the new index of the header.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var newIndex:Number;
+
+ //----------------------------------
+ // oldIndex
+ //----------------------------------
+
+ /**
+ * The zero-based index before the change.
+ * For <code>change</code> events it is the index of the previous child.
+ * For <code>childIndexChange</code> events, it is the previous index
+ * of the child.
+ * For <code>headerShift</code> events, it is the previous index of
+ * the header.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var oldIndex:Number;
+
+ //----------------------------------
+ // relatedObject
+ //----------------------------------
+
+ /**
+ * The child object whose index changed, or the object associated with
+ * the new index. This property is not set for header changes.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var relatedObject:DisplayObject;
+
+ //----------------------------------
+ // triggerEvent
+ //----------------------------------
+
+ /**
+ * The event that triggered this event.
+ * Indicates whether this event was caused by a mouse or keyboard interaction.
+ * The value is <code>null</code> when a container dispatches a
+ * <code>childIndexChanged</code> event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var triggerEvent:Event;
+
+ //--------------------------------------------------------------------------
+ //
+ // Overridden methods: Event
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ */
+ override public function clone():Event
+ {
+ return new IndexChangedEvent(type, bubbles, cancelable,
+ relatedObject, oldIndex,
+ newIndex, triggerEvent);
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/managers/IActiveWindowManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/managers/IActiveWindowManager.as b/frameworks/projects/MX/src/main/flex/mx/managers/IActiveWindowManager.as
new file mode 100644
index 0000000..2c36b0c
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/managers/IActiveWindowManager.as
@@ -0,0 +1,100 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.managers
+{
+
+import mx.managers.IFocusManagerContainer;
+
+[ExcludeClass]
+
+/**
+ * Interface for subsystem that manages which focus manager is active
+ * when there is more than one IFocusManagerContainer on screen.
+ */
+public interface IActiveWindowManager
+{
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //----------------------------------
+ // numModalWindows
+ //----------------------------------
+
+ /**
+ * The number of modal windows.
+ *
+ * <p>Modal windows don't allow
+ * clicking in another windows which would normally
+ * activate the FocusManager in that window. The PopUpManager
+ * modifies this count as it creates and destroy modal windows.</p>
+ */
+ function get numModalWindows():int;
+
+ /**
+ * @private
+ */
+ function set numModalWindows(value:int):void;
+
+
+ //--------------------------------------------------------------------------
+ //
+ // Methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Registers a top-level window containing a FocusManager.
+ * Called by the FocusManager, generally not called by application code.
+ *
+ * @param f The top-level window in the application.
+ */
+ function addFocusManager(f:IFocusManagerContainer):void;
+
+ /**
+ * Unregisters a top-level window containing a FocusManager.
+ * Called by the FocusManager, generally not called by application code.
+ *
+ * @param f The top-level window in the application.
+ */
+ function removeFocusManager(f:IFocusManagerContainer):void;
+
+ /**
+ * Activates the FocusManager in an IFocusManagerContainer.
+ *
+ * @param f IFocusManagerContainer the top-level window
+ * whose FocusManager should be activated.
+ */
+ function activate(f:Object):void;
+
+ /**
+ * Deactivates the FocusManager in an IFocusManagerContainer, and activate
+ * the FocusManager of the next highest window that is an IFocusManagerContainer.
+ *
+ * @param f IFocusManagerContainer the top-level window
+ * whose FocusManager should be deactivated.
+ */
+ function deactivate(f:Object):void;
+
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/styles/metadata/ModalTransparencyStyles.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/styles/metadata/ModalTransparencyStyles.as b/frameworks/projects/MX/src/main/flex/mx/styles/metadata/ModalTransparencyStyles.as
new file mode 100644
index 0000000..2c188db
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/styles/metadata/ModalTransparencyStyles.as
@@ -0,0 +1,80 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * Modality of components launched by the PopUp Manager is simulated by
+ * creating a large translucent overlay underneath the component.
+ * Because of the way translucent objects are rendered, you may notice a slight
+ * dimming of the objects under the overlay.
+ * The effective transparency can be set by changing the
+ * <code>modalTransparency</code> value from 0.0 (fully transparent)
+ * to 1.0 (fully opaque).
+ * You can also set the color of the overlay by changing the
+ * <code>modalTransparencyColor</code> style.
+ *
+ * @default 0.5
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="modalTransparency", type="Number", inherit="yes")]
+
+/**
+ * The blur applied to the application while a modal window is open.
+ * A Blur effect softens the details of an image.
+ *
+ * @see flash.filters.BlurFilter
+ *
+ * @default 3
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="modalTransparencyBlur", type="Number", inherit="yes")]
+
+/**
+ * Color of the modal overlay layer. This style is used in conjunction
+ * with the <code>modalTransparency</code> style to determine the colorization
+ * applied to the application when a modal window is open.
+ *
+ * @default #DDDDDD
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="modalTransparencyColor", type="uint", format="Color", inherit="yes")]
+
+/**
+ * Duration, in milliseconds, of the modal transparency effect that
+ * plays when a modal window opens or closes.
+ *
+ * @default 100
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="modalTransparencyDuration", type="Number", format="Time", inherit="yes")]
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4cb764e/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as b/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
new file mode 100644
index 0000000..9984514
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
@@ -0,0 +1,658 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 mx.utils
+{
+
+import flash.display.DisplayObject;
+import flash.display.LoaderInfo;
+import flash.events.IEventDispatcher;
+import flash.system.Capabilities;
+import flash.utils.Dictionary;
+
+import mx.core.ApplicationDomainTarget;
+import mx.core.IFlexModuleFactory;
+import mx.core.mx_internal;
+import mx.core.RSLData;
+import mx.events.Request;
+import mx.managers.SystemManagerGlobals;
+import mx.utils.Platform;
+
+import flash.display.Loader;
+
+use namespace mx_internal;
+
+ /**
+ * The LoaderUtil class defines utility methods for use with Flex RSLs and
+ * generic Loader instances.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class LoaderUtil
+ {
+
+ include "../core/Version.as";
+
+ //--------------------------------------------------------------------------
+ //
+ // Class variables
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ *
+ * An array of search strings and filters. These are used in the normalizeURL
+ * method. normalizeURL is used to remove special Flash Player markup from
+ * urls, but the array could be appended to by the user to modify urls in other
+ * ways.
+ *
+ * Each object in the array has two fields:
+ *
+ * 1. searchString - the string to search the url
+ * 2. filterFunction - a function that accepts an url and an index to the first
+ * occurrence of the search string in the url. The function may modify the url
+ * and return a new url. A filterFunction is only called once, for the first
+ * occurrence of where the searchString was found. If there
+ * are multiple strings in the url that need to be processed the filterFunction
+ * should handle all of them on the call. A filter function should
+ * be defined as follows:
+ *
+ * @param url the url to process.
+ * @param index the index of the first occurrence of the seachString in the url.
+ * @return the new url.
+ *
+ * function filterFunction(url:String, index:int):String
+ *
+ */
+ mx_internal static var urlFilters:Array =
+ [
+ { searchString: "/[[DYNAMIC]]/", filterFunction: dynamicURLFilter},
+ { searchString: "/[[IMPORT]]/", filterFunction: importURLFilter}
+ ];
+
+ //--------------------------------------------------------------------------
+ //
+ // Class methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * The root URL of a cross-domain RSL contains special text
+ * appended to the end of the URL.
+ * This method normalizes the URL specified in the specified LoaderInfo instance
+ * to remove the appended text, if present.
+ * Classes accessing <code>LoaderInfo.url</code> should call this method
+ * to normalize the URL before using it.
+ * This method also encodes the url by calling the encodeURI() method
+ * on it. If you want the unencoded url, you must call unencodeURI() on
+ * the results.
+ *
+ * @param loaderInfo A LoaderInfo instance.
+ *
+ * @return A normalized <code>LoaderInfo.url</code> property.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static function normalizeURL(loaderInfo:LoaderInfo):String
+ {
+ var url:String = loaderInfo.url;
+ var index:int;
+ var searchString:String;
+ var urlFilter:Function;
+ var n:uint = LoaderUtil.urlFilters.length;
+
+ for (var i:uint = 0; i < n; i++)
+ {
+ searchString = LoaderUtil.urlFilters[i].searchString;
+ if ((index = url.indexOf(searchString)) != -1)
+ {
+ urlFilter = LoaderUtil.urlFilters[i].filterFunction;
+ url = urlFilter(url, index);
+ }
+ }
+
+ // On the mac, the player doesn't like filenames with high-ascii
+ // characters. Calling encodeURI fixes this problem. We restrict
+ // this call to mac-only since it causes problems on Windows.
+ if (Platform.isMac)
+ return encodeURI(url);
+
+ return url;
+ }
+
+ /**
+ * @private
+ *
+ * Use this method when you want to load resources with relative URLs.
+ *
+ * Combine a root url with a possibly relative url to get a absolute url.
+ * Use this method to convert a relative url to an absolute URL that is
+ * relative to a root URL.
+ *
+ * @param rootURL An url that will form the root of the absolute url.
+ * If the <code>rootURL</code> does not specify a file name it must be
+ * terminated with a slash. For example, "http://a.com" is incorrect, it
+ * should be terminated with a slash, "http://a.com/". If the rootURL is
+ * taken from loaderInfo, it must be passed thru <code>normalizeURL</code>
+ * before being passed to this function.
+ *
+ * When loading resources relative to an application, the rootURL is
+ * typically the loaderInfo.url of the application.
+ *
+ * @param url The url of the resource to load (may be relative).
+ *
+ * @return If <code>url</code> is already an absolute URL, then it is
+ * returned as is. If <code>url</code> is relative, then an absolute URL is
+ * returned where <code>url</code> is relative to <code>rootURL</code>.
+ */
+ public static function createAbsoluteURL(rootURL:String, url:String):String
+ {
+ var absoluteURL:String = url;
+
+ // make relative paths relative to the SWF loading it, not the top-level SWF
+ if (rootURL &&
+ !(url.indexOf(":") > -1 || url.indexOf("/") == 0 || url.indexOf("\\") == 0))
+ {
+ // First strip off the search string and then any url fragments.
+ var index:int;
+
+ if ((index = rootURL.indexOf("?")) != -1 )
+ rootURL = rootURL.substring(0, index);
+
+ if ((index = rootURL.indexOf("#")) != -1 )
+ rootURL = rootURL.substring(0, index);
+
+ // If the url starts from the current directory, then just skip
+ // over the "./".
+ // If the url start from the parent directory, the we need to
+ // modify the rootURL.
+ var lastIndex:int = Math.max(rootURL.lastIndexOf("\\"), rootURL.lastIndexOf("/"));
+ if (url.indexOf("./") == 0)
+ {
+ url = url.substring(2);
+ }
+ else
+ {
+ while (url.indexOf("../") == 0)
+ {
+ url = url.substring(3);
+ lastIndex = Math.max(rootURL.lastIndexOf("\\", lastIndex - 1),
+ rootURL.lastIndexOf("/", lastIndex - 1));
+ }
+ }
+
+ if (lastIndex != -1)
+ absoluteURL = rootURL.substr(0, lastIndex + 1) + url;
+ }
+
+ return absoluteURL;
+ }
+
+ /**
+ * @private
+ *
+ * Takes a list of required rsls and determines:
+ * - which RSLs have not been loaded
+ * - the application domain and IModuleFactory where the
+ * RSL should be loaded
+ *
+ * @param moduleFactory The module factory of the application or module
+ * to get load information for. If the moduleFactory has not loaded the
+ * module, then its parent is asked for load information. Each successive
+ * parent is asked until the load information is found or there are no
+ * more parents to ask. Only parents in parent ApplicationDomains are
+ * searched. Applications in different security domains or sibling
+ * ApplicationDomains do not share RSLs.
+ *
+ * @param rsls An array of RSLs that are required for
+ * <code>moduleFactory</code>. Each RSL is in an array of RSLData where
+ * the first element is the primary RSL and the remaining elements are
+ * failover RSLs.
+ * @return Array of RSLData that represents the RSLs to load. RSLs that are
+ * already loaded are not in the listed.
+ */
+ COMPILE::LATER
+ mx_internal static function processRequiredRSLs(moduleFactory:IFlexModuleFactory,
+ rsls:Array):Array
+ {
+ var rslsToLoad:Array = []; // of Array, where each element is an array
+ // of RSLData (primary and failover), return value
+ var topLevelModuleFactory:IFlexModuleFactory = SystemManagerGlobals.topLevelSystemManagers[0];
+ var currentModuleFactory:IFlexModuleFactory = topLevelModuleFactory;
+ var parentModuleFactory:IFlexModuleFactory = null;
+ var loaded:Dictionary = new Dictionary(); // contains rsls that are loaded
+ var loadedLength:int = 0;
+ var resolved:Dictionary = new Dictionary(); // contains rsls that have the app domain resolved
+ var resolvedLength:int = 0;
+ var moduleFactories:Array = null;
+
+ // Start at the top level module factory and work our way down the
+ // module factory chain checking if the any of the rsls are loaded
+ // and resolving application domain targets.
+ // We start at the top level module factory because the default rsls
+ // will all be loaded here and we won't often have to check other
+ // module factories.
+ while (currentModuleFactory != moduleFactory)
+ {
+ // Need to loop over all the rsls, to see which one are loaded
+ // and resolve application domains.
+ var n:int = rsls.length;
+ for (var i:int = 0; i < n; i++)
+ {
+ var rsl:Array = rsls[i];
+
+ // Check if the RSL has already been loaded.
+ if (!loaded[rsl])
+ {
+ if (isRSLLoaded(currentModuleFactory, rsl[0].digest))
+ {
+ loaded[rsl] = 1;
+ loadedLength++;
+
+ // We may find an rsl loaded in a module factory as we work
+ // our way down the module factory list. If we find one then
+ // remove it.
+ if (currentModuleFactory != topLevelModuleFactory)
+ {
+ var index:int = rslsToLoad.indexOf(rsl);
+ if (index != -1)
+ rslsToLoad.splice(index, 1);
+ }
+ }
+ else if (rslsToLoad.indexOf(rsl) == -1)
+ {
+ rslsToLoad.push(rsl); // assume we have to load it
+ }
+ }
+
+ // If the rsl is already loaded or already resolved then
+ // skip resolving it.
+ if (!loaded[rsl] && resolved[rsl] == null)
+ {
+ // Get the parent module factory if we are going to need to
+ // resolve the application domain target.
+ if (!parentModuleFactory &&
+ RSLData(rsl[0]).applicationDomainTarget == ApplicationDomainTarget.PARENT)
+ {
+ parentModuleFactory = getParentModuleFactory(moduleFactory);
+ }
+
+ // Resolve the application domain target.
+ if (resolveApplicationDomainTarget(rsl,
+ moduleFactory,
+ currentModuleFactory,
+ parentModuleFactory,
+ topLevelModuleFactory))
+ {
+ resolved[rsl] = 1;
+ resolvedLength++;
+ }
+ }
+ }
+
+ // If process all rsls then get out.
+ if (loadedLength + resolvedLength >= rsls.length)
+ break;
+
+ // If we didn't find everything in the top level module factory then work
+ // down towards the rsl's owning module factory.
+ // Build up the module factory parent chain so we can traverse it.
+ if (!moduleFactories)
+ {
+ moduleFactories = [moduleFactory];
+ currentModuleFactory = moduleFactory;
+ while (currentModuleFactory != topLevelModuleFactory)
+ {
+
+ currentModuleFactory = getParentModuleFactory(currentModuleFactory);
+
+ // If we couldn't get the parent module factory, then we
+ // will have to load into the highest application domain
+ // that is available. We won't be able to get a parent
+ // if a module was loaded without specifying a parent
+ // module factory.
+ if (!currentModuleFactory)
+ break;
+
+ if (currentModuleFactory != topLevelModuleFactory)
+ moduleFactories.push(currentModuleFactory);
+
+ if (!parentModuleFactory)
+ parentModuleFactory = currentModuleFactory;
+ }
+ }
+
+ currentModuleFactory = moduleFactories.pop();
+ }
+
+ return rslsToLoad;
+ }
+
+ /**
+ * @private
+ * Test whether a url is on the local filesystem. We can only
+ * really tell this with URLs that begin with "file:" or a
+ * Windows-style drive notation such as "C:". This fails some
+ * cases like the "/" notation on Mac/Unix.
+ *
+ * @param url
+ * the url to check against
+ *
+ * @return
+ * true if url is local, false if not or unable to determine
+ **/
+ mx_internal static function isLocal(url:String):Boolean
+ {
+ return (url.indexOf("file:") == 0 || url.indexOf(":") == 1);
+ }
+
+ /**
+ * @private
+ * Currently (FP 10.x) the ActiveX player (Explorer on Windows) does not
+ * handle encoded URIs containing UTF-8 on the local filesystem, but
+ * it does handle those same URIs unencoded. The plug-in requires
+ * encoded URIs.
+ *
+ * @param url
+ * url to properly encode, may be fully or partially encoded with encodeURI
+ *
+ * @param local
+ * true indicates the url is on the local filesystem
+ *
+ * @return
+ * encoded url that may be loaded with a URLRequest
+ **/
+ mx_internal static function OSToPlayerURI(url:String, local:Boolean):String
+ {
+
+ // First strip off the search string and any url fragments so
+ // they will not be decoded/encoded.
+ // Next decode the url.
+ // Before returning the decoded or encoded string add the search
+ // string and url fragment back.
+ var searchStringIndex:int;
+ var fragmentUrlIndex:int;
+ var decoded:String = url;
+
+ if ((searchStringIndex = decoded.indexOf("?")) != -1 )
+ {
+ decoded = decoded.substring(0, searchStringIndex);
+ }
+
+ if ((fragmentUrlIndex = decoded.indexOf("#")) != -1 )
+ decoded = decoded.substring(0, fragmentUrlIndex);
+
+ try
+ {
+ // decode the url
+ decoded = decodeURI(decoded);
+ }
+ catch (e:Error)
+ {
+ // malformed url, but some are legal on the file system
+ }
+
+ // create the string to hold the the search string url fragments.
+ var extraString:String = null;
+ if (searchStringIndex != -1 || fragmentUrlIndex != -1)
+ {
+ var index:int = searchStringIndex;
+
+ if (searchStringIndex == -1 ||
+ (fragmentUrlIndex != -1 && fragmentUrlIndex < searchStringIndex))
+ {
+ index = fragmentUrlIndex;
+ }
+
+ extraString = url.substr(index);
+ }
+
+ if (local && flash.system.Capabilities.playerType == "ActiveX")
+ {
+ if (extraString)
+ return decoded + extraString;
+ else
+ return decoded;
+ }
+
+ if (extraString)
+ return encodeURI(decoded) + extraString;
+ else
+ return encodeURI(decoded);
+ }
+
+ /**
+ * @private
+ * Get the parent module factory.
+ *
+ * @param moduleFactory The module factory to get the parent of.
+ *
+ * @return the parent module factory if available, null otherwise.
+ */
+ private static function getParentModuleFactory(moduleFactory:IFlexModuleFactory):IFlexModuleFactory
+ {
+ var request:Request = new Request(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST);
+ DisplayObject(moduleFactory).dispatchEvent(request);
+ return request.value as IFlexModuleFactory;
+ }
+
+ /**
+ * @private
+ * Resolve the application domain target.
+ *
+ * @param rsl to resolve.
+ * @param moduleFactory The module factory loading the RSLs.
+ * @param currentModuleFactory The module factory to search for placeholders.
+ * @param parentModuleFactory The rsl's parent module factory.
+ * @param topLevelModuleFactory The top-level module factory.
+ *
+ * @return true if the application domain target was resolved,
+ * false otherwise.
+ */
+ COMPILE::LATER
+ private static function resolveApplicationDomainTarget(rsl:Array,
+ moduleFactory:IFlexModuleFactory,
+ currentModuleFactory:IFlexModuleFactory,
+ parentModuleFactory:IFlexModuleFactory,
+ topLevelModuleFactory:IFlexModuleFactory):Boolean
+ {
+ var resolvedRSL:Boolean = false;
+ var targetModuleFactory:IFlexModuleFactory = null;
+
+ var applicationDomainTarget:String = rsl[0].applicationDomainTarget;
+ if (isLoadedIntoTopLevelApplicationDomain(moduleFactory))
+ {
+ targetModuleFactory = topLevelModuleFactory;
+ }
+ else if (applicationDomainTarget == ApplicationDomainTarget.DEFAULT)
+ {
+ if (hasPlaceholderRSL(currentModuleFactory, rsl[0].digest))
+ {
+ targetModuleFactory = currentModuleFactory;
+ }
+ }
+ else if (applicationDomainTarget == ApplicationDomainTarget.TOP_LEVEL)
+ {
+ targetModuleFactory = topLevelModuleFactory;
+ }
+ else if (applicationDomainTarget == ApplicationDomainTarget.CURRENT)
+ {
+ resolvedRSL = true;
+ }
+ else if (applicationDomainTarget == ApplicationDomainTarget.PARENT)
+ {
+ // If there is no parent, ignore the target and load into the current
+ // app domain.
+ targetModuleFactory = parentModuleFactory;
+ }
+ else
+ {
+ resolvedRSL = true; // bogus target, load into current application domain
+ }
+
+ if (resolvedRSL || targetModuleFactory)
+ {
+ if (targetModuleFactory)
+ updateRSLModuleFactory(rsl, targetModuleFactory);
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * @private
+ * Determine if the moduleFactory has loaded an rsl that matches the
+ * specified digest.
+ *
+ * @param moduleFactory The module factory to search.
+ * @param digest The digest to search for.
+ * @return true if a loaded rsl matching the digest was found.
+ */
+ COMPILE::LATER
+ private static function isRSLLoaded(moduleFactory:IFlexModuleFactory, digest:String):Boolean
+ {
+ var preloadedRSLs:Dictionary = moduleFactory.preloadedRSLs;
+
+ if (preloadedRSLs)
+ {
+ // loop over the rsls to find a matching digest
+ for each (var rsl:Vector.<RSLData> in preloadedRSLs)
+ {
+ var n:int = rsl.length;
+ for (var i:int = 0; i < n; i++)
+ {
+ if (rsl[i].digest == digest)
+ {
+ return true;
+ }
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * @private
+ *
+ * Determine if the moduleFactory has a placeholder rsl that matches the
+ * specified digest.
+ *
+ * @param moduleFactory The module factory to search.
+ * @param digest The digest to search for.
+ * @return true if a placeholder rsl matching the digest was found.
+ */
+ private static function hasPlaceholderRSL(moduleFactory:IFlexModuleFactory, digest:String):Boolean
+ {
+ var phRSLs:Array = moduleFactory.info()["placeholderRsls"];
+
+ if (phRSLs)
+ {
+ // loop over the rsls to find a matching digest
+ var n:int = phRSLs.length;
+ for (var i:int = 0; i < n; i++)
+ {
+ var rsl:Object = phRSLs[i];
+ var m:int = rsl.length;
+ for (var j:int = 0; j < m; j++)
+ {
+ if (rsl[j].digest == digest)
+ {
+ return true;
+ }
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * @private
+ * Test if a module factory has been loaded into the top-level application domain.
+ *
+ * @return true if loaded into the top-level application domain, false otherwise.
+ */
+ private static function isLoadedIntoTopLevelApplicationDomain(moduleFactory:IFlexModuleFactory):Boolean
+ {
+ if (moduleFactory is DisplayObject)
+ {
+ var displayObject:DisplayObject = DisplayObject(moduleFactory);
+ var loaderInfo:LoaderInfo = displayObject.loaderInfo;
+ if (loaderInfo && loaderInfo.applicationDomain &&
+ loaderInfo.applicationDomain.parentDomain == null)
+ {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * @private
+ *
+ * Update the module factory of an rsl, both the primary rsl and all
+ * failover rsls.
+ *
+ * @param rsl One RSL represented by an array of RSLData. The
+ * first element in the array is the primary rsl, the others are failovers.
+ * @param moduleFactory The moduleFactory to set in the primary and
+ * failover rsls.
+ */
+ private static function updateRSLModuleFactory(rsl:Array, moduleFactory:IFlexModuleFactory):void
+ {
+ var n:int = rsl.length;
+ for (var i:int = 0; i < n; i++)
+ {
+ rsl[i].moduleFactory = moduleFactory;
+ }
+ }
+
+ /**
+ * @private
+ *
+ * Strip off the DYNAMIC string(s) appended to the url.
+ */
+ private static function dynamicURLFilter(url:String, index:int):String
+ {
+ return url.substring(0, index);
+ }
+
+ /**
+ * @private
+ *
+ * Add together the protocol plus everything after "/[[IMPORT]]/".
+ */
+ private static function importURLFilter(url:String, index:int):String
+ {
+ var protocolIndex:int = url.indexOf("://");
+ return url.substring(0,protocolIndex + 3) + url.substring(index + 12);
+ }
+
+ }
+}
\ No newline at end of file
[03/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTML5JS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/HTML5JS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..a320c65
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTML5JS/src/main/config/compile-js-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ <manifest>../../../../../../../projects/HTML5/src/main/resources/html5-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/HTML5/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>HTML5Classes</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
new file mode 100644
index 0000000..476cd3f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="HTML.as" projectUUID="10468643-4626-481f-ba6b-3f035ccbbabb" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/HTML/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/XML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/BindingJS/target/BindingJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CollectionsJS/target/CollectionsJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="HTML.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/.flexLibProperties b/frameworks/js/FlexJS/projects/HTMLJS/.flexLibProperties
new file mode 100644
index 0000000..ce80227
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="HTMLClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/.project b/frameworks/js/FlexJS/projects/HTMLJS/.project
new file mode 100644
index 0000000..011687f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/.project
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>HTMLJS</name>
+ <comment></comment>
+ <projects>
+ <project>BindingJS</project>
+ <project>CollectionsJS</project>
+ <project>CoreJS</project>
+ <project>GraphicsJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/HTMLJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..cefd511
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:46:00 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/build.xml b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
new file mode 100644
index 0000000..d88fc4a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
@@ -0,0 +1,146 @@
+<?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="HTMLJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="HTMLJS.swc" />
+ <property name="target.name.no.version" value="HTMLJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of HTMLJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="src/test/flex"/>
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/externs/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/HTMLJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/HTMLJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..2670033
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/HTMLJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,90 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/BindingJS.swc</path-element>
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/HTML/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>../../../../../../../projects/HTML/src/main/resources/svg-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/HTML/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/.actionScriptProperties b/frameworks/js/FlexJS/projects/JQuery/.actionScriptProperties
deleted file mode 100644
index 461c8be..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/.actionScriptProperties
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="JQuery.as" projectUUID="edaaba36-aa7e-491c-a242-f619527ec54d" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/JQuery/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/jquery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="JQuery.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/.flexLibProperties b/frameworks/js/FlexJS/projects/JQuery/.flexLibProperties
deleted file mode 100644
index b32c912..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="JQueryClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/.project b/frameworks/js/FlexJS/projects/JQuery/.project
deleted file mode 100644
index df6b4b0..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>JQueryJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/JQuery/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 31da594..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 14:02:24 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/build.xml b/frameworks/js/FlexJS/projects/JQuery/build.xml
deleted file mode 100644
index 7030adb..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/build.xml
+++ /dev/null
@@ -1,145 +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="jQueryJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="JQUERY.SWC" value="${FALCONJX_HOME}/../js/libs/jquery.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/jquery.swc" />
- </condition>
- <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/target/jquery-1.9.swc" />
- <property name="target.name" value="JQueryJS.swc" />
- <property name="target.name.no.version" value="JQueryJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of jQuery.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${JQUERY.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${JQUERY.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQuery/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQuery/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/JQuery/src/main/config/compile-js-config.xml
deleted file mode 100644
index 5892898..0000000
--- a/frameworks/js/FlexJS/projects/JQuery/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,86 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/BindingJS.swc</path-element>
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/GraphicsJS.swc</path-element>
- <path-element>../../../../../libs/CollectionsJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- <manifest>../../../../../../../projects/JQuery/src/main/resources/jquery-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/JQuery/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>JQueryClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
new file mode 100644
index 0000000..461c8be
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="JQuery.as" projectUUID="edaaba36-aa7e-491c-a242-f619527ec54d" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/JQuery/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/jquery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="JQuery.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/.flexLibProperties b/frameworks/js/FlexJS/projects/JQueryJS/.flexLibProperties
new file mode 100644
index 0000000..b32c912
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="JQueryClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/.project b/frameworks/js/FlexJS/projects/JQueryJS/.project
new file mode 100644
index 0000000..df6b4b0
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>JQueryJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/JQueryJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..31da594
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 14:02:24 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/build.xml b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
new file mode 100644
index 0000000..7030adb
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
@@ -0,0 +1,145 @@
+<?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="jQueryJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="JQUERY.SWC" value="${FALCONJX_HOME}/../js/libs/jquery.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/jquery.swc" />
+ </condition>
+ <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/target/jquery-1.9.swc" />
+ <property name="target.name" value="JQueryJS.swc" />
+ <property name="target.name.no.version" value="JQueryJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of jQuery.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${JQUERY.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${JQUERY.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/JQueryJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/JQueryJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..5892898
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/JQueryJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,86 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/BindingJS.swc</path-element>
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ <manifest>../../../../../../../projects/JQuery/src/main/resources/jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/JQuery/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>JQueryClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/.actionScriptProperties b/frameworks/js/FlexJS/projects/Mobile/.actionScriptProperties
deleted file mode 100644
index 0a73e71..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/.actionScriptProperties
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Mobile.as" projectUUID="b4358e31-bd95-4301-a3d3-f0e67881b93b" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Mobile/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Mobile.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/.flexLibProperties b/frameworks/js/FlexJS/projects/Mobile/.flexLibProperties
deleted file mode 100644
index 8005cec..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/.flexLibProperties
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="CordovaClasses"/>
- <classEntry path="MobileClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/.project b/frameworks/js/FlexJS/projects/Mobile/.project
deleted file mode 100644
index cb027de..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>MobileJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Mobile/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index d4676ea..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 14:03:58 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/build.xml b/frameworks/js/FlexJS/projects/Mobile/build.xml
deleted file mode 100644
index 1e3d0b4..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/build.xml
+++ /dev/null
@@ -1,139 +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="MobileJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="MobileJS.swc" />
- <property name="target.name.no.version" value="MobileJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Mobile.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Mobile/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Mobile/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Mobile/src/main/config/compile-js-config.xml
deleted file mode 100644
index 7422554..0000000
--- a/frameworks/js/FlexJS/projects/Mobile/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,89 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/GraphicsJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Mobile/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- <manifest>../../../../../../../projects/Mobile/src/main/resources/cordova-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Mobile/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>MobileClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
[05/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/.project b/frameworks/js/FlexJS/projects/Formatters/.project
deleted file mode 100644
index dc33208..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>FormattersJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Formatters/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 62daef9..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:52:47 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/build.xml b/frameworks/js/FlexJS/projects/Formatters/build.xml
deleted file mode 100644
index 78cf647..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/build.xml
+++ /dev/null
@@ -1,139 +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="FormattersJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="FormattersJS.swc" />
- <property name="target.name.no.version" value="FormattersJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Formatters.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Formatters/src/main/config/compile-js-config.xml
deleted file mode 100644
index 1d24545..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Formatters/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Formatters/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FormattersClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
new file mode 100644
index 0000000..f945368
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Formatters.as" projectUUID="187f4b92-5fcd-4cee-ac61-58362a56ba1b" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Formatters/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Formatters.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/.flexLibProperties b/frameworks/js/FlexJS/projects/FormattersJS/.flexLibProperties
new file mode 100644
index 0000000..f87c809
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="FormattersClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/.project b/frameworks/js/FlexJS/projects/FormattersJS/.project
new file mode 100644
index 0000000..dc33208
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>FormattersJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/FormattersJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..62daef9
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:52:47 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/build.xml b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
new file mode 100644
index 0000000..78cf647
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
@@ -0,0 +1,139 @@
+<?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="FormattersJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="FormattersJS.swc" />
+ <property name="target.name.no.version" value="FormattersJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Formatters.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FormattersJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/FormattersJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..1d24545
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FormattersJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Formatters/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Formatters/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FormattersClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/.actionScriptProperties b/frameworks/js/FlexJS/projects/GoogleMaps/.actionScriptProperties
deleted file mode 100644
index 8591459..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="GoogleMaps.as" projectUUID="7d907ea6-da29-4573-9741-08d2cf0f85d6" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/GoogleMaps/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="GoogleMaps.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/.flexLibProperties b/frameworks/js/FlexJS/projects/GoogleMaps/.flexLibProperties
deleted file mode 100644
index 1ae8bf5..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/.flexLibProperties
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="GoogleMapsClasses"/>
- <classEntry path="GoogleStubClasses"/>
- <classEntry path="org.apache.flex.maps.google.GoogleMap"/>
- <classEntry path="org.apache.flex.maps.google.beads.GoogleMapView"/>
- <classEntry path="org.apache.flex.maps.google.models.MapModel"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/.project b/frameworks/js/FlexJS/projects/GoogleMaps/.project
deleted file mode 100644
index e9593d3..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>GoogleMapsJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/GoogleMaps/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 83df46a..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:53:27 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/build.xml b/frameworks/js/FlexJS/projects/GoogleMaps/build.xml
deleted file mode 100644
index def3cf1..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/build.xml
+++ /dev/null
@@ -1,145 +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="GoogleMapsJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
- </condition>
- <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/target/google_maps.swc" />
- <property name="target.name" value="GoogleMapsJS.swc" />
- <property name="target.name.no.version" value="GoogleMapsJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GoogleMaps.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${GOOGLEMAPS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${GOOGLEMAPS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMaps/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMaps/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/GoogleMaps/src/main/config/compile-js-config.xml
deleted file mode 100644
index c3a363f..0000000
--- a/frameworks/js/FlexJS/projects/GoogleMaps/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,75 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/google</uri>
- <manifest>../../../../../../../projects/GoogleMaps/src/main/resources/google-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/GoogleMaps/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>GoogleStubClasses</class>
- <class>GoogleMapsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/google</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
new file mode 100644
index 0000000..8591459
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="GoogleMaps.as" projectUUID="7d907ea6-da29-4573-9741-08d2cf0f85d6" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/GoogleMaps/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="GoogleMaps.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/.flexLibProperties b/frameworks/js/FlexJS/projects/GoogleMapsJS/.flexLibProperties
new file mode 100644
index 0000000..1ae8bf5
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/.flexLibProperties
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="GoogleMapsClasses"/>
+ <classEntry path="GoogleStubClasses"/>
+ <classEntry path="org.apache.flex.maps.google.GoogleMap"/>
+ <classEntry path="org.apache.flex.maps.google.beads.GoogleMapView"/>
+ <classEntry path="org.apache.flex.maps.google.models.MapModel"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/.project b/frameworks/js/FlexJS/projects/GoogleMapsJS/.project
new file mode 100644
index 0000000..e9593d3
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>GoogleMapsJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/GoogleMapsJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..83df46a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:53:27 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
new file mode 100644
index 0000000..def3cf1
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
@@ -0,0 +1,145 @@
+<?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="GoogleMapsJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
+ </condition>
+ <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/target/google_maps.swc" />
+ <property name="target.name" value="GoogleMapsJS.swc" />
+ <property name="target.name.no.version" value="GoogleMapsJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of GoogleMaps.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${GOOGLEMAPS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${GOOGLEMAPS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..c3a363f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,75 @@
+<!--
+
+ 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>false</accessible>
+
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ <manifest>../../../../../../../projects/GoogleMaps/src/main/resources/google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/GoogleMaps/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>GoogleStubClasses</class>
+ <class>GoogleMapsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/.actionScriptProperties b/frameworks/js/FlexJS/projects/Graphics/.actionScriptProperties
deleted file mode 100644
index 83db7fb..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Graphics.as" projectUUID="ff3e0531-b7c9-4b0c-9146-05c27a47f837" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Graphics/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Graphics.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/.flexLibProperties b/frameworks/js/FlexJS/projects/Graphics/.flexLibProperties
deleted file mode 100644
index aacd132..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="GraphicsClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/.project b/frameworks/js/FlexJS/projects/Graphics/.project
deleted file mode 100644
index 6d9a0f6..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>GraphicsJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Graphics/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Graphics/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Graphics/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 95006fb..0000000
--- a/frameworks/js/FlexJS/projects/Graphics/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:43:15 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
[50/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - first
attempt at build file for MXJS
Posted by ah...@apache.org.
first attempt at build file for MXJS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/89bc26cb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/89bc26cb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/89bc26cb
Branch: refs/heads/spark
Commit: 89bc26cba2ac5d1fc01cf5d8edf1db5c39c29614
Parents: c8ddd96
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 26 15:42:22 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/projects/MXJS/build.xml | 163 ++++++++++++++++++++++
1 file changed, 163 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/89bc26cb/frameworks/js/FlexJS/projects/MXJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MXJS/build.xml b/frameworks/js/FlexJS/projects/MXJS/build.xml
new file mode 100644
index 0000000..e89c7f6
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MXJS/build.xml
@@ -0,0 +1,163 @@
+<?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="MXJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile-asjs" depends="check-compiler">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ <arg value="-define=COMPILE::LATER,false" />
+ <arg value="-define=CONFIG::performanceInstrumentation,false" />
+ </java>
+ </target>
+
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <compc fork="true"
+ output="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ <arg value="-define=COMPILE::LATER,false" />
+ <arg value="-define=CONFIG::performanceInstrumentation,false" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
+ </target>
+
+ <target name="copy-js" >
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
+</project>
[17/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - launch
scripts now reference new folder name
Posted by ah...@apache.org.
launch scripts now reference new folder name
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d26703bd
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d26703bd
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d26703bd
Branch: refs/heads/spark
Commit: d26703bd059b532a22dbed0cc128cad5ad671a6e
Parents: 1cf06fc
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 13 11:51:59 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
js/bin/compc | 2 +-
js/bin/compc.bat | 2 +-
js/bin/mxmlc | 2 +-
js/bin/mxmlc.bat | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d26703bd/js/bin/compc
----------------------------------------------------------------------
diff --git a/js/bin/compc b/js/bin/compc
index 5d5a953..814bf47 100755
--- a/js/bin/compc
+++ b/js/bin/compc
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/src" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/generated-sources" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d26703bd/js/bin/compc.bat
----------------------------------------------------------------------
diff --git a/js/bin/compc.bat b/js/bin/compc.bat
index f35c335..3c972fe 100644
--- a/js/bin/compc.bat
+++ b/js/bin/compc.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\src" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\generated-sources" %*
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d26703bd/js/bin/mxmlc
----------------------------------------------------------------------
diff --git a/js/bin/mxmlc b/js/bin/mxmlc
index 1a34671..e617d6f 100755
--- a/js/bin/mxmlc
+++ b/js/bin/mxmlc
@@ -67,4 +67,4 @@ fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/src" "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/generated-sources" "$@"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d26703bd/js/bin/mxmlc.bat
----------------------------------------------------------------------
diff --git a/js/bin/mxmlc.bat b/js/bin/mxmlc.bat
index cfa4a9e..675f80b 100644
--- a/js/bin/mxmlc.bat
+++ b/js/bin/mxmlc.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon
if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\src" %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\generated-sources" %*
\ No newline at end of file
[40/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Renamed the property again (strangely this time it didn't compile ... wonder
why it did last time ...) - Updated the MyInitialView.mxml in the
DataBindingExample_Flat project to not mixup nam
Posted by ah...@apache.org.
- Renamed the property again (strangely this time it didn't compile ... wonder why it did last time ...)
- Updated the MyInitialView.mxml in the DataBindingExample_Flat project to not mixup namespaces.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8f914c10
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8f914c10
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8f914c10
Branch: refs/heads/spark
Commit: 8f914c100fd268ab651736ea7016ec766dfe9809
Parents: 9481792
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu May 19 10:45:53 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
.../src/CordovaCameraExample.mxml | 4 ++--
examples/flexjs/DataBindingExample_Flat/pom.xml | 6 ++++++
.../DataBindingExample_Flat/src/MyInitialView.mxml | 15 ++++++++-------
3 files changed, 16 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8f914c10/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml b/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
index 13cc1a9..a745202 100644
--- a/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
+++ b/examples/flexjs/CordovaCameraExample/src/CordovaCameraExample.mxml
@@ -22,8 +22,8 @@
xmlns:local="*"
xmlns:models="models.*"
xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns:cordova="library://ns.apache.org/flexjs/cordova"
- isdeviceready="MyInitialView(initialView).ready = true"
+ xmlns:cordova="library://ns.apache.org/flexjs/cordova"
+ isDeviceReady="MyInitialView(initialView).ready = true"
>
<cordova:valuesImpl>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8f914c10/examples/flexjs/DataBindingExample_Flat/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml
index 3fd04ca..31ff335 100644
--- a/examples/flexjs/DataBindingExample_Flat/pom.xml
+++ b/examples/flexjs/DataBindingExample_Flat/pom.xml
@@ -49,6 +49,12 @@
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Flat</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Network</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8f914c10/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml b/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml
index b153ba5..b3456d2 100644
--- a/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml
+++ b/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml
@@ -18,7 +18,8 @@ limitations under the License.
-->
<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:js="library://ns.apache.org/flexjs/flat"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:flat="library://ns.apache.org/flexjs/flat"
initComplete="initControls()">
<fx:Script>
<![CDATA[
@@ -125,14 +126,14 @@ limitations under the License.
<js:beads>
<js:VerticalLayout />
</js:beads>
- <js:DropDownList id="list" width="100"
+ <flat:DropDownList id="list" width="100"
change="_symbol = list.selectedItem as String; dispatchEvent(new CustomEvent('listChanged'))"
dataProvider="{MyModel(applicationModel).strings}" />
- <js:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
- <js:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
- <js:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
- <js:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
- <js:CheckBox id="showAllData" text="Show All Data" change="setState()" />
+ <flat:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
+ <flat:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
+ <flat:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
+ <flat:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
+ <flat:CheckBox id="showAllData" text="Show All Data" change="setState()" />
</js:Container>
</js:Container>
<js:Label id="bindtest" text="{fieldText + ' expression binding'}" />
[33/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - clean up
build scripts
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index f2f6a3a..a570197 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -26,13 +26,12 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Mobile.swc" />
- <property name="target.name.no.version" value="Mobile.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Mobile.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -42,16 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -59,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index 1032681..dc1222e 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -26,11 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Network.swc" />
- <property name="target.name.no.version" value="Network.swc" />
- <target name="main" depends="clean,js-if-needed,compile" description="Full build of Network.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -41,23 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -65,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -102,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
</target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index 3a75e35..8a4fdf4 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -26,11 +26,10 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Reflection.swc" />
- <property name="target.name.no.version" value="Reflection.swc" />
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Reflection.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
<target name="check-js">
@@ -42,22 +41,22 @@
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -65,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -102,8 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
</target>
-
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 57b2aa9..75a8dff 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -21,18 +21,17 @@
<project name="Storage" default="main" basedir=".">
<property name="FLEXJS_HOME" location="../../.."/>
-
+
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="target.name" value="Storage.swc" />
- <property name="target.name.no.version" value="Storage.swc" />
-
- <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Storage.swc">
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="check-js">
<uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
<srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
@@ -41,23 +40,23 @@
<target name="js-if-needed" depends="check-js" unless="js-not-needed">
<ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests"/>
- -->
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -65,34 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in StorageClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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.
- -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -102,7 +87,33 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/projects/XML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/build.xml b/frameworks/projects/XML/build.xml
index 749b48a..185cd22 100644
--- a/frameworks/projects/XML/build.xml
+++ b/frameworks/projects/XML/build.xml
@@ -27,35 +27,36 @@
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <target name="more-props" >
- <property name="target.name" value="XML.swc" />
- <property name="target.name.no.version" value="XML.swc" />
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
- <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-extern-swc,copy-js,compile,test-js" description="Full build of XML.swc">
- </target>-->
- <target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile,test" description="Full build of XML.swc">
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -63,30 +64,20 @@
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling libs/XML.swc"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in XMLClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
@@ -96,9 +87,16 @@
<arg value="-define=COMPILE::AS3,true" />
<arg value="-define=COMPILE::JS,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
<target name="check-falcon-home" unless="FALCON_HOME"
description="Check FALCON_HOME is a directory.">
@@ -109,33 +107,13 @@
property="FALCON_HOME"
value="${env.FALCON_HOME}"/>
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
type="file"
property="FALCON_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
- <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler/generated/dist/sdk folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK"
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
unless="FALCON_HOME"/>
</target>
- <target name="check-falconjx-home" unless="FALCONJX_HOME"
- description="Check FALCON_HOME is a directory.">
-
- <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
-
- <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
- type="file"
- property="FALCONJX_HOME"
- value="${env.FALCONJX_HOME}"/>
-
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
- type="file"
- property="FALCONJX_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
-
- <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK"
- unless="FALCONJX_HOME"/>
- </target>
-
-
</project>
[43/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - move
compile-js-config file
Posted by ah...@apache.org.
move compile-js-config file
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c8ddd96f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c8ddd96f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c8ddd96f
Branch: refs/heads/spark
Commit: c8ddd96f7125d6cfc41725c89bfb019143cb1a1e
Parents: bd2dde0
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 25 14:11:22 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
.../MXJS/src/main/config/compile-js-config.xml | 87 ++++++++++++++++++++
.../MX/src/main/config/compile-js-config.xml | 87 --------------------
2 files changed, 87 insertions(+), 87 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c8ddd96f/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..faf05ac
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,87 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+ <allow-subclass-overrides>true</allow-subclass-overrides>
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../externs/Binding.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/Collections.swc</path-element>
+ <path-element>../../../externs/Reflection.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/mx</uri>
+ <manifest>../src/main/resources/mx-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>MXClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/mx</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c8ddd96f/frameworks/projects/MX/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/config/compile-js-config.xml b/frameworks/projects/MX/src/main/config/compile-js-config.xml
deleted file mode 100644
index faf05ac..0000000
--- a/frameworks/projects/MX/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,87 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
- <allow-subclass-overrides>true</allow-subclass-overrides>
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../externs/Binding.swc</path-element>
- <path-element>../../../externs/Core.swc</path-element>
- <path-element>../../../externs/Graphics.swc</path-element>
- <path-element>../../../externs/Collections.swc</path-element>
- <path-element>../../../externs/Reflection.swc</path-element>
- <path-element>../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/mx</uri>
- <manifest>../src/main/resources/mx-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>MXClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/mx</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
[19/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Updated
cordova-build.xml ANT script.
Posted by ah...@apache.org.
Updated cordova-build.xml ANT script.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2b8a69e0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2b8a69e0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2b8a69e0
Branch: refs/heads/spark
Commit: 2b8a69e04ee8022cae28f71c5de093e50f97c490
Parents: 7b3c0cb
Author: Peter Ent <pe...@apache.org>
Authored: Mon May 16 14:55:29 2016 -0400
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
cordova-build.xml | 149 ++++++++++++++++++++++++++++++++-----------------
1 file changed, 97 insertions(+), 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b8a69e0/cordova-build.xml
----------------------------------------------------------------------
diff --git a/cordova-build.xml b/cordova-build.xml
index 1e209b8..d7fb343 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -18,80 +18,125 @@
-->
-<project name="createproject" default="main" basedir=".">
+<project name="createproject" default="main">
- <condition property="project.name.specified" value="true">
- <isset property="PROJECT_NAME" />
+ <!-- this ANT script assumes you are in the following directory structure:
+
+ . /* run ANT here */
+ ./src/<APP>.mxml /* The main application MXML tag */
+ ./bin/js-debug /* The result of building APP.mxml via mxmlc
+ ./app/<APP> /* The Cordova application directory
+
+ 1. This ANT script will build the template Cordova app/APP if it does not
+ already exist.
+
+ 2. This ANT script will compile the APP.mxml into bin/js-debug
+
+ 3. This ANT script will remove ./app/<APP>/www contents are replace it with
+ the contents of bin/js-debug.
+
+ Optionally, you can run the Cordova application using ant run <platform>
+
+ -->
+
+ <target name="main" depends="create, compilejs, copyfiles" description="Creates the Cordova app if needed, compiles the FlexJS app, copies the results to Cordova app">
+ <echo message="Building app ${appname} for platform ${platform}" />
+ </target>
+
+ <!-- Set up properties and conditions -->
+
+ <condition property="platform" value="android">
+ <!-- override with -Dplatform=other-platform-name -->
+ <not>
+ <isset property="platform" />
+ </not>
</condition>
- <fail message="PROJECT_NAME not specified. Should specify desired name of cordova project" unless="project.name.specified"/>
-
- <condition property="target.dir.specified" value="true">
- <isset property="TARGET_DIR" />
- </condition>
- <fail message="TARGET_DIR not specified. Should specify folder to contain cordova project folder" unless="target.dir.specified"/>
-
- <condition property="project.dir.specified" value="true">
- <isset property="PROJECT_DIR" />
- </condition>
- <fail message="PROJECT_DIR not specified. Should specify folder that contains the bin/js-debug output of a FlexJS project" unless="project.dir.specified"/>
-
- <property name="target.dir" value="${TARGET_DIR}" />
- <property name="project.name" value="${PROJECT_NAME}" />
- <property name="project.dir" value="${PROJECT_DIR}" />
-
- <property name="app.dir" value="${target.dir}/${project.name}" />
- <available file="${app.dir}" type="dir" property="app.dir.exists"/>
-
- <available file="${target.dir}" type="dir" property="target.dir.exists"/>
- <fail message="${target.dir} does not exist" unless="target.dir.exists"/>
- <available file="${project.dir}/bin/js-debug" type="dir" property="project.dir.exists"/>
- <fail message="${project.dir}/bin/js-debug does not exist" unless="project.dir.exists"/>
- <target name="create" unless="app.dir.exists">
+
+ <basename property="directory.name" file="${user.dir}" />
+ <!-- override with -Dappname=other-app-name -->
+ <condition property="appname" value="${directory.name}">
+ <not>
+ <isset property="appname" />
+ </not>
+ </condition>
+
+ <property name="cordova.target.dir" value="${user.dir}/app/${appname}" />
+ <available file="${cordova.target.dir}" type="dir" property="app.dir.exists"/>
+
+ <!-- Step 1: create the Cordova template project unless it already exists -->
+
+ <target name="makedir" unless="app.dir.exists">
+ <mkdir dir="${user.dir}/app" />
+ </target>
+
+ <target name="create" unless="app.dir.exists" depends="makedir" description="Creates the Cordova application template">
<!-- create the project -->
- <exec executable="cordova" dir="${target.dir}">
+ <exec executable="cordova" dir="${user.dir}/app">
<arg value="create" />
- <arg value="${project.name}" />
- <arg value="org.apache.flex.mobile" />
- <arg value="${project.name}" />
+ <arg value="${appname}" />
</exec>
+
+ <echo>Adding in platform(s). This may take awhile.</echo>
<!-- add in the platforms -->
- <exec executable="cordova" dir="${app.dir}">
+ <exec executable="cordova" dir="${cordova.target.dir}">
<arg value="platform" />
<arg value="add" />
- <arg value="android" />
+ <arg value="${platform}" />
</exec>
</target>
- <target name="copyfiles" depends="create">
- <echo message="Removing www directory contents" />
+ <!-- Step 2: Compile the FlexJS application -->
+
+ <target name="compilejs" description="Compiles the FlexJS app into JavaScript">
+ <echo message="Compiling FlexJS app" />
+ <exec executable="mxmlc" dir="${user.dir}/src">
+ <arg value="${appname}.mxml" />
+ </exec>
+ </target>
+
+ <!-- Step 3: Clean www directory -->
+
+ <target name="purge">
<delete includeEmptyDirs="true">
- <fileset dir="${app.dir}/www" includes="**/*" />
+ <fileset dir="${cordova.target.dir}/www" includes="**/*" />
</delete>
+ </target>
+
+ <!-- Step 4: Copy files from step 2 -->
+
+ <target name="copyfiles" depends="purge">
<echo message="Copying files from project" />
- <copy todir="${app.dir}/www">
- <fileset dir="${project.dir}/bin/js-debug" />
+ <copy todir="${cordova.target.dir}/www">
+ <fileset dir="${user.dir}/bin/js-debug" />
</copy>
</target>
- <target name="build" depends="copyfiles">
- <!-- build the app -->
- <exec executable="cordova" dir="${app.dir}">
- <arg value="build" />
- <arg value="android" />
- </exec>
- </target>
+ <!--
+ Running the app on the platform
+ -->
- <target name="main" depends="build">
- <echo message="App = ${app.dir} and basedir = ${basedir}" />
+ <target name="run" description="Runs the Cordova application on the specified platform">
+ <echo message="Launching ${appname} on platform ${platform}" />
+ <exec executable="cordova" dir="${cordova.target.dir}">
+ <arg value="run" />
+ <arg value="${platform}" />
+ </exec>
</target>
- <target name="help">
- <echo message="ant -f cordova-build.xml -DPROJECT_NAME=name -DPROJECT_DIR=FlexJSProjectDirectory -DTARGET_DIR=PhoneGapProjectDirectory" />
- <echo message="PhoneGap project is created inside of PhoneGapProjectDirectory with the PROJECT name and all files are copied" />
- <echo message="from FlexJSProjectDirectory/bin/js-debug into the PhoneGap project." />
+ <!--
+ Cleaning Tasks
+ -->
+
+ <target name="clean" depends="purge" description="Removes files created during the build and copy">
+ <delete dir="${user.dir}/bin-debug" failonerror="false" />
+ <delete dir="${user.dir}/bin-release" failonerror="false" />
</target>
-</project>
+ <target name="super-clean" depends="clean" description="Removes all files and directories except src and its contents">
+ <delete dir="${user.dir}/bin" />
+ <delete dir="${user.dir}/app" />
+ </target>
+</project>
\ No newline at end of file
[29/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Added/Updated the poms of the examples to use the flexjs-maven-plugin instead
of flexmojos - Added/Updated the dependencies - Made most of the examples
compile
Posted by ah...@apache.org.
- Added/Updated the poms of the examples to use the flexjs-maven-plugin instead of flexmojos
- Added/Updated the dependencies
- Made most of the examples compile
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7b295cee
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7b295cee
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7b295cee
Branch: refs/heads/spark
Commit: 7b295cee978f24bbae085ace0d248860f376dcb8
Parents: 0f49ba6
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed May 18 16:53:10 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:22 2016 -0700
----------------------------------------------------------------------
examples/flexjs/ChartExample/pom.xml | 32 ++-
examples/flexjs/CordovaCameraExample/pom.xml | 26 ++-
examples/flexjs/CreateJSExample/pom.xml | 28 ++-
examples/flexjs/DataBindingExample/pom.xml | 24 ++-
examples/flexjs/DataBindingExample_Flat/pom.xml | 24 ++-
examples/flexjs/DataBindingExample_as/pom.xml | 19 +-
examples/flexjs/DataGridExample/pom.xml | 17 +-
examples/flexjs/DesktopMap/pom.xml | 26 ++-
examples/flexjs/FlexJSStore/pom.xml | 44 +++-
examples/flexjs/FlexJSStore_jquery/pom.xml | 50 ++++-
examples/flexjs/FlexWebsiteStatsViewer/pom.xml | 38 +++-
examples/flexjs/MapSearch/pom.xml | 26 ++-
examples/flexjs/MobileTrader/pom.xml | 38 +++-
examples/flexjs/StorageExample/pom.xml | 26 ++-
examples/flexjs/TodoListSampleApp/pom.xml | 19 +-
examples/flexjs/TreeExample/pom.xml | 17 +-
examples/flexjs/pom.xml | 201 +++----------------
examples/native/pom.xml | 39 ++++
examples/pom.xml | 64 ++++++
pom.xml | 101 +++++-----
20 files changed, 495 insertions(+), 364 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/ChartExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/pom.xml b/examples/flexjs/ChartExample/pom.xml
index 7a44be8..7afee47 100644
--- a/examples/flexjs/ChartExample/pom.xml
+++ b/examples/flexjs/ChartExample/pom.xml
@@ -23,28 +23,42 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>ChartExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>ChartExample.mxml</sourceFile>
+ <mainClass>ChartExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Charts</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/CordovaCameraExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml b/examples/flexjs/CordovaCameraExample/pom.xml
index 8252b32..5d845fb 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -23,28 +23,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>CordovaCameraExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>CordovaCameraExample.mxml</sourceFile>
+ <mainClass>CordovaCameraExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Mobile</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/CreateJSExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/pom.xml b/examples/flexjs/CreateJSExample/pom.xml
index 286e2ae..907d055 100644
--- a/examples/flexjs/CreateJSExample/pom.xml
+++ b/examples/flexjs/CreateJSExample/pom.xml
@@ -23,28 +23,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
- <artifactId>DataBindingExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <artifactId>CreateJSExample</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DataBindingExample.mxml</sourceFile>
+ <mainClass>CreateJSExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>CreateJS</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/pom.xml b/examples/flexjs/DataBindingExample/pom.xml
index 286e2ae..93b7a84 100644
--- a/examples/flexjs/DataBindingExample/pom.xml
+++ b/examples/flexjs/DataBindingExample/pom.xml
@@ -23,9 +23,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>DataBindingExample</artifactId>
@@ -33,18 +33,26 @@
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DataBindingExample.mxml</sourceFile>
+ <mainClass>DataBindingExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/DataBindingExample_Flat/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml
index 4132933..3fd04ca 100644
--- a/examples/flexjs/DataBindingExample_Flat/pom.xml
+++ b/examples/flexjs/DataBindingExample_Flat/pom.xml
@@ -23,9 +23,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>DataBindingExample_Flat</artifactId>
@@ -33,18 +33,26 @@
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DataBindingExample.mxml</sourceFile>
+ <mainClass>DataBindingExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/DataBindingExample_as/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/pom.xml b/examples/flexjs/DataBindingExample_as/pom.xml
index 1b19654..59dd151 100644
--- a/examples/flexjs/DataBindingExample_as/pom.xml
+++ b/examples/flexjs/DataBindingExample_as/pom.xml
@@ -23,9 +23,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>DataBindingExample_as</artifactId>
@@ -33,16 +33,15 @@
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DataBindingExample.as</sourceFile>
- <defines>
+ <mainClass>DataBindingExample.mxml</mainClass>
+ <!--defines>
<property>
<name>CONFIG::as_only</name>
<value>true</value>
@@ -51,7 +50,7 @@
<name>CONFIG::js_only</name>
<value>false</value>
</property>
- </defines>
+ </defines-->
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/DataGridExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/pom.xml b/examples/flexjs/DataGridExample/pom.xml
index 2c221a3..8778409 100644
--- a/examples/flexjs/DataGridExample/pom.xml
+++ b/examples/flexjs/DataGridExample/pom.xml
@@ -23,25 +23,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>DataGridExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DataGridExample.mxml</sourceFile>
+ <mainClass>DataGridExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/DesktopMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/pom.xml b/examples/flexjs/DesktopMap/pom.xml
index e43ce23..24650bb 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -23,28 +23,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>DesktopMap</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>DesktopMap.mxml</sourceFile>
+ <mainClass>DesktopMap.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>GoogleMaps</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/FlexJSStore/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/pom.xml b/examples/flexjs/FlexJSStore/pom.xml
index def30f6..853a866 100644
--- a/examples/flexjs/FlexJSStore/pom.xml
+++ b/examples/flexjs/FlexJSStore/pom.xml
@@ -23,28 +23,54 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>FlexJSStore</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>FlexJSStore.mxml</sourceFile>
+ <mainClass>FlexJSStore.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>DragDrop</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Effects</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Formatters</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/FlexJSStore_jquery/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/pom.xml b/examples/flexjs/FlexJSStore_jquery/pom.xml
index 4cbea24..a5b5197 100644
--- a/examples/flexjs/FlexJSStore_jquery/pom.xml
+++ b/examples/flexjs/FlexJSStore_jquery/pom.xml
@@ -23,28 +23,60 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>FlexJSStore_jquery</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>FlexJSStore.mxml</sourceFile>
+ <mainClass>FlexJSStore.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>DragDrop</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Effects</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Formatters</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>JQuery</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
index b023de7..97f1243 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
@@ -23,28 +23,48 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>FlexWebsiteStatsViewer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>FlexWebsiteStatsViewer.mxml</sourceFile>
+ <mainClass>FlexWebsiteStatsViewer.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Collections</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Charts</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/MapSearch/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/pom.xml b/examples/flexjs/MapSearch/pom.xml
index 7624a65..14bb1e6 100644
--- a/examples/flexjs/MapSearch/pom.xml
+++ b/examples/flexjs/MapSearch/pom.xml
@@ -23,28 +23,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>MapSearch</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>MapSearch.mxml</sourceFile>
+ <mainClass>MapSearch.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>GoogleMaps</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/MobileTrader/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/pom.xml b/examples/flexjs/MobileTrader/pom.xml
index 9c867a0..734fb93 100644
--- a/examples/flexjs/MobileTrader/pom.xml
+++ b/examples/flexjs/MobileTrader/pom.xml
@@ -23,28 +23,48 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>MobileTrader</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>MobileTrader.mxml</sourceFile>
+ <mainClass>MobileTrader.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Charts</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Mobile</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/StorageExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/pom.xml b/examples/flexjs/StorageExample/pom.xml
index 06ac9b2..ec50892 100644
--- a/examples/flexjs/StorageExample/pom.xml
+++ b/examples/flexjs/StorageExample/pom.xml
@@ -23,28 +23,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>StorageExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>StorageExample.mxml</sourceFile>
+ <mainClass>StorageExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Storage</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/TodoListSampleApp/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/pom.xml b/examples/flexjs/TodoListSampleApp/pom.xml
index 473d363..35d24e5 100644
--- a/examples/flexjs/TodoListSampleApp/pom.xml
+++ b/examples/flexjs/TodoListSampleApp/pom.xml
@@ -23,25 +23,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
- <artifactId>TodoListSample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <artifactId>TodoListSampleApp</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>TodoListSampleApp.mxml</sourceFile>
+ <mainClass>TodoListSampleApp.mxml</mainClass>
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/TreeExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/pom.xml b/examples/flexjs/TreeExample/pom.xml
index 1cf03f8..61e4f0a 100644
--- a/examples/flexjs/TreeExample/pom.xml
+++ b/examples/flexjs/TreeExample/pom.xml
@@ -23,25 +23,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>TreeExample</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
<build>
- <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
- <sourceFile>TreeExample.mxml</sourceFile>
+ <mainClass>TreeExample.mxml</mainClass>
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index 33cc4ff..24132a5 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -22,197 +22,60 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.flex.examples.flexjs</groupId>
- <artifactId>examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
+ <parent>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </parent>
- <properties>
- <!-- Comment this in to build Flash output -->
- <flexmojos-compiler-name>Falcon</flexmojos-compiler-name>
- <!-- Comment this in to build HTML+JavaScript output -->
- <!--flexmojos-compiler-name>FlexJS</flexmojos-compiler-name-->
- </properties>
+ <artifactId>examples-flexjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
<modules>
<module>ChartExample</module>
<module>CordovaCameraExample</module>
+ <module>CreateJSExample</module>
<module>DataBindingExample</module>
- <module>DataBindingExample_as</module>
+ <!-- Needs "depends" support -->
+ <!--module>DataBindingExample_as</module-->
<module>DataBindingExample_Flat</module>
<module>DataGridExample</module>
<module>DesktopMap</module>
- <!--
- "Ambiguous reference to MouseEvent" problem
- -->
- <!--module>FlexJSStore_jquery</module-->
- <!--
- "Ambiguous reference to MouseEvent" problem
- -->
+ <!-- Ambiguous "MouseEvent" -->
<!--module>FlexJSStore</module-->
- <module>FlexWebsiteStatsViewer</module>
+ <!-- Ambiguous "MouseEvent" -->
+ <!--module>FlexJSStore_jquery</module-->
+ <!-- Ambiguous "MouseEvent" -->
+ <!--module>FlexWebsiteStatsViewer</module-->
<module>MapSearch</module>
- <!--
- Implicit coercion of a value with static type Event to a possibly unrelated type Event.
- <basic:TabbedViewManager id="navController" width="100%" height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)">
- -->
+ <!-- Implicit coercion of a value with static type Event to a possibly unrelated type Event. -->
<!--module>MobileTrader</module-->
+ <!-- Ambiguous reference to IDataInput -->
+ <!--module>StorageExample</module-->
<module>TodoListSampleApp</module>
+ <module>TreeExample</module>
</modules>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <extensions>true</extensions>
- <configuration>
- <compilerName>${flexmojos-compiler-name}</compilerName>
- <debug>true</debug>
- <defines>
- <property>
- <name>CONFIG::theme</name>
- <value>false</value>
- </property>
- </defines>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.flex.compiler</groupId>
- <artifactId>falcon-jx-compiler</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
<dependencies>
<dependency>
- <groupId>org.apache.flex.flexjs</groupId>
- <artifactId>framework</artifactId>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>20.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
<version>0.7.0-SNAPSHOT</version>
- <type>pom</type>
+ <type>swc</type>
</dependency>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>18.0</version>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
<type>swc</type>
</dependency>
</dependencies>
- <repositories>
- <!--
- This is where we get released stuff from.
- -->
- <repository>
- <id>maven-central</id>
- <url>http://repo1.maven.org/maven2/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <!--
- This is where we get unreleased Apache stuff from
- -->
- <repository>
- <id>apache-snapshots</id>
- <url>http://repository.apache.org/content/groups/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <!--
- This is where we get unreleased Flexmojos stuff from.
- -->
- <repository>
- <id>sonatype-snapshots</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <!--
- This is where third party dependencies for flexmojos come from.
- -->
- <repository>
- <id>sonatype-flexmojos-cache</id>
- <url>https://repository.sonatype.org/content/groups/flexgroup/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <!--
- This is where we get released stuff from.
- -->
- <pluginRepository>
- <id>maven-central</id>
- <url>http://repo1.maven.org/maven2/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <!--
- This is where we get unreleased Apache stuff from
- -->
- <pluginRepository>
- <id>apache-snapshots</id>
- <url>http://repository.apache.org/content/groups/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!--
- This is where we get unreleased Flexmojos stuff from.
- -->
- <pluginRepository>
- <id>sonatype-snapshots</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!--
- This is where third party dependencies for flexmojos come from.
- -->
- <pluginRepository>
- <id>sonatype-flexmojos-cache</id>
- <url>https://repository.sonatype.org/content/groups/flexgroup/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/native/pom.xml
----------------------------------------------------------------------
diff --git a/examples/native/pom.xml b/examples/native/pom.xml
new file mode 100644
index 0000000..2d0d125
--- /dev/null
+++ b/examples/native/pom.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-native</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ </modules>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
new file mode 100644
index 0000000..7910787
--- /dev/null
+++ b/examples/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs</groupId>
+ <artifactId>flex-asjs</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>flexjs</module>
+ <module>native</module>
+ </modules>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <targetPlayer>20.0</targetPlayer>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b295cee/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7dd2ada..878e232 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,35 @@
<name>Apache Flex - ASJS</name>
<description>The Apache Flex ASJS Project</description>
+ <scm>
+ <connection>scm:git://git.apache.org/flex-asjs.git</connection>
+ <developerConnection>scm:git://git.apache.org/flex-asjs.git</developerConnection>
+ <url>https://github.com/apache/flex-asjs</url>
+ </scm>
+
+ <properties>
+ <java.version>1.6</java.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
+ <maven.version>3.3.1</maven.version>
+
+ <!-- URL of the ASF SonarQube server -->
+ <sonar.host.url>https://analysis.apache.org/</sonar.host.url>
+
+ <flex.version>4.15.0</flex.version>
+ <flash.version>20.0</flash.version>
+ <air.version>20.0</air.version>
+
+ <!-- Tell sonar where the coverage reports are located -->
+ <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco-ut.exec</sonar.jacoco.reportPath>
+ <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
+ </properties>
+
+ <modules>
+ <module>examples</module>
+ <module>frameworks</module>
+ </modules>
+
<!-- Only configure the site distribution as the rest is handled by the apache parent -->
<distributionManagement>
<site>
@@ -42,6 +71,28 @@
</site>
</distributionManagement>
+ <issueManagement>
+ <system>Jira</system>
+ <url>https://issues.apache.org/jira/browse/FLEX</url>
+ </issueManagement>
+
+ <mailingLists>
+ <mailingList>
+ <name>Apache Flex User List</name>
+ <subscribe>users-subscribe@flex.apache.org</subscribe>
+ <unsubscribe>users-unsubscribe@flex.apache.org</unsubscribe>
+ <post>users@flex.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive>
+ </mailingList>
+ <mailingList>
+ <name>Apache Flex Developer List</name>
+ <subscribe>dev-subscribe@flex.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@flex.apache.org</unsubscribe>
+ <post>dev@flex.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/flex-dev/</archive>
+ </mailingList>
+ </mailingLists>
+
<repositories>
<repository>
<id>apache-release</id>
@@ -88,54 +139,4 @@
</pluginRepository>
</pluginRepositories>
- <mailingLists>
- <mailingList>
- <name>Apache Flex User List</name>
- <subscribe>users-subscribe@flex.apache.org</subscribe>
- <unsubscribe>users-unsubscribe@flex.apache.org</unsubscribe>
- <post>users@flex.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive>
- </mailingList>
- <mailingList>
- <name>Apache Flex Developer List</name>
- <subscribe>dev-subscribe@flex.apache.org</subscribe>
- <unsubscribe>dev-unsubscribe@flex.apache.org</unsubscribe>
- <post>dev@flex.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/flex-dev/</archive>
- </mailingList>
- </mailingLists>
-
- <issueManagement>
- <system>Jira</system>
- <url>https://issues.apache.org/jira/browse/FLEX</url>
- </issueManagement>
-
- <scm>
- <connection>scm:git://git.apache.org/flex-asjs.git</connection>
- <developerConnection>scm:git://git.apache.org/flex-asjs.git</developerConnection>
- <url>https://github.com/apache/flex-asjs</url>
- </scm>
-
- <properties>
- <java.version>1.6</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
- <maven.version>3.3.1</maven.version>
-
- <!-- URL of the ASF SonarQube server -->
- <sonar.host.url>https://analysis.apache.org/</sonar.host.url>
-
- <flex.version>4.15.0</flex.version>
- <flash.version>20.0</flash.version>
- <air.version>20.0</air.version>
-
- <!-- Tell sonar where the coverage reports are located -->
- <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco-ut.exec</sonar.jacoco.reportPath>
- <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- </properties>
-
- <modules>
- <module>frameworks/projects</module>
- </modules>
-
</project>
\ No newline at end of file
[13/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Continued working on compiling the ASJS modules with Maven - Succeeded with
all except "CreateJS" and "XML"
Posted by ah...@apache.org.
- Continued working on compiling the ASJS modules with Maven
- Succeeded with all except "CreateJS" and "XML"
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bc035a5e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bc035a5e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bc035a5e
Branch: refs/heads/spark
Commit: bc035a5e83979f515bf6d1f823ffe32294bbefed
Parents: 379fa18
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri May 13 15:33:13 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Binding/pom.xml | 9 +++++++
frameworks/projects/Charts/pom.xml | 32 +++++++++++++++++++++++++
frameworks/projects/Collections/pom.xml | 12 ++++++++++
frameworks/projects/Core/pom.xml | 1 +
frameworks/projects/Core/test | 10 ++++++++
frameworks/projects/CreateJS/pom.xml | 31 ++++++++++++++++++++++--
frameworks/projects/DragDrop/pom.xml | 12 ++++++++++
frameworks/projects/Effects/pom.xml | 12 ++++++++++
frameworks/projects/Flat/pom.xml | 32 +++++++++++++++++++++++++
frameworks/projects/Formatters/pom.xml | 25 +++++++++++++++++++
frameworks/projects/GoogleMaps/pom.xml | 29 ++++++++++++----------
frameworks/projects/Graphics/pom.xml | 5 ++++
frameworks/projects/HTML/pom.xml | 24 +++++++++++++++++++
frameworks/projects/HTML5/pom.xml | 25 +++++++++++++++++++
frameworks/projects/JQuery/pom.xml | 33 +++++++++++++++++++++++++
frameworks/projects/Mobile/pom.xml | 36 ++++++++++++++++++++++++++++
frameworks/projects/Network/pom.xml | 18 ++++++++++++++
frameworks/projects/Reflection/pom.xml | 10 ++++++++
frameworks/projects/Storage/pom.xml | 26 ++++++++++++++++++++
frameworks/projects/XML/pom.xml | 17 +++++++++++++
frameworks/projects/pom.xml | 4 ++--
21 files changed, 387 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Binding/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/pom.xml b/frameworks/projects/Binding/pom.xml
index b088f8d..d68bb46 100644
--- a/frameworks/projects/Binding/pom.xml
+++ b/frameworks/projects/Binding/pom.xml
@@ -40,6 +40,7 @@
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
+ <includeSources>true</includeSources>
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/basic</uri>
@@ -74,6 +75,14 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Charts/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/pom.xml b/frameworks/projects/Charts/pom.xml
index f4e3102..8c3f769 100644
--- a/frameworks/projects/Charts/pom.xml
+++ b/frameworks/projects/Charts/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>ChartsClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,6 +79,13 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Graphics</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
@@ -75,11 +93,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Collections/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/pom.xml b/frameworks/projects/Collections/pom.xml
index db15c27..c74aed4 100644
--- a/frameworks/projects/Collections/pom.xml
+++ b/frameworks/projects/Collections/pom.xml
@@ -39,6 +39,11 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeClasses>
+ <includeClass>CollectionsClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +71,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Core/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
index 7a18be7..70d7d57 100644
--- a/frameworks/projects/Core/pom.xml
+++ b/frameworks/projects/Core/pom.xml
@@ -49,6 +49,7 @@
<includeClasses>
<includeClass>CoreClasses</includeClass>
</includeClasses>
+ <skipExtern>false</skipExtern>
</configuration>
<dependencies>
<dependency>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Core/test
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/test b/frameworks/projects/Core/test
new file mode 100644
index 0000000..1d4d0c2
--- /dev/null
+++ b/frameworks/projects/Core/test
@@ -0,0 +1,10 @@
+[INFO]
+Executing COMPC
+in tool group Falcon
+with args:
+
+[
+-load-config=/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/target/compile-extern-config.xml,
+-define=COMPILE::AS3,false,
+-define=COMPILE::JS,true
+]
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
index eecf06a..4cce08f 100644
--- a/frameworks/projects/CreateJS/pom.xml
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -39,6 +39,11 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeClasses>
+ <includeClass>CreateJSClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,6 +73,13 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
@@ -75,31 +87,46 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Graphics</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
<dependency>
<groupId>org.apache.flex.flexjs.externs</groupId>
<artifactId>flexjs-externs-createjs</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
- <scope>external</scope>
+ <classifier>extern</classifier>
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.externs</groupId>
<artifactId>flexjs-externs-js</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
- <scope>external</scope>
+ <classifier>extern</classifier>
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.externs</groupId>
<artifactId>flexjs-externs-gcl</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
+ <classifier>extern</classifier>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/DragDrop/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/pom.xml b/frameworks/projects/DragDrop/pom.xml
index 76af90c..b08ea3e 100644
--- a/frameworks/projects/DragDrop/pom.xml
+++ b/frameworks/projects/DragDrop/pom.xml
@@ -39,6 +39,11 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeClasses>
+ <includeClass>DragDropClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +71,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Effects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/pom.xml b/frameworks/projects/Effects/pom.xml
index 64a2cf1..851a1f2 100644
--- a/frameworks/projects/Effects/pom.xml
+++ b/frameworks/projects/Effects/pom.xml
@@ -39,6 +39,11 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeClasses>
+ <includeClass>EffectsClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +71,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Flat/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/pom.xml b/frameworks/projects/Flat/pom.xml
index 88cae31..a578be2 100644
--- a/frameworks/projects/Flat/pom.xml
+++ b/frameworks/projects/Flat/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>${project.basedir}/src/main/resources/flat-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>FlatClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,6 +79,13 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Binding</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
@@ -82,11 +100,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Collections</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Formatters/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/pom.xml b/frameworks/projects/Formatters/pom.xml
index 4dc898c..e99e8d9 100644
--- a/frameworks/projects/Formatters/pom.xml
+++ b/frameworks/projects/Formatters/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>FormattersClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,11 +79,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/GoogleMaps/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/pom.xml b/frameworks/projects/GoogleMaps/pom.xml
index 4a3be4e..2edd24b 100644
--- a/frameworks/projects/GoogleMaps/pom.xml
+++ b/frameworks/projects/GoogleMaps/pom.xml
@@ -39,6 +39,18 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>${project.basedir}/src/main/resources/google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>GoogleStubClasses</includeClass>
+ <includeClass>GoogleMapsClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,20 +78,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
- <!--dependency>
- <groupId>org.apache.flex.flexjs.externs</groupId>
- <artifactId>flexjs-externs-js</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <type>swc</type>
- <scope>external</scope>
- </dependency-->
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <!--dependency>
- <groupId>org.apache.flex.flexjs.externs</groupId>
- <artifactId>flexjs-externs-gcl</artifactId>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
- </dependency-->
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
index 32b708c..dbbd654 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -39,6 +39,11 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeClasses>
+ <includeClass>GraphicsClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/HTML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/pom.xml b/frameworks/projects/HTML/pom.xml
index 648f053..2762420 100644
--- a/frameworks/projects/HTML/pom.xml
+++ b/frameworks/projects/HTML/pom.xml
@@ -50,6 +50,9 @@
<manifest>${project.basedir}/src/main/resources/svg-manifest.xml</manifest>
</namespace>
</namespaces>
+ <includeClasses>
+ <includeClass>HTMLClasses</includeClass>
+ </includeClasses>
</configuration>
<dependencies>
<dependency>
@@ -94,6 +97,13 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Binding</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Graphics</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
@@ -101,11 +111,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Collections</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Collections</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/HTML5/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/pom.xml b/frameworks/projects/HTML5/pom.xml
index 11ddc39..cd12b56 100644
--- a/frameworks/projects/HTML5/pom.xml
+++ b/frameworks/projects/HTML5/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>${project.basedir}/src/main/resources/html5-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>HTML5Classes</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,11 +79,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/JQuery/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/pom.xml b/frameworks/projects/JQuery/pom.xml
index 41e9bc9..438c4e2 100644
--- a/frameworks/projects/JQuery/pom.xml
+++ b/frameworks/projects/JQuery/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>${project.basedir}/src/main/resources/jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>JQueryClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,11 +79,33 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.externs</groupId>
+ <artifactId>flexjs-externs-jquery</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Mobile/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/pom.xml b/frameworks/projects/Mobile/pom.xml
index 3484e39..55a1e25 100644
--- a/frameworks/projects/Mobile/pom.xml
+++ b/frameworks/projects/Mobile/pom.xml
@@ -39,6 +39,21 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>${project.basedir}/src/main/resources/cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>MobileClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -68,6 +83,13 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>Graphics</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
@@ -75,11 +97,25 @@
</dependency>
<dependency>
<groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>HTML</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Network/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/pom.xml b/frameworks/projects/Network/pom.xml
index 81991f5..248b441 100644
--- a/frameworks/projects/Network/pom.xml
+++ b/frameworks/projects/Network/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>NetworkClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +77,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Reflection/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/pom.xml b/frameworks/projects/Reflection/pom.xml
index b3bae35..4fde1ef 100644
--- a/frameworks/projects/Reflection/pom.xml
+++ b/frameworks/projects/Reflection/pom.xml
@@ -39,6 +39,9 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeSources>true</includeSources>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +69,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/Storage/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/pom.xml b/frameworks/projects/Storage/pom.xml
index 021797f..43d9aac 100644
--- a/frameworks/projects/Storage/pom.xml
+++ b/frameworks/projects/Storage/pom.xml
@@ -39,6 +39,17 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeClasses>
+ <includeClass>StorageClasses</includeClass>
+ </includeClasses>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +77,21 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.externs</groupId>
+ <artifactId>flexjs-externs-cordova</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/XML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/pom.xml b/frameworks/projects/XML/pom.xml
index 9652c0c..c968846 100644
--- a/frameworks/projects/XML/pom.xml
+++ b/frameworks/projects/XML/pom.xml
@@ -39,6 +39,16 @@
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.7.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <configuration>
+ <includeSources>true</includeSources>
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -66,6 +76,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>extern</classifier>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc035a5e/frameworks/projects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index 60c60a6..9ac0738 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -46,8 +46,8 @@
<module>Flat</module>
<module>Formatters</module>
<module>GoogleMaps</module>
- <!--module>Graphics</module-->
- <!--module>HTML</module-->
+ <module>Graphics</module>
+ <module>HTML</module>
<module>HTML5</module>
<module>JQuery</module>
<module>Mobile</module>
[10/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Added
Apache repositories to flex-asjs parent
Posted by ah...@apache.org.
- Added Apache repositories to flex-asjs parent
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/229ba083
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/229ba083
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/229ba083
Branch: refs/heads/spark
Commit: 229ba083232b2fb4ff9b2fbd4c73c89483d78637
Parents: 7aa4961
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 12:20:44 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
pom.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/229ba083/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8a6a29a..c12e701 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,17 @@
</site>
</distributionManagement>
+ <repositories>
+ <repository>
+ <id>flex-release</id>
+ <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+ </repository>
+ <repository>
+ <id>flex-snapshots</id>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ </repository>
+ </repositories>
+
<mailingLists>
<mailingList>
<name>Apache Flex User List</name>
[08/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/build.xml b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
new file mode 100644
index 0000000..a5fac6a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
@@ -0,0 +1,140 @@
+<?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="ChartsJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="ChartsJS.swc" />
+ <property name="target.name.no.version" value="ChartsJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of ChartsJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/ChartsJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..649b6ef
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,81 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Charts/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Charts/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>ChartsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/.actionScriptProperties b/frameworks/js/FlexJS/projects/Collections/.actionScriptProperties
deleted file mode 100644
index ccaffa4..0000000
--- a/frameworks/js/FlexJS/projects/Collections/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Collections.as" projectUUID="03015f5b-acd3-493a-a697-34c3d1e91c89" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Collections/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Collections.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/.flexLibProperties b/frameworks/js/FlexJS/projects/Collections/.flexLibProperties
deleted file mode 100644
index b36db6f..0000000
--- a/frameworks/js/FlexJS/projects/Collections/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="CollectionsClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/.project b/frameworks/js/FlexJS/projects/Collections/.project
deleted file mode 100644
index 65ae379..0000000
--- a/frameworks/js/FlexJS/projects/Collections/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>CollectionsJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Collections/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 4af0e61..0000000
--- a/frameworks/js/FlexJS/projects/Collections/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:47:28 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/build.xml b/frameworks/js/FlexJS/projects/Collections/build.xml
deleted file mode 100644
index b799458..0000000
--- a/frameworks/js/FlexJS/projects/Collections/build.xml
+++ /dev/null
@@ -1,140 +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="CollectionsJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="CollectionsJS.swc" />
- <property name="target.name.no.version" value="CollectionsJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CollectionsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Collections/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Collections/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Collections/src/main/config/compile-js-config.xml
deleted file mode 100644
index c009150..0000000
--- a/frameworks/js/FlexJS/projects/Collections/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,76 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Collections/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Collections/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>CollectionsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
new file mode 100644
index 0000000..ccaffa4
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Collections.as" projectUUID="03015f5b-acd3-493a-a697-34c3d1e91c89" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Collections/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Collections.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/.flexLibProperties b/frameworks/js/FlexJS/projects/CollectionsJS/.flexLibProperties
new file mode 100644
index 0000000..b36db6f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="CollectionsClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/.project b/frameworks/js/FlexJS/projects/CollectionsJS/.project
new file mode 100644
index 0000000..65ae379
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>CollectionsJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/CollectionsJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..4af0e61
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:47:28 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
new file mode 100644
index 0000000..b799458
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
@@ -0,0 +1,140 @@
+<?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="CollectionsJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="CollectionsJS.swc" />
+ <property name="target.name.no.version" value="CollectionsJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CollectionsJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CollectionsJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/CollectionsJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..c009150
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,76 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Collections/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Collections/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>CollectionsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/.actionScriptProperties b/frameworks/js/FlexJS/projects/Core/.actionScriptProperties
deleted file mode 100644
index 514e37e..0000000
--- a/frameworks/js/FlexJS/projects/Core/.actionScriptProperties
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Core.as" projectUUID="be5b3edf-e159-406d-a592-1f8d39993fea" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Core/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Core.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/.flexLibProperties b/frameworks/js/FlexJS/projects/Core/.flexLibProperties
deleted file mode 100644
index 1d2dc3d..0000000
--- a/frameworks/js/FlexJS/projects/Core/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="CoreClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/.project b/frameworks/js/FlexJS/projects/Core/.project
deleted file mode 100644
index e966ade..0000000
--- a/frameworks/js/FlexJS/projects/Core/.project
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>CoreJS</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
- <linkedResources>
- <link>
- <name>[source path] flex</name>
- <type>2</type>
- <location>/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex</location>
- </link>
- </linkedResources>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Core/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 85ca44b..0000000
--- a/frameworks/js/FlexJS/projects/Core/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:41:16 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/build.xml b/frameworks/js/FlexJS/projects/Core/build.xml
deleted file mode 100644
index d800753..0000000
--- a/frameworks/js/FlexJS/projects/Core/build.xml
+++ /dev/null
@@ -1,148 +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="CoreJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="CoreJS.swc" />
- <property name="target.name.no.version" value="CoreJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of CoreJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="src/test/flex"/>
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- <!-- hack: inject some jsdoc to get rid of a warning when building examples -->
- <replace file="${basedir}/target/generated-sources/flexjs/org/apache/flex/events/IEventDispatcher.js"
- token="org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent"
- value="/** @param {(Object|null|string)} event The event. 
@return {boolean} The return. */
org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent" />
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Core/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Core/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Core/src/main/config/compile-js-config.xml
deleted file mode 100644
index 55229de..0000000
--- a/frameworks/js/FlexJS/projects/Core/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Core/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Core/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>CoreClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <!--<target-player>${playerglobal.version}</target-player>-->
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
new file mode 100644
index 0000000..514e37e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Core.as" projectUUID="be5b3edf-e159-406d-a592-1f8d39993fea" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Core/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Core.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/.flexLibProperties b/frameworks/js/FlexJS/projects/CoreJS/.flexLibProperties
new file mode 100644
index 0000000..1d2dc3d
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="CoreClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/.project b/frameworks/js/FlexJS/projects/CoreJS/.project
new file mode 100644
index 0000000..e966ade
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/.project
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CoreJS</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>[source path] flex</name>
+ <type>2</type>
+ <location>/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex</location>
+ </link>
+ </linkedResources>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/CoreJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..85ca44b
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:41:16 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/build.xml b/frameworks/js/FlexJS/projects/CoreJS/build.xml
new file mode 100644
index 0000000..d800753
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/build.xml
@@ -0,0 +1,148 @@
+<?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="CoreJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="CoreJS.swc" />
+ <property name="target.name.no.version" value="CoreJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of CoreJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="src/test/flex"/>
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ <!-- hack: inject some jsdoc to get rid of a warning when building examples -->
+ <replace file="${basedir}/target/generated-sources/flexjs/org/apache/flex/events/IEventDispatcher.js"
+ token="org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent"
+ value="/** @param {(Object|null|string)} event The event. 
@return {boolean} The return. */
org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent" />
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
[09/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
add JS to folder names so project name matches folder name
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/59eda117
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/59eda117
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/59eda117
Branch: refs/heads/spark
Commit: 59eda117de20cf980c1c79da5129b7c65c5a6a1d
Parents: abc4425
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 12 22:38:55 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:19 2016 -0700
----------------------------------------------------------------------
.../projects/Binding/.actionScriptProperties | 64 -------
.../FlexJS/projects/Binding/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Binding/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Binding/build.xml | 145 ---------------
.../src/main/config/compile-js-config.xml | 79 --------
.../projects/BindingJS/.actionScriptProperties | 64 +++++++
.../projects/BindingJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/BindingJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/BindingJS/build.xml | 145 +++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++
.../projects/Charts/.actionScriptProperties | 66 -------
.../FlexJS/projects/Charts/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Charts/.project | 39 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Charts/build.xml | 140 --------------
.../src/main/config/compile-js-config.xml | 81 --------
.../projects/ChartsJS/.actionScriptProperties | 66 +++++++
.../FlexJS/projects/ChartsJS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/ChartsJS/.project | 39 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/ChartsJS/build.xml | 140 ++++++++++++++
.../src/main/config/compile-js-config.xml | 81 ++++++++
.../Collections/.actionScriptProperties | 64 -------
.../projects/Collections/.flexLibProperties | 26 ---
.../js/FlexJS/projects/Collections/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/Collections/build.xml | 140 --------------
.../src/main/config/compile-js-config.xml | 76 --------
.../CollectionsJS/.actionScriptProperties | 64 +++++++
.../projects/CollectionsJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/CollectionsJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/CollectionsJS/build.xml | 140 ++++++++++++++
.../src/main/config/compile-js-config.xml | 76 ++++++++
.../projects/Core/.actionScriptProperties | 63 -------
.../js/FlexJS/projects/Core/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Core/.project | 25 ---
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Core/build.xml | 148 ---------------
.../Core/src/main/config/compile-js-config.xml | 78 --------
.../projects/CoreJS/.actionScriptProperties | 63 +++++++
.../FlexJS/projects/CoreJS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/CoreJS/.project | 25 +++
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/js/FlexJS/projects/CoreJS/build.xml | 148 +++++++++++++++
.../src/main/config/compile-js-config.xml | 78 ++++++++
.../projects/CreateJS/.actionScriptProperties | 66 -------
.../FlexJS/projects/CreateJS/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/CreateJS/.project | 38 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/CreateJS/build.xml | 154 ----------------
.../src/main/config/compile-js-config.xml | 84 ---------
.../projects/CreateJSJS/.actionScriptProperties | 66 +++++++
.../projects/CreateJSJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/CreateJSJS/.project | 38 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/CreateJSJS/build.xml | 154 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 84 +++++++++
.../projects/DragDrop/.actionScriptProperties | 64 -------
.../FlexJS/projects/DragDrop/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/DragDrop/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/DragDrop/build.xml | 148 ---------------
.../src/main/config/compile-js-config.xml | 79 --------
.../projects/DragDropJS/.actionScriptProperties | 64 +++++++
.../projects/DragDropJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/DragDropJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/DragDropJS/build.xml | 148 +++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++
.../projects/Effects/.actionScriptProperties | 64 -------
.../FlexJS/projects/Effects/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Effects/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Effects/build.xml | 148 ---------------
.../src/main/config/compile-js-config.xml | 79 --------
.../projects/EffectsJS/.actionScriptProperties | 64 +++++++
.../projects/EffectsJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/EffectsJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/EffectsJS/build.xml | 148 +++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++
.../projects/Flat/.actionScriptProperties | 65 -------
.../js/FlexJS/projects/Flat/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Flat/.project | 38 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Flat/build.xml | 147 ---------------
.../Flat/src/main/config/compile-js-config.xml | 80 --------
.../projects/FlatJS/.actionScriptProperties | 65 +++++++
.../FlexJS/projects/FlatJS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/FlatJS/.project | 38 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/js/FlexJS/projects/FlatJS/build.xml | 147 +++++++++++++++
.../src/main/config/compile-js-config.xml | 80 ++++++++
.../projects/Formatters/.actionScriptProperties | 65 -------
.../projects/Formatters/.flexLibProperties | 26 ---
.../js/FlexJS/projects/Formatters/.project | 38 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/Formatters/build.xml | 139 --------------
.../src/main/config/compile-js-config.xml | 80 --------
.../FormattersJS/.actionScriptProperties | 65 +++++++
.../projects/FormattersJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/FormattersJS/.project | 38 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/FormattersJS/build.xml | 139 ++++++++++++++
.../src/main/config/compile-js-config.xml | 80 ++++++++
.../projects/GoogleMaps/.actionScriptProperties | 64 -------
.../projects/GoogleMaps/.flexLibProperties | 30 ---
.../js/FlexJS/projects/GoogleMaps/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/GoogleMaps/build.xml | 145 ---------------
.../src/main/config/compile-js-config.xml | 75 --------
.../GoogleMapsJS/.actionScriptProperties | 64 +++++++
.../projects/GoogleMapsJS/.flexLibProperties | 30 +++
.../js/FlexJS/projects/GoogleMapsJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/GoogleMapsJS/build.xml | 145 +++++++++++++++
.../src/main/config/compile-js-config.xml | 75 ++++++++
.../projects/Graphics/.actionScriptProperties | 64 -------
.../FlexJS/projects/Graphics/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Graphics/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/Graphics/build.xml | 147 ---------------
.../src/main/config/compile-js-config.xml | 82 ---------
.../projects/GraphicsJS/.actionScriptProperties | 64 +++++++
.../projects/GraphicsJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/GraphicsJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/GraphicsJS/build.xml | 147 +++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++
.../projects/HTML/.actionScriptProperties | 68 -------
.../js/FlexJS/projects/HTML/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/HTML/.project | 40 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/HTML/build.xml | 146 ---------------
.../HTML/src/main/config/compile-js-config.xml | 90 ---------
.../projects/HTML5/.actionScriptProperties | 64 -------
.../js/FlexJS/projects/HTML5/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/HTML5/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/HTML5/build.xml | 139 --------------
.../HTML5/src/main/config/compile-js-config.xml | 77 --------
.../projects/HTML5JS/.actionScriptProperties | 64 +++++++
.../FlexJS/projects/HTML5JS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/HTML5JS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/js/FlexJS/projects/HTML5JS/build.xml | 139 ++++++++++++++
.../src/main/config/compile-js-config.xml | 77 ++++++++
.../projects/HTMLJS/.actionScriptProperties | 68 +++++++
.../FlexJS/projects/HTMLJS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/HTMLJS/.project | 40 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/js/FlexJS/projects/HTMLJS/build.xml | 146 +++++++++++++++
.../src/main/config/compile-js-config.xml | 90 +++++++++
.../projects/JQuery/.actionScriptProperties | 66 -------
.../FlexJS/projects/JQuery/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/JQuery/.project | 38 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/JQuery/build.xml | 145 ---------------
.../src/main/config/compile-js-config.xml | 86 ---------
.../projects/JQueryJS/.actionScriptProperties | 66 +++++++
.../FlexJS/projects/JQueryJS/.flexLibProperties | 26 +++
frameworks/js/FlexJS/projects/JQueryJS/.project | 38 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/JQueryJS/build.xml | 145 +++++++++++++++
.../src/main/config/compile-js-config.xml | 86 +++++++++
.../projects/Mobile/.actionScriptProperties | 66 -------
.../FlexJS/projects/Mobile/.flexLibProperties | 27 ---
frameworks/js/FlexJS/projects/Mobile/.project | 38 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Mobile/build.xml | 139 --------------
.../src/main/config/compile-js-config.xml | 89 ---------
.../projects/MobileJS/.actionScriptProperties | 66 +++++++
.../FlexJS/projects/MobileJS/.flexLibProperties | 27 +++
frameworks/js/FlexJS/projects/MobileJS/.project | 38 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/MobileJS/build.xml | 139 ++++++++++++++
.../src/main/config/compile-js-config.xml | 89 +++++++++
.../projects/Network/.actionScriptProperties | 64 -------
.../FlexJS/projects/Network/.flexLibProperties | 26 ---
frameworks/js/FlexJS/projects/Network/.project | 37 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
frameworks/js/FlexJS/projects/Network/build.xml | 145 ---------------
.../src/main/config/compile-js-config.xml | 82 ---------
.../projects/NetworkJS/.actionScriptProperties | 64 +++++++
.../projects/NetworkJS/.flexLibProperties | 26 +++
.../js/FlexJS/projects/NetworkJS/.project | 37 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/NetworkJS/build.xml | 145 +++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++
.../projects/Reflection/.actionScriptProperties | 63 -------
.../projects/Reflection/.flexLibProperties | 24 ---
.../js/FlexJS/projects/Reflection/.project | 36 ----
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../js/FlexJS/projects/Reflection/build.xml | 146 ---------------
.../src/main/config/compile-js-config.xml | 77 --------
.../ReflectionJS/.actionScriptProperties | 63 +++++++
.../projects/ReflectionJS/.flexLibProperties | 24 +++
.../js/FlexJS/projects/ReflectionJS/.project | 36 ++++
.../.settings/org.eclipse.core.resources.prefs | 3 +
.../js/FlexJS/projects/ReflectionJS/build.xml | 146 +++++++++++++++
.../src/main/config/compile-js-config.xml | 77 ++++++++
frameworks/js/FlexJS/projects/Storage/build.xml | 151 ---------------
.../src/main/config/compile-js-config.xml | 82 ---------
.../js/FlexJS/projects/StorageJS/build.xml | 151 +++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++
frameworks/js/FlexJS/projects/XML/build.xml | 183 -------------------
.../XML/src/main/config/compile-js-config.xml | 79 --------
frameworks/js/FlexJS/projects/XMLJS/build.xml | 183 +++++++++++++++++++
.../XMLJS/src/main/config/compile-js-config.xml | 79 ++++++++
212 files changed, 6552 insertions(+), 6552 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/.actionScriptProperties b/frameworks/js/FlexJS/projects/Binding/.actionScriptProperties
deleted file mode 100644
index b5d153e..0000000
--- a/frameworks/js/FlexJS/projects/Binding/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Binding.as" projectUUID="cdd94532-d7f6-40f0-b19c-de82c6e44011" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Binding/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Binding.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/.flexLibProperties b/frameworks/js/FlexJS/projects/Binding/.flexLibProperties
deleted file mode 100644
index 8c3754a..0000000
--- a/frameworks/js/FlexJS/projects/Binding/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="BindingClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/.project b/frameworks/js/FlexJS/projects/Binding/.project
deleted file mode 100644
index 595487d..0000000
--- a/frameworks/js/FlexJS/projects/Binding/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>BindingJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Binding/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index f3d8793..0000000
--- a/frameworks/js/FlexJS/projects/Binding/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:23:50 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/build.xml b/frameworks/js/FlexJS/projects/Binding/build.xml
deleted file mode 100644
index ff119f6..0000000
--- a/frameworks/js/FlexJS/projects/Binding/build.xml
+++ /dev/null
@@ -1,145 +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="BindingJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="BindingJS.swc" />
- <property name="target.name.no.version" value="BindingJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test-js" description="Full build of Binding.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js" >
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**" />
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Binding/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Binding/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Binding/src/main/config/compile-js-config.xml
deleted file mode 100644
index a56c1e2..0000000
--- a/frameworks/js/FlexJS/projects/Binding/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Binding/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Binding/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>BindingClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
new file mode 100644
index 0000000..b5d153e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Binding.as" projectUUID="cdd94532-d7f6-40f0-b19c-de82c6e44011" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Binding/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Binding.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/.flexLibProperties b/frameworks/js/FlexJS/projects/BindingJS/.flexLibProperties
new file mode 100644
index 0000000..8c3754a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="BindingClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/.project b/frameworks/js/FlexJS/projects/BindingJS/.project
new file mode 100644
index 0000000..595487d
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>BindingJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/BindingJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..f3d8793
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:23:50 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/build.xml b/frameworks/js/FlexJS/projects/BindingJS/build.xml
new file mode 100644
index 0000000..ff119f6
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/build.xml
@@ -0,0 +1,145 @@
+<?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="BindingJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="BindingJS.swc" />
+ <property name="target.name.no.version" value="BindingJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test-js" description="Full build of Binding.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js" >
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**" />
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/BindingJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/BindingJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..a56c1e2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/BindingJS/src/main/config/compile-js-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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Binding/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Binding/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>BindingClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/.actionScriptProperties b/frameworks/js/FlexJS/projects/Charts/.actionScriptProperties
deleted file mode 100644
index 1ce9164..0000000
--- a/frameworks/js/FlexJS/projects/Charts/.actionScriptProperties
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Charts.as" projectUUID="e231d754-8754-4562-8230-026f11fb4e02" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Charts/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Charts.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/.flexLibProperties b/frameworks/js/FlexJS/projects/Charts/.flexLibProperties
deleted file mode 100644
index a8dd58b..0000000
--- a/frameworks/js/FlexJS/projects/Charts/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="ChartsClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/.project b/frameworks/js/FlexJS/projects/Charts/.project
deleted file mode 100644
index b48ee1f..0000000
--- a/frameworks/js/FlexJS/projects/Charts/.project
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>ChartsJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>GraphicsJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Charts/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 0acb0d6..0000000
--- a/frameworks/js/FlexJS/projects/Charts/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:42:14 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/build.xml b/frameworks/js/FlexJS/projects/Charts/build.xml
deleted file mode 100644
index a5fac6a..0000000
--- a/frameworks/js/FlexJS/projects/Charts/build.xml
+++ /dev/null
@@ -1,140 +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="ChartsJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="ChartsJS.swc" />
- <property name="target.name.no.version" value="ChartsJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of ChartsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Charts/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Charts/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Charts/src/main/config/compile-js-config.xml
deleted file mode 100644
index 649b6ef..0000000
--- a/frameworks/js/FlexJS/projects/Charts/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,81 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/GraphicsJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Charts/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Charts/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>ChartsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
new file mode 100644
index 0000000..1ce9164
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Charts.as" projectUUID="e231d754-8754-4562-8230-026f11fb4e02" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Charts/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Charts.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/.flexLibProperties b/frameworks/js/FlexJS/projects/ChartsJS/.flexLibProperties
new file mode 100644
index 0000000..a8dd58b
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="ChartsClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/.project b/frameworks/js/FlexJS/projects/ChartsJS/.project
new file mode 100644
index 0000000..b48ee1f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/.project
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>ChartsJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>GraphicsJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ChartsJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/ChartsJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..0acb0d6
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ChartsJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:42:14 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
[47/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - new
build file for MX
Posted by ah...@apache.org.
new build file for MX
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ce279c30
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ce279c30
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ce279c30
Branch: refs/heads/spark
Commit: ce279c304b9b814671986c51494995ecf38da926
Parents: 06efa9c
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 26 15:44:06 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
frameworks/projects/MX/build.xml | 170 +++++++++++-----------------------
1 file changed, 54 insertions(+), 116 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ce279c30/frameworks/projects/MX/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/build.xml b/frameworks/projects/MX/build.xml
index 7e331b5..b844b53 100644
--- a/frameworks/projects/MX/build.xml
+++ b/frameworks/projects/MX/build.xml
@@ -26,71 +26,62 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="MX-${release.version}.swc" />
- <property name="target.name.no.version" value="MX.swc" />
- <target name="main" depends="clean,compile-asjs,compile-extern-swc,copy-js,compile,test" description="Full build of MX.swc">
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,js-if-needed,compile,test" description="Full build of ${ant.project.name}.swc">
</target>
- <target name="test" unless="is.jenkins">
- <ant dir="src/test/flex"/>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
</delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
<target name="compile" description="Compiles .as files into .swc">
- <echo message="Compiling target/${target.name}"/>
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <copy file="${basedir}/src/main/config/compile-as-config.xml"
- tofile="${basedir}/target/compile-as-config.xml" />
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/target/compile-as-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -98,85 +89,32 @@
<arg value="-define=COMPILE::LATER,false" />
<arg value="-define=CONFIG::performanceInstrumentation,false" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
</target>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <copy file="${basedir}/src/main/config/compile-js-config.xml"
- tofile="${basedir}/target/compile-js-config.xml" />
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- <arg value="-define=COMPILE::LATER,false" />
- <arg value="-define=CONFIG::performanceInstrumentation,false" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/externs/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/externs"/>
- <mkdir dir="${basedir}/target/externs"/>
-
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
<taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/externs/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="target/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- <arg value="-define=COMPILE::LATER,false" />
- <arg value="-define=CONFIG::performanceInstrumentation,false" />
- </compc>
- <copy file="${basedir}/target/externs/${target.name}" tofile="${FLEXJS_HOME}/frameworks/externs/${target.name.no.version}" />
</target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
</target>
-
-
</project>
[24/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed
XMLList plus()
Posted by ah...@apache.org.
Fixed XMLList plus()
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7b3c0cb4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7b3c0cb4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7b3c0cb4
Branch: refs/heads/spark
Commit: 7b3c0cb408d30ea5aaa003245c38fd98936e70cc
Parents: b9c15bb
Author: Harbs <ha...@in-tools.com>
Authored: Mon May 16 10:53:01 2016 +0300
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b3c0cb4/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 7518b95..18e4917 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -579,7 +579,7 @@ package
}
if(rightHand is String)
return this.toString() + rightHand;
- if(rightHand === NaN)
+ if(rightHand is Number && isNaN(rightHand))
return NaN;
if(isNaN(Number( this.toString() )) || isNaN(Number( rightHand.toString() )))
return this.toString() + rightHand.toString();
[39/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add
lookuponly to component list in catalog
Posted by ah...@apache.org.
add lookuponly to component list in catalog
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e656a9b5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e656a9b5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e656a9b5
Branch: refs/heads/spark
Commit: e656a9b5de05d90d116e314a14403a8d507b1822
Parents: fc19a24
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 19 23:17:12 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Flat/src/main/config/compile-as-config.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e656a9b5/frameworks/projects/Flat/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-as-config.xml b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
index 406dd04..3fb7880 100644
--- a/frameworks/projects/Flat/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
@@ -53,7 +53,6 @@
<uri>library://ns.apache.org/flexjs/flat</uri>
<manifest>../resources/flat-manifest.xml</manifest>
</namespace>
- <!-- TODO: Why is this neesed? -->
<namespace>
<uri>library://ns.apache.org/flexjs/flat</uri>
<manifest>../resources/flat-as-manifest.xml</manifest>
@@ -62,7 +61,6 @@
<source-path>
<path-element>../flex</path-element>
- <!--<path-element>asjs/src</path-element>-->
</source-path>
<warn-no-constructor>false</warn-no-constructor>
@@ -77,6 +75,8 @@
<path>../../../../../js/FlexJS/projects/FlatJS/target/generated-sources/flexjs/*</path>
</include-file>
+ <include-lookup-only>true</include-lookup-only>
+
<include-classes>
<class>FlatClasses</class>
<!--<class>FlatASJSClasses</class>-->
[36/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - clean up
build scripts
Posted by ah...@apache.org.
clean up build scripts
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/155b292a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/155b292a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/155b292a
Branch: refs/heads/spark
Commit: 155b292ac7134844e5dcd3e1ab33b0f898c37040
Parents: 817b0e7
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 21:51:41 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
.../js/FlexJS/projects/BindingJS/build.xml | 117 +++++++-------
.../js/FlexJS/projects/ChartsJS/build.xml | 115 ++++++++------
.../js/FlexJS/projects/CollectionsJS/build.xml | 115 ++++++++------
frameworks/js/FlexJS/projects/CoreJS/build.xml | 132 ++++++++--------
.../js/FlexJS/projects/CreateJSJS/build.xml | 131 ++++++++--------
.../js/FlexJS/projects/DragDropJS/build.xml | 125 ++++++++-------
.../js/FlexJS/projects/EffectsJS/build.xml | 127 ++++++++-------
frameworks/js/FlexJS/projects/FlatJS/build.xml | 116 +++++++-------
.../js/FlexJS/projects/FormattersJS/build.xml | 112 ++++++++------
.../js/FlexJS/projects/GoogleMapsJS/build.xml | 124 ++++++++-------
.../js/FlexJS/projects/GraphicsJS/build.xml | 116 +++++++-------
frameworks/js/FlexJS/projects/HTML5JS/build.xml | 112 ++++++++------
frameworks/js/FlexJS/projects/HTMLJS/build.xml | 119 ++++++++-------
.../js/FlexJS/projects/JQueryJS/build.xml | 115 ++++++++------
.../js/FlexJS/projects/MobileJS/build.xml | 112 ++++++++------
.../js/FlexJS/projects/NetworkJS/build.xml | 112 ++++++++------
.../js/FlexJS/projects/ReflectionJS/build.xml | 113 ++++++++------
.../js/FlexJS/projects/StorageJS/build.xml | 140 +++++++++--------
frameworks/js/FlexJS/projects/XMLJS/build.xml | 78 ++++------
frameworks/js/build.xml | 153 -------------------
frameworks/projects/Binding/build.xml | 86 ++++++-----
frameworks/projects/Charts/build.xml | 86 ++++++-----
frameworks/projects/Collections/build.xml | 86 ++++++-----
frameworks/projects/Core/build.xml | 95 +++++++-----
frameworks/projects/CreateJS/build.xml | 89 ++++++-----
frameworks/projects/DragDrop/build.xml | 89 ++++++-----
frameworks/projects/Effects/build.xml | 96 ++++++------
frameworks/projects/Flat/build.xml | 83 +++++-----
frameworks/projects/Formatters/build.xml | 83 ++++++----
frameworks/projects/GoogleMaps/build.xml | 90 ++++++-----
frameworks/projects/Graphics/build.xml | 83 +++++-----
frameworks/projects/HTML/build.xml | 82 +++++-----
frameworks/projects/HTML5/build.xml | 83 ++++++----
frameworks/projects/JQuery/build.xml | 85 ++++++-----
frameworks/projects/Mobile/build.xml | 83 ++++++----
frameworks/projects/Network/build.xml | 81 +++++-----
frameworks/projects/Reflection/build.xml | 80 +++++-----
frameworks/projects/Storage/build.xml | 99 ++++++------
frameworks/projects/XML/build.xml | 94 +++++-------
39 files changed, 2168 insertions(+), 1869 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/BindingJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/build.xml b/frameworks/js/FlexJS/projects/BindingJS/build.xml
index 8b94560..f5be9ab 100644
--- a/frameworks/js/FlexJS/projects/BindingJS/build.xml
+++ b/frameworks/js/FlexJS/projects/BindingJS/build.xml
@@ -26,39 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="BindingJS.swc" />
- <property name="target.name.no.version" value="BindingJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test-js" description="Full build of Binding.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="${target.name.no.version}"/>
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -68,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -83,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -96,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -104,36 +78,22 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
+
<target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
@@ -142,5 +102,58 @@
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/ChartsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/build.xml b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
index f57933e..dbc5c58 100644
--- a/frameworks/js/FlexJS/projects/ChartsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
@@ -26,33 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="ChartsJS.swc" />
- <property name="target.name.no.version" value="ChartsJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of ChartsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -62,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -77,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -90,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -98,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
index 2b9ceb1..8de2c5a 100644
--- a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
@@ -26,33 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="CollectionsJS.swc" />
- <property name="target.name.no.version" value="CollectionsJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of CollectionsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -62,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -77,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -90,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -98,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/CoreJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/build.xml b/frameworks/js/FlexJS/projects/CoreJS/build.xml
index ce9bc6f..9a27073 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CoreJS/build.xml
@@ -21,44 +21,21 @@
<project name="CoreJS" default="main" basedir=".">
<property name="FLEXJS_HOME" location="../../../../.."/>
-
+
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="CoreJS.swc" />
- <property name="target.name.no.version" value="CoreJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of CoreJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="src/test/flex"/>
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,15 +44,10 @@
</fileset>
</delete>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
@@ -84,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -96,12 +69,8 @@
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</java>
- <!-- hack: inject some jsdoc to get rid of a warning when building examples -->
- <replace file="${basedir}/target/generated-sources/flexjs/org/apache/flex/events/IEventDispatcher.js"
- token="org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent"
- value="/** @param {(Object|null|string)} event The event. 
@return {boolean} The return. */
org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent" />
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -109,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
index 7cac9e3..aea3544 100644
--- a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
@@ -26,45 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
- </condition>
- <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/target/createjs.swc" />
- <condition property="no.lint" value="true">
- <os family="windows"/>
- </condition>
- <property name="target.name" value="CreateJSJS.swc" />
- <property name="target.name.no.version" value="CreateJSJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of CreateJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -74,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -89,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -103,7 +71,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -111,44 +79,87 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<arg value="-external-library-path+=${CREATEJS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
+ </condition>
+ <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/target/createjs.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/DragDropJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/build.xml b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
index 7dbb419..2e8cc87 100644
--- a/frameworks/js/FlexJS/projects/DragDropJS/build.xml
+++ b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
@@ -26,40 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="DragDropJS.swc" />
- <property name="target.name.no.version" value="DragDropJS.swc" />
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs" description="Full build of DragDrop.swc">
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
<target name="clean">
<delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJSlibs">
- <include name="${target.name.no.version}"/>
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -68,12 +44,8 @@
</fileset>
</delete>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -84,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -97,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -105,44 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/EffectsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/build.xml b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
index 0dfd396..82d25cc 100644
--- a/frameworks/js/FlexJS/projects/EffectsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
@@ -26,41 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="EffectsJS.swc" />
- <property name="target.name.no.version" value="EffectsJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of Effects.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
-
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -69,12 +44,8 @@
</fileset>
</delete>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -85,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -98,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -106,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/FlatJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/build.xml b/frameworks/js/FlexJS/projects/FlatJS/build.xml
index 0cf230f..5fa5d49 100644
--- a/frameworks/js/FlexJS/projects/FlatJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FlatJS/build.xml
@@ -26,40 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="FlatJS.swc" />
- <property name="target.name.no.version" value="FlatJS.swc" />
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Flat.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -69,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -84,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -105,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/FormattersJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/build.xml b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
index 182526f..aaf97a6 100644
--- a/frameworks/js/FlexJS/projects/FormattersJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
@@ -26,32 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="FormattersJS.swc" />
- <property name="target.name.no.version" value="FormattersJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Formatters.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -61,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -76,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -97,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
[25/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Flash
Builder launch configurations for asjsc
Posted by ah...@apache.org.
Flash Builder launch configurations for asjsc
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/961b0546
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/961b0546
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/961b0546
Branch: refs/heads/spark
Commit: 961b0546e3d871dbaa568b600161ff3983281845
Parents: 2b8a69e
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue May 17 10:51:07 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
ide/flashbuilder/ASJSC (Debug Build).launch | 28 ++++++++++++++++++++
.../ASJSC (Debug and Release Build).launch | 28 ++++++++++++++++++++
2 files changed, 56 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/961b0546/ide/flashbuilder/ASJSC (Debug Build).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/ASJSC (Debug Build).launch b/ide/flashbuilder/ASJSC (Debug Build).launch
new file mode 100644
index 0000000..8268c06
--- /dev/null
+++ b/ide/flashbuilder/ASJSC (Debug Build).launch
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<launchConfiguration type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'>
+<booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' value='false'/>
+<listAttribute key='org.eclipse.debug.ui.favoriteGroups'>
+<listEntry value='org.eclipse.ui.externaltools.launchGroup'/>
+</listAttribute>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' value='${project}'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='$FLEXJS_HOME/js/bin/$ASJSC'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-debug=true -fb "${project_loc}"'/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/961b0546/ide/flashbuilder/ASJSC (Debug and Release Build).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/ASJSC (Debug and Release Build).launch b/ide/flashbuilder/ASJSC (Debug and Release Build).launch
new file mode 100644
index 0000000..62ee69d
--- /dev/null
+++ b/ide/flashbuilder/ASJSC (Debug and Release Build).launch
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<launchConfiguration type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'>
+<booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' value='false'/>
+<listAttribute key='org.eclipse.debug.ui.favoriteGroups'>
+<listEntry value='org.eclipse.ui.externaltools.launchGroup'/>
+</listAttribute>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' value='${project}'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='$FLEXJS_HOME/js/bin/$ASJSC'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-debug=false -fb "${project_loc}"'/>
+</launchConfiguration>
[49/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - try to
fix config.xml for MXJS
Posted by ah...@apache.org.
try to fix config.xml for MXJS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/06efa9c8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/06efa9c8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/06efa9c8
Branch: refs/heads/spark
Commit: 06efa9c87e0133c5bc9108afedb9a8c67a781197
Parents: 89bc26c
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 26 15:43:21 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
.../MXJS/src/main/config/compile-js-config.xml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/06efa9c8/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
index faf05ac..4441fa2 100644
--- a/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/FlexJS/projects/MXJS/src/main/config/compile-js-config.xml
@@ -31,6 +31,7 @@
<binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
<binding-value-change-event-type>valueChange</binding-value-change-event-type>
<allow-subclass-overrides>true</allow-subclass-overrides>
+
<keep-as3-metadata>
<name>Bindable</name>
<name>Managed</name>
@@ -45,23 +46,23 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../externs/Binding.swc</path-element>
- <path-element>../../../externs/Core.swc</path-element>
- <path-element>../../../externs/Graphics.swc</path-element>
- <path-element>../../../externs/Collections.swc</path-element>
- <path-element>../../../externs/Reflection.swc</path-element>
- <path-element>../../../externs/HTML.swc</path-element>
+ <path-element>../../../../../libs/BindingJS.swc</path-element>
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+ <path-element>../../../../../libs/ReflectionJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
</library-path>
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/mx</uri>
- <manifest>../src/main/resources/mx-manifest.xml</manifest>
+ <manifest>../../../../../../../projects/MX/src/main/resources/mx-manifest.xml</manifest>
</namespace>
</namespaces>
<source-path>
- <path-element>../src/main/flex</path-element>
+ <path-element>../../../../../../../projects/MX/src/main/flex</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
[42/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - suppress
instanceof warning in Core
Posted by ah...@apache.org.
suppress instanceof warning in Core
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bd2dde05
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bd2dde05
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bd2dde05
Branch: refs/heads/spark
Commit: bd2dde05481d4fe2a6e39869d0f1c909c68055ae
Parents: f88b37a
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 25 12:37:39 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
.../FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml | 3 +++
frameworks/projects/Core/src/main/config/compile-as-config.xml | 3 +++
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bd2dde05/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
index 55229de..d710846 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
@@ -56,6 +56,9 @@
</source-path>
<warn-no-constructor>false</warn-no-constructor>
+
+ <!-- Use of the instanceof operator. -->
+ <warn-instance-of-changes>false</warn-instance-of-changes>
</compiler>
<include-file>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bd2dde05/frameworks/projects/Core/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/config/compile-as-config.xml b/frameworks/projects/Core/src/main/config/compile-as-config.xml
index 1da99e3..76ff3a1 100644
--- a/frameworks/projects/Core/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Core/src/main/config/compile-as-config.xml
@@ -57,6 +57,9 @@
</source-path>
<warn-no-constructor>false</warn-no-constructor>
+
+ <!-- Use of the instanceof operator. -->
+ <warn-instance-of-changes>false</warn-instance-of-changes>
</compiler>
<include-file>
[14/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - hide
copies of generated sources
Posted by ah...@apache.org.
hide copies of generated sources
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1cf06fc5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1cf06fc5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1cf06fc5
Branch: refs/heads/spark
Commit: 1cf06fc5445d4a195fed5b859496cc094adada01
Parents: 1bbaa5b
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 13 11:49:34 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
.gitignore | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1cf06fc5/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index d2aacfb..ad7ee76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -123,4 +123,7 @@ html-template
#VF2JS generated files
bin
-vf2js/frameworks/js/
\ No newline at end of file
+vf2js/frameworks/js/
+
+#FlexJS generated files
+frameworks/js/FlexJS/generated-sources
[41/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Fixed
a problem in the parent pom relationship
Posted by ah...@apache.org.
- Fixed a problem in the parent pom relationship
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fc19a24d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fc19a24d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fc19a24d
Branch: refs/heads/spark
Commit: fc19a24da76aaffa74befd96621a1bc75eca6684
Parents: 8f914c1
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu May 19 16:57:51 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
frameworks/pom.xml | 1 -
frameworks/projects/pom.xml | 6 ++----
2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc19a24d/frameworks/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/pom.xml b/frameworks/pom.xml
index 4058466..01e513e 100644
--- a/frameworks/pom.xml
+++ b/frameworks/pom.xml
@@ -24,7 +24,6 @@
<groupId>org.apache.flex.flexjs</groupId>
<artifactId>flex-asjs</artifactId>
<version>0.7.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.apache.flex.flexjs.framework</groupId>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc19a24d/frameworks/projects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index d8bd39a..63025ca 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -21,13 +21,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.flex.flexjs</groupId>
- <artifactId>flex-asjs</artifactId>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>frameworks</artifactId>
<version>0.7.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
</parent>
- <groupId>org.apache.flex.flexjs.framework</groupId>
<artifactId>projects</artifactId>
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
[37/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix up
env template
Posted by ah...@apache.org.
fix up env template
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a1c52cb4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a1c52cb4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a1c52cb4
Branch: refs/heads/spark
Commit: a1c52cb4ec8655d6db40cbe47f74c9b089c1177b
Parents: 155b292
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 22:15:15 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
env-template.properties | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1c52cb4/env-template.properties
----------------------------------------------------------------------
diff --git a/env-template.properties b/env-template.properties
index 312098e..2787277 100644
--- a/env-template.properties
+++ b/env-template.properties
@@ -54,12 +54,12 @@
#env.AIR_HOME=
#
-# Set this to the root of its SDK: <repo-path>/compiler/generated/dist/sdk
+# Set this to the root of its SDK: <repo-path>/compiler
#
#env.FALCON_HOME=
#
-# Set this to the root of its SDK: <repo-path>/compiler.jx
+# Set this to the root of its SDK: <repo-path>/compiler-jx
#
#env.FALCONJX_HOME=
[26/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] -
installer: updates asjsc Flash Builder launch configurations with correct
paths for SDK
Posted by ah...@apache.org.
installer: updates asjsc Flash Builder launch configurations with correct paths for SDK
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6ce349d8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6ce349d8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6ce349d8
Branch: refs/heads/spark
Commit: 6ce349d834659fdc3a406c8e0524bce5d0dd7043
Parents: 961b054
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue May 17 12:48:31 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
installer.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ce349d8/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 50b213b..9070491 100644
--- a/installer.xml
+++ b/installer.xml
@@ -106,6 +106,10 @@
<os family="windows" />
</condition>
<property name="MXMLC" value="mxmlc" />
+ <condition property="ASJSC" value="asjsc.bat">
+ <os family="windows" />
+ </condition>
+ <property name="ASJSC" value="asjsc" />
<condition property="java.home" value="${env.JAVA_HOME}" >
<and>
@@ -924,6 +928,22 @@ tofile="${FLEXJS_HOME}/frameworks/themes/Halo/Halo.swc" />
token="$FLEXJS_HOME"
value="${FLEXJS_HOME}"/>
</replace>
+ <replace file="${FLEXJS_HOME}/ide/flashbuilder/ASJSC (Debug and Release Build).launch">
+ <replacefilter
+ token="$ASJSC"
+ value="${ASJSC}"/>
+ <replacefilter
+ token="$FLEXJS_HOME"
+ value="${FLEXJS_HOME}"/>
+ </replace>
+ <replace file="${FLEXJS_HOME}/ide/flashbuilder/ASJSC (Debug Build).launch">
+ <replacefilter
+ token="$ASJSC"
+ value="${ASJSC}"/>
+ <replacefilter
+ token="$FLEXJS_HOME"
+ value="${FLEXJS_HOME}"/>
+ </replace>
<replace file="${FLEXJS_HOME}/js/bin/mxmlc.bat">
<replacefilter
token="@java"
[31/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - switch
to using FLEX_FALCON linked resource so we don't have to move the externs
swcs into the frameworks folder
Posted by ah...@apache.org.
switch to using FLEX_FALCON linked resource so we don't have to move the externs swcs into the frameworks folder
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6b5850cc
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6b5850cc
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6b5850cc
Branch: refs/heads/spark
Commit: 6b5850ccf12c719683a67747abaddc79b9ef2336
Parents: ff7138e
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 10:48:04 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:22 2016 -0700
----------------------------------------------------------------------
.../js/FlexJS/projects/BindingJS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/CollectionsJS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/CreateJSJS/.actionScriptProperties | 6 +++---
.../js/FlexJS/projects/DragDropJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/EffectsJS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/FormattersJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/GraphicsJS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties | 4 ++--
frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties | 6 +++---
frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/NetworkJS/.actionScriptProperties | 4 ++--
.../js/FlexJS/projects/ReflectionJS/.actionScriptProperties | 4 ++--
17 files changed, 36 insertions(+), 36 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
index 5331f5f..f157414 100644
--- a/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/BindingJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
index dfd39df..0b68bfe 100644
--- a/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/ChartsJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
index 47d9703..f3f7b43 100644
--- a/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
index 02ed5dd..45bd47e 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/CoreJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
index 81d5618..01f118c 100644
--- a/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
@@ -48,9 +48,9 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/createjs.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/createjs.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
</libraryPath>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
index 25faecb..b556850 100644
--- a/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
index 54e82ff..e4b8be6 100644
--- a/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
index 3c5c98e..4725648 100644
--- a/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
</libraryPath>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
index 967df35..8d580cc 100644
--- a/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/FormattersJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
</libraryPath>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
index 02cf959..e69d3f6 100644
--- a/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
index d86a262..22b3be7 100644
--- a/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
index aa39712..c26a32a 100644
--- a/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/HTML5JS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
index c87616a..b05afcd 100644
--- a/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/HTMLJS/.actionScriptProperties
@@ -49,8 +49,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/BindingJS/target/BindingJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
index bfbc62c..3d109d1 100644
--- a/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/JQueryJS/.actionScriptProperties
@@ -48,9 +48,9 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/jquery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/jquery.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
</libraryPath>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
index 77426ba..dbd0fe4 100644
--- a/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
index 14c75f5..78bafab 100644
--- a/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6b5850cc/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
index 95f60fb..480ace2 100644
--- a/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
@@ -48,8 +48,8 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${FLEX_FALCON}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${FLEX_FALCON}/js/libs/GCL.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
[48/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - update
config to use MXJS project
Posted by ah...@apache.org.
update config to use MXJS project
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dc364483
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dc364483
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dc364483
Branch: refs/heads/spark
Commit: dc364483e0d438e030d03da284c25489791dd032
Parents: ce279c3
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 26 15:44:32 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
.../projects/MX/src/main/config/compile-as-config.xml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dc364483/frameworks/projects/MX/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/config/compile-as-config.xml b/frameworks/projects/MX/src/main/config/compile-as-config.xml
index 8137aec..ab8609d 100644
--- a/frameworks/projects/MX/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/MX/src/main/config/compile-as-config.xml
@@ -23,11 +23,11 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../libs/Binding.swc</path-element>
- <path-element>../../../libs/Core.swc</path-element>
- <path-element>../../../libs/Graphics.swc</path-element>
- <path-element>../../../libs/Collections.swc</path-element>
- <path-element>../../../libs/Reflection.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/Collections.swc</path-element>
+ <path-element>../../../../../libs/Reflection.swc</path-element>
</external-library-path>
<mxml>
@@ -50,12 +50,12 @@
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/mx</uri>
- <manifest>../src/main/resources/mx-manifest.xml</manifest>
+ <manifest>../resources/mx-manifest.xml</manifest>
</namespace>
</namespaces>
<source-path>
- <path-element>../src/main/flex</path-element>
+ <path-element>../flex</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
[02/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
new file mode 100644
index 0000000..0a73e71
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/.actionScriptProperties
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Mobile.as" projectUUID="b4358e31-bd95-4301-a3d3-f0e67881b93b" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Mobile/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/GraphicsJS/target/GraphicsJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Mobile.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/.flexLibProperties b/frameworks/js/FlexJS/projects/MobileJS/.flexLibProperties
new file mode 100644
index 0000000..8005cec
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/.flexLibProperties
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="CordovaClasses"/>
+ <classEntry path="MobileClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/.project b/frameworks/js/FlexJS/projects/MobileJS/.project
new file mode 100644
index 0000000..cb027de
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>MobileJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/MobileJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..d4676ea
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 14:03:58 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/build.xml b/frameworks/js/FlexJS/projects/MobileJS/build.xml
new file mode 100644
index 0000000..1e3d0b4
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/build.xml
@@ -0,0 +1,139 @@
+<?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="MobileJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="MobileJS.swc" />
+ <property name="target.name.no.version" value="MobileJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Mobile.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/MobileJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/MobileJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..7422554
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/MobileJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,89 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Mobile/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>../../../../../../../projects/Mobile/src/main/resources/cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Mobile/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>MobileClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/.actionScriptProperties b/frameworks/js/FlexJS/projects/Network/.actionScriptProperties
deleted file mode 100644
index 855698c..0000000
--- a/frameworks/js/FlexJS/projects/Network/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Network.as" projectUUID="9a67bdd4-1c63-4e33-b469-1af43c3cdf12" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Network/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Network.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/.flexLibProperties b/frameworks/js/FlexJS/projects/Network/.flexLibProperties
deleted file mode 100644
index 9c63cbe..0000000
--- a/frameworks/js/FlexJS/projects/Network/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="NetworkClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/.project b/frameworks/js/FlexJS/projects/Network/.project
deleted file mode 100644
index 9d20222..0000000
--- a/frameworks/js/FlexJS/projects/Network/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>NetworkJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Network/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index b08ae7a..0000000
--- a/frameworks/js/FlexJS/projects/Network/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 14:04:42 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/build.xml b/frameworks/js/FlexJS/projects/Network/build.xml
deleted file mode 100644
index 06af9bb..0000000
--- a/frameworks/js/FlexJS/projects/Network/build.xml
+++ /dev/null
@@ -1,145 +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="NetworkJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="NetworkJS.swc" />
- <property name="target.name.no.version" value="NetworkJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Network.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Network/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Network/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Network/src/main/config/compile-js-config.xml
deleted file mode 100644
index f402c79..0000000
--- a/frameworks/js/FlexJS/projects/Network/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Network/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Network/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>NetworkClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
new file mode 100644
index 0000000..855698c
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Network.as" projectUUID="9a67bdd4-1c63-4e33-b469-1af43c3cdf12" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Network/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Network.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/.flexLibProperties b/frameworks/js/FlexJS/projects/NetworkJS/.flexLibProperties
new file mode 100644
index 0000000..9c63cbe
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="NetworkClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/.project b/frameworks/js/FlexJS/projects/NetworkJS/.project
new file mode 100644
index 0000000..9d20222
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>NetworkJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/NetworkJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..b08ae7a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 14:04:42 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/build.xml b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
new file mode 100644
index 0000000..06af9bb
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
@@ -0,0 +1,145 @@
+<?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="NetworkJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="target.name" value="NetworkJS.swc" />
+ <property name="target.name.no.version" value="NetworkJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Network.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/NetworkJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/NetworkJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..f402c79
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/NetworkJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Network/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Network/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>NetworkClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/.actionScriptProperties b/frameworks/js/FlexJS/projects/Reflection/.actionScriptProperties
deleted file mode 100644
index e69e8ed..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/.actionScriptProperties
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Reflection.as" projectUUID="86565b55-be36-439b-a583-877632ea28b7" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Reflection/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Reflection.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/.flexLibProperties b/frameworks/js/FlexJS/projects/Reflection/.flexLibProperties
deleted file mode 100644
index 20339ea..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/.flexLibProperties
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
- <includeClasses/>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/.project b/frameworks/js/FlexJS/projects/Reflection/.project
deleted file mode 100644
index 1f3adb4..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/.project
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>ReflectionJS</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Reflection/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 44d7a61..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Feb 04 21:06:49 PST 2016
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/build.xml b/frameworks/js/FlexJS/projects/Reflection/build.xml
deleted file mode 100644
index 6dcc084..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/build.xml
+++ /dev/null
@@ -1,146 +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="ReflectionJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="ReflectionJS.swc" />
- <property name="target.name.no.version" value="ReflectionJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Reflection.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Reflection/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Reflection/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Reflection/src/main/config/compile-js-config.xml
deleted file mode 100644
index c2f63f6..0000000
--- a/frameworks/js/FlexJS/projects/Reflection/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,77 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Reflection/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../../../../../../../projects/Reflection/src/main/flex</path-element>
- </include-sources>
-
- <include-classes>
- </include-classes>
-
- <include-namespaces>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
new file mode 100644
index 0000000..e69e8ed
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/.actionScriptProperties
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Reflection.as" projectUUID="86565b55-be36-439b-a583-877632ea28b7" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Reflection/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Reflection.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/ReflectionJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/.flexLibProperties b/frameworks/js/FlexJS/projects/ReflectionJS/.flexLibProperties
new file mode 100644
index 0000000..20339ea
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/.flexLibProperties
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
+ <includeClasses/>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
[06/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/.actionScriptProperties b/frameworks/js/FlexJS/projects/Effects/.actionScriptProperties
deleted file mode 100644
index 308d8d2..0000000
--- a/frameworks/js/FlexJS/projects/Effects/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Effects.as" projectUUID="c7b22e99-ecef-48e3-90be-f80d3bc54d5f" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Effects/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Effects.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/.flexLibProperties b/frameworks/js/FlexJS/projects/Effects/.flexLibProperties
deleted file mode 100644
index 527a31e..0000000
--- a/frameworks/js/FlexJS/projects/Effects/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="EffectsClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/.project b/frameworks/js/FlexJS/projects/Effects/.project
deleted file mode 100644
index d5f3a70..0000000
--- a/frameworks/js/FlexJS/projects/Effects/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>EffectsJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Effects/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 214322e..0000000
--- a/frameworks/js/FlexJS/projects/Effects/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:52:10 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/build.xml b/frameworks/js/FlexJS/projects/Effects/build.xml
deleted file mode 100644
index 01f29f0..0000000
--- a/frameworks/js/FlexJS/projects/Effects/build.xml
+++ /dev/null
@@ -1,148 +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="EffectsJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="EffectsJS.swc" />
- <property name="target.name.no.version" value="EffectsJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Effects.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Effects/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Effects/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Effects/src/main/config/compile-js-config.xml
deleted file mode 100644
index 1aad9b2..0000000
--- a/frameworks/js/FlexJS/projects/Effects/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../../../../../../../projects/Effects/src/main/flex</path-element>
- </source-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/Effects/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>EffectsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
new file mode 100644
index 0000000..308d8d2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Effects.as" projectUUID="c7b22e99-ecef-48e3-90be-f80d3bc54d5f" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Effects/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Effects.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/.flexLibProperties b/frameworks/js/FlexJS/projects/EffectsJS/.flexLibProperties
new file mode 100644
index 0000000..527a31e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="EffectsClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/.project b/frameworks/js/FlexJS/projects/EffectsJS/.project
new file mode 100644
index 0000000..d5f3a70
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>EffectsJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/EffectsJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..214322e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:52:10 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/build.xml b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
new file mode 100644
index 0000000..01f29f0
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
@@ -0,0 +1,148 @@
+<?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="EffectsJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="EffectsJS.swc" />
+ <property name="target.name.no.version" value="EffectsJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js" description="Full build of Effects.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ <ant dir="asjs/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/EffectsJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/EffectsJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..1aad9b2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/EffectsJS/src/main/config/compile-js-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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Effects/src/main/flex</path-element>
+ </source-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Effects/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>EffectsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/.actionScriptProperties b/frameworks/js/FlexJS/projects/Flat/.actionScriptProperties
deleted file mode 100644
index 58205ae..0000000
--- a/frameworks/js/FlexJS/projects/Flat/.actionScriptProperties
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Flat.as" projectUUID="ea1b31ea-3d47-4d1e-8e28-ad149f2397e1" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Flat/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Flat.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/.flexLibProperties b/frameworks/js/FlexJS/projects/Flat/.flexLibProperties
deleted file mode 100644
index ef32fe0..0000000
--- a/frameworks/js/FlexJS/projects/Flat/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="FlatClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/.project b/frameworks/js/FlexJS/projects/Flat/.project
deleted file mode 100644
index 2bd58f2..0000000
--- a/frameworks/js/FlexJS/projects/Flat/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>FlatJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/Flat/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 4b86e86..0000000
--- a/frameworks/js/FlexJS/projects/Flat/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Feb 04 20:48:50 PST 2016
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/build.xml b/frameworks/js/FlexJS/projects/Flat/build.xml
deleted file mode 100644
index 1329302..0000000
--- a/frameworks/js/FlexJS/projects/Flat/build.xml
+++ /dev/null
@@ -1,147 +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="FlatJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="FlatJS.swc" />
- <property name="target.name.no.version" value="FlatJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Flat.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Flat/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Flat/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/Flat/src/main/config/compile-js-config.xml
deleted file mode 100644
index b77144f..0000000
--- a/frameworks/js/FlexJS/projects/Flat/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>../../../../../../../projects/Flat/src/main/resources/flat-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/Flat/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FlatClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
new file mode 100644
index 0000000..58205ae
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/.actionScriptProperties
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="Flat.as" projectUUID="ea1b31ea-3d47-4d1e-8e28-ad149f2397e1" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Flat/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Flat.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/.flexLibProperties b/frameworks/js/FlexJS/projects/FlatJS/.flexLibProperties
new file mode 100644
index 0000000..ef32fe0
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="FlatClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/.project b/frameworks/js/FlexJS/projects/FlatJS/.project
new file mode 100644
index 0000000..2bd58f2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>FlatJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/FlatJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..4b86e86
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 20:48:50 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/build.xml b/frameworks/js/FlexJS/projects/FlatJS/build.xml
new file mode 100644
index 0000000..1329302
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/build.xml
@@ -0,0 +1,147 @@
+<?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="FlatJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="FlatJS.swc" />
+ <property name="target.name.no.version" value="FlatJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of Flat.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ <ant dir="asjs/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/FlatJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/FlatJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..b77144f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/FlatJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>../../../../../../../projects/Flat/src/main/resources/flat-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Flat/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FlatClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/.actionScriptProperties b/frameworks/js/FlexJS/projects/Formatters/.actionScriptProperties
deleted file mode 100644
index f945368..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/.actionScriptProperties
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="Formatters.as" projectUUID="187f4b92-5fcd-4cee-ac61-58362a56ba1b" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/Formatters/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="Formatters.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/Formatters/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/Formatters/.flexLibProperties b/frameworks/js/FlexJS/projects/Formatters/.flexLibProperties
deleted file mode 100644
index f87c809..0000000
--- a/frameworks/js/FlexJS/projects/Formatters/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="FormattersClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
[35/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - clean up
build scripts
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
index 0e786c5..5052955 100644
--- a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
@@ -26,36 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
- </condition>
- <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/target/google_maps.swc" />
- <property name="target.name" value="GoogleMapsJS.swc" />
- <property name="target.name.no.version" value="GoogleMapsJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of GoogleMaps.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -64,12 +44,8 @@
</fileset>
</delete>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -80,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -94,7 +71,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -102,44 +79,87 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<arg value="-external-library-path+=${GOOGLEMAPS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
+ </condition>
+ <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/target/google_maps.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
index e752171..d8925df 100644
--- a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
@@ -26,40 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="GraphicsJS.swc" />
- <property name="target.name.no.version" value="GraphicsJS.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of GraphicsJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
-
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -69,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -84,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -105,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/HTML5JS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/build.xml b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
index 0ea7b40..372f272 100644
--- a/frameworks/js/FlexJS/projects/HTML5JS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
@@ -26,32 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="HTML5JS.swc" />
- <property name="target.name.no.version" value="HTML5JS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of HTML5.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -61,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -76,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -97,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/HTMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/build.xml b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
index 227fcaf..bc08c2b 100644
--- a/frameworks/js/FlexJS/projects/HTMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
@@ -26,38 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="HTMLJS.swc" />
- <property name="target.name.no.version" value="HTMLJS.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of HTMLJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="src/test/flex"/>
- -->
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -82,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -95,7 +70,7 @@
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -103,44 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/JQueryJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/build.xml b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
index e060659..fa3a7cf 100644
--- a/frameworks/js/FlexJS/projects/JQueryJS/build.xml
+++ b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
@@ -26,36 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="JQUERY.SWC" value="${FALCONJX_HOME}/../js/libs/jquery.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/jquery.swc" />
- </condition>
- <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/target/jquery-1.9.swc" />
- <property name="target.name" value="JQueryJS.swc" />
- <property name="target.name.no.version" value="JQueryJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of jQuery.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -65,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -80,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -102,44 +79,84 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<arg value="-external-library-path+=${JQUERY.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/target/jquery-1.9.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/MobileJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/build.xml b/frameworks/js/FlexJS/projects/MobileJS/build.xml
index ef08d3c..ce9d392 100644
--- a/frameworks/js/FlexJS/projects/MobileJS/build.xml
+++ b/frameworks/js/FlexJS/projects/MobileJS/build.xml
@@ -26,32 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="MobileJS.swc" />
- <property name="target.name.no.version" value="MobileJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Mobile.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -61,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -76,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -97,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/NetworkJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/build.xml b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
index 9cb09a3..42fc17c 100644
--- a/frameworks/js/FlexJS/projects/NetworkJS/build.xml
+++ b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
@@ -26,38 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="NetworkJS.swc" />
- <property name="target.name.no.version" value="NetworkJS.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js" description="Full build of Network.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -82,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -103,43 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
index 7c24589..edeef54 100644
--- a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
@@ -26,38 +26,16 @@
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="ReflectionJS.swc" />
- <property name="target.name.no.version" value="ReflectionJS.swc" />
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Reflection.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,11 +45,7 @@
</delete>
</target>
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -82,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -103,44 +78,82 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
- <target name="copy-js">
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/StorageJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/build.xml b/frameworks/js/FlexJS/projects/StorageJS/build.xml
index c9370b2..03f3055 100644
--- a/frameworks/js/FlexJS/projects/StorageJS/build.xml
+++ b/frameworks/js/FlexJS/projects/StorageJS/build.xml
@@ -21,47 +21,21 @@
<project name="StorageJS" default="main" basedir=".">
<property name="FLEXJS_HOME" location="../../../../.."/>
-
+
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
- </condition>
- <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/target/cordova.swc" />
- <property name="target.name" value="StorageJS.swc" />
- <property name="target.name.no.version" value="StorageJS.swc" />
-
- <target name="main" depends="clean,compile-js-swc,compile-asjs,copy-js,test" description="Full build of Storage.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests"/>
- -->
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
+
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -70,12 +44,8 @@
</fileset>
</delete>
</target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
+
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -86,6 +56,7 @@
<jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+flexlib=${FLEX_HOME}/frameworks" />
<arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
<arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
@@ -93,14 +64,14 @@
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${CORDOVA.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
- <arg value="--external-library-path+=${CORDOVA.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</java>
</target>
-
+
<target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -108,44 +79,87 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-external-library-path=${JS.SWC}" />
+ <arg value="-external-library-path+=${CORDOVA.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
- <arg value="--external-library-path+=${CORDOVA.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
-
- <target name="copy-js">
+
+ <target name="copy-js" >
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
<copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
+ <include name="**/**" />
</fileset>
</copy>
</target>
-
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
+ </condition>
+ <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/target/cordova.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
+
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/155b292a/frameworks/js/FlexJS/projects/XMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/build.xml b/frameworks/js/FlexJS/projects/XMLJS/build.xml
index a774ccd..3b6ad6c 100644
--- a/frameworks/js/FlexJS/projects/XMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/XMLJS/build.xml
@@ -27,37 +27,15 @@
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <target name="more-props" >
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <property name="target.name" value="XMLJS.swc" />
- <property name="target.name.no.version" value="XMLJS.swc" />
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
- </target>
+ <property name="target.name" value="${ant.project.name}.swc" />
- <!--<target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,compile-js-swc,copy-js,compile,test-js" description="Full build of XML.swc">
- </target>-->
- <target name="main" depends="clean,check-falcon-home,check-falconjx-home,more-props,compile-asjs,copy-js,test-js" description="Full build of XML.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs,copy-js" description="Full build of ${ant.project.name}.swc">
</target>
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
+ <include name="${target.name}"/>
</fileset>
</delete>
<delete failonerror="false" includeemptydirs="true">
@@ -67,7 +45,7 @@
</delete>
</target>
- <target name="compile-asjs">
+ <target name="compile-asjs" depends="check-compiler">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
@@ -100,34 +78,20 @@
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
<load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-compiler.strict-xml=true" />
<arg value="-external-library-path=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
</target>
<target name="copy-js" >
@@ -139,6 +103,21 @@
</copy>
</target>
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
<target name="check-falcon-home" unless="FALCON_HOME"
description="Check FALCON_HOME is a directory.">
@@ -149,12 +128,12 @@
property="FALCON_HOME"
value="${env.FALCON_HOME}"/>
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
type="file"
property="FALCON_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
- <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler/generated/dist/sdk folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK"
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
unless="FALCON_HOME"/>
</target>
@@ -168,16 +147,13 @@
property="FALCONJX_HOME"
value="${env.FALCONJX_HOME}"/>
- <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar"
type="file"
property="FALCONJX_HOME"
- value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
+ value="${FLEXJS_HOME}/../flex-falcon/compiler-jx"/>
- <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK"
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
unless="FALCONJX_HOME"/>
</target>
- <target name="asjs" depends="check-falcon-home,check-falconjx-home,more-props,compile-asjs">
- </target>
-
</project>
[12/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] -
FLEX-35085 - Update release notes
Posted by ah...@apache.org.
FLEX-35085 - Update release notes
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7aa49618
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7aa49618
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7aa49618
Branch: refs/heads/spark
Commit: 7aa49618f697c0f7290faf25814e7d548506d5d2
Parents: bc035a5
Author: piotrz <pi...@apache.org>
Authored: Sat May 14 10:55:41 2016 +0200
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
RELEASE_NOTES | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7aa49618/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 3ab2efd..7eed7bd 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -17,6 +17,8 @@ See here for limitations: https://cwiki.apache.org/confluence/display/FLEX/Using
Bug Fixes
---------
+-FLEX-35089 - FlexJS Circle not drawn in proper location when x-compiled for JavaScript
+-FLEX-35058 - Flex JS LICENCE and NOTICE doesn't follow ASF policy
Apache FlexJS 0.6.0
=================
[32/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - building
main SWC will build JS SWC first if needed
Posted by ah...@apache.org.
building main SWC will build JS SWC first if needed
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/817b0e7e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/817b0e7e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/817b0e7e
Branch: refs/heads/spark
Commit: 817b0e7e33401b0edac134c560b16c4b78fd770a
Parents: 495fcfa
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 13:15:56 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:23 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Binding/build.xml | 11 ++++++++++-
frameworks/projects/Charts/build.xml | 11 ++++++++++-
frameworks/projects/Collections/build.xml | 11 ++++++++++-
frameworks/projects/Core/build.xml | 11 ++++++++++-
frameworks/projects/CreateJS/build.xml | 11 ++++++++++-
frameworks/projects/DragDrop/build.xml | 11 ++++++++++-
frameworks/projects/Effects/build.xml | 11 ++++++++++-
frameworks/projects/Flat/build.xml | 11 ++++++++++-
frameworks/projects/Formatters/build.xml | 11 ++++++++++-
frameworks/projects/GoogleMaps/build.xml | 11 ++++++++++-
frameworks/projects/Graphics/build.xml | 11 ++++++++++-
frameworks/projects/HTML/build.xml | 11 ++++++++++-
frameworks/projects/HTML5/build.xml | 11 ++++++++++-
frameworks/projects/JQuery/build.xml | 11 ++++++++++-
frameworks/projects/Mobile/build.xml | 11 ++++++++++-
frameworks/projects/Network/build.xml | 11 ++++++++++-
frameworks/projects/Reflection/build.xml | 11 ++++++++++-
frameworks/projects/Storage/build.xml | 11 ++++++++++-
18 files changed, 180 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index dce2b49..721aa8e 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -31,7 +31,16 @@
<property name="target.name" value="Binding.swc" />
<property name="target.name.no.version" value="Binding.swc" />
- <target name="main" depends="clean,compile,test-js" description="Full build of Binding.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test-js" description="Full build of Binding.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index 60e8fd4..7c36fb6 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -31,9 +31,18 @@
<property name="target.name" value="Charts.swc" />
<property name="target.name.no.version" value="Charts.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Charts.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Charts.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index ffc4731..83c53a9 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -31,9 +31,18 @@
<property name="target.name" value="Collections.swc" />
<property name="target.name.no.version" value="Collections.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Collections.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Collections.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index 36058ef..292f449 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -31,9 +31,18 @@
<property name="target.name" value="Core.swc" />
<property name="target.name.no.version" value="Core.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Core.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Core.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<ant dir="src/test/flex"/>
</target>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index 5d05c69..bf7ecf1 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="CreateJS.swc" />
<property name="target.name.no.version" value="CreateJS.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of CreateJS.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of CreateJS.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index c3cfffd..0ec9d55 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -31,7 +31,16 @@
<property name="target.name" value="DragDrop.swc" />
<property name="target.name.no.version" value="DragDrop.swc" />
- <target name="main" depends="clean,compile" description="Full build of DragDrop.swc">
+ <target name="main" depends="clean,js-if-needed,compile" description="Full build of DragDrop.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index ad5cde8..004d789 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -31,7 +31,16 @@
<property name="target.name" value="Effects.swc" />
<property name="target.name.no.version" value="Effects.swc" />
- <target name="main" depends="clean,compile" description="Full build of Effects.swc">
+ <target name="main" depends="clean,js-if-needed,compile" description="Full build of Effects.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index bb00438..f84eb8d 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -31,9 +31,18 @@
<property name="target.name" value="Flat.swc" />
<property name="target.name.no.version" value="Flat.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Flat.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Flat.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index 6abc429..3843531 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="Formatters.swc" />
<property name="target.name.no.version" value="Formatters.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Formatters.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Formatters.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index 25ff0ef..a2c2f80 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="GoogleMaps.swc" />
<property name="target.name.no.version" value="GoogleMaps.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of GoogleMaps.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of GoogleMaps.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index 7c1dd85..6764adf 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -30,7 +30,16 @@
<property name="target.name" value="Graphics.swc" />
<property name="target.name.no.version" value="Graphics.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Graphics.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Graphics.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index 7f6abcc..dc16577 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="HTML.swc" />
<property name="target.name.no.version" value="HTML.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of HTML.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of HTML.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<ant dir="src/test/flex"/>
</target>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index 023179d..f41560e 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="HTML5.swc" />
<property name="target.name.no.version" value="HTML5.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of HTML5.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of HTML5.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index e9dd7ac..c1677f6 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -30,7 +30,16 @@
<property name="target.name" value="JQuery.swc" />
<property name="target.name.no.version" value="JQuery.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of jQuery.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of jQuery.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index 92229da..f2f6a3a 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="Mobile.swc" />
<property name="target.name.no.version" value="Mobile.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Mobile.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Mobile.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index 99b1e7c..1032681 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -30,9 +30,18 @@
<property name="target.name" value="Network.swc" />
<property name="target.name.no.version" value="Network.swc" />
- <target name="main" depends="clean,compile" description="Full build of Network.swc">
+ <target name="main" depends="clean,js-if-needed,compile" description="Full build of Network.swc">
</target>
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
<target name="test" unless="is.jenkins">
<!-- no tests yet
<ant dir="as/tests" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index 2132bb4..3a75e35 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -30,7 +30,16 @@
<property name="target.name" value="Reflection.swc" />
<property name="target.name.no.version" value="Reflection.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Reflection.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Reflection.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/817b0e7e/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 4e10df5..57b2aa9 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -30,7 +30,16 @@
<property name="target.name" value="Storage.swc" />
<property name="target.name.no.version" value="Storage.swc" />
- <target name="main" depends="clean,compile,test" description="Full build of Storage.swc">
+ <target name="main" depends="clean,js-if-needed,compile,test" description="Full build of Storage.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
</target>
<target name="test" unless="is.jenkins">
[07/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - add JS
to folder names so project name matches folder name
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..55229de
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CoreJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,78 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/Core/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/Core/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CoreClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CreateJS/.actionScriptProperties
deleted file mode 100644
index 5e7e9d2..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/.actionScriptProperties
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="CreateJS.as" projectUUID="7d9af24d-d32d-4e14-b0ee-f799e604c2bc" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/CreateJS/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/createjs.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="CreateJS.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/.flexLibProperties b/frameworks/js/FlexJS/projects/CreateJS/.flexLibProperties
deleted file mode 100644
index b8d2b87..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="CreateJSClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/.project b/frameworks/js/FlexJS/projects/CreateJS/.project
deleted file mode 100644
index db3735d..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>CreateJSJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- <project>HTMLJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/CreateJS/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index d3cd0be..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:48:17 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/build.xml b/frameworks/js/FlexJS/projects/CreateJS/build.xml
deleted file mode 100644
index f8141c0..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/build.xml
+++ /dev/null
@@ -1,154 +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="CreateJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
- <condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
- </condition>
- <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/target/createjs.swc" />
- <condition property="no.lint" value="true">
- <os family="windows"/>
- </condition>
- <property name="target.name" value="CreateJSJS.swc" />
- <property name="target.name.no.version" value="CreateJSJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CreateJS.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${CREATEJS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <arg value="-external-library-path+=${CREATEJS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/CreateJS/src/main/config/compile-js-config.xml
deleted file mode 100644
index 08de41e..0000000
--- a/frameworks/js/FlexJS/projects/CreateJS/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,84 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- <manifest>../../../../../../../projects/CreateJS/src/main/resources/createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/CreateJS/src/main/flex</path-element>
- </source-path>
-
- <library-path>
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- <path-element>../../../../../libs/HTMLJS.swc</path-element>
- <path-element>../../../../../libs/GraphicsJS.swc</path-element>
- </library-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>CreateJSClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- </include-namespaces>
-
- <!--<target-player>${playerglobal.version}</target-player>-->
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
new file mode 100644
index 0000000..5e7e9d2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/.actionScriptProperties
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="CreateJS.as" projectUUID="7d9af24d-d32d-4e14-b0ee-f799e604c2bc" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/CreateJS/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/createjs.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTMLJS/target/HTMLJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="CreateJS.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/.flexLibProperties b/frameworks/js/FlexJS/projects/CreateJSJS/.flexLibProperties
new file mode 100644
index 0000000..b8d2b87
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="CreateJSClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/.project b/frameworks/js/FlexJS/projects/CreateJSJS/.project
new file mode 100644
index 0000000..db3735d
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/.project
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>CreateJSJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ <project>HTMLJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/CreateJSJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..d3cd0be
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:48:17 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
new file mode 100644
index 0000000..f8141c0
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
@@ -0,0 +1,154 @@
+<?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="CreateJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+ <condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
+ </condition>
+ <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/target/createjs.swc" />
+ <condition property="no.lint" value="true">
+ <os family="windows"/>
+ </condition>
+ <property name="target.name" value="CreateJSJS.swc" />
+ <property name="target.name.no.version" value="CreateJSJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs,copy-js,test" description="Full build of CreateJS.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${CREATEJS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <arg value="-external-library-path+=${CREATEJS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/CreateJSJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/CreateJSJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..08de41e
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,84 @@
+<!--
+
+ 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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>../../../../../../../projects/CreateJS/src/main/resources/createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/CreateJS/src/main/flex</path-element>
+ </source-path>
+
+ <library-path>
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ </library-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/.actionScriptProperties b/frameworks/js/FlexJS/projects/DragDrop/.actionScriptProperties
deleted file mode 100644
index eb5b14c..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/.actionScriptProperties
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<actionScriptProperties analytics="false" mainApplicationPath="DragDrop.as" projectUUID="8736dc4b-71dc-4f2c-9181-5295a09b7c7e" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
- <compilerSourcePath>
- <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/DragDrop/src/main/flex"/>
- </compilerSourcePath>
- <libraryPath defaultLinkType="0">
- <libraryPathEntry kind="4" path="">
- <excludedEntries>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
- <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/Network.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="DragDrop.as"/>
- </applications>
- <modules/>
- <workers/>
- <buildCSSFiles/>
- <flashCatalyst validateFlashCatalystCompatibility="false"/>
-</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/.flexLibProperties b/frameworks/js/FlexJS/projects/DragDrop/.flexLibProperties
deleted file mode 100644
index c11e29f..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/.flexLibProperties
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
- <includeClasses>
- <classEntry path="DragDropClasses"/>
- </includeClasses>
- <includeResources/>
- <namespaceManifests/>
-</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/.project b/frameworks/js/FlexJS/projects/DragDrop/.project
deleted file mode 100644
index 87dfc6a..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/.project
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<projectDescription>
- <name>DragDropJS</name>
- <comment></comment>
- <projects>
- <project>CoreJS</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.adobe.flexbuilder.project.flexbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
- <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
- </natures>
-</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/DragDrop/.settings/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 42c60d2..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/.settings/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jun 08 13:48:45 PDT 2015
-eclipse.preferences.version=1
-encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/build.xml b/frameworks/js/FlexJS/projects/DragDrop/build.xml
deleted file mode 100644
index 3ee1053..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/build.xml
+++ /dev/null
@@ -1,148 +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="DragDropJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
- <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
- <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
- </condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
- <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
- <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
- </condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
-
- <property name="target.name" value="DragDropJS.swc" />
- <property name="target.name.no.version" value="DragDropJS.swc" />
-
- <target name="main" depends="clean,compile-extern-swc,compile-asjs" description="Full build of DragDrop.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="as/tests" />
- <ant dir="asjs/tests" />
- -->
- </target>
-
- <target name="test-js" unless="is.jenkins">
- <!-- no tests yet
- <ant dir="js/tests" />
- -->
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJSlibs">
- <include name="${target.name.no.version}"/>
- </fileset>
- </delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/target">
- <include name="**/**"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile-asjs">
- <echo message="Cross-compiling ${target.name}"/>
- <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
- <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
- <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
- <jvmarg value="-Xmx384m" />
- <jvmarg value="-Dsun.io.useCanonCaches=false" />
- <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
- <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="+flexlib=${FLEX_HOME}/frameworks" />
- <arg value="-js-output-type=FLEXJS" />
- <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </java>
- </target>
-
- <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
- <echo message="Compiling target/${target.name}"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
- <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
- <mkdir dir="${basedir}/target"/>
-
- <!-- 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" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in CoreClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- 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="${basedir}/target/${target.name}">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
- <arg value="-external-library-path+=${JS.SWC}" />
- <!-- this is not on external-library path otherwise goog.requires are not generated -->
- <arg value="-library-path+=${GCL.SWC}" />
- <arg value="-define=COMPILE::AS3,false" />
- <arg value="-define=COMPILE::JS,true" />
- </compc>
- <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
- </target>
-
- <target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
- <include name="**/**"/>
- </fileset>
- </copy>
- </target>
-
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDrop/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDrop/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/DragDrop/src/main/config/compile-js-config.xml
deleted file mode 100644
index a651af1..0000000
--- a/frameworks/js/FlexJS/projects/DragDrop/src/main/config/compile-js-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../libs/CoreJS.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../../../../../../projects/DragDrop/src/main/resources/basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../../../../../../../projects/DragDrop/src/main/flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>DragDropClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties b/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
new file mode 100644
index 0000000..eb5b14c
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/.actionScriptProperties
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="DragDrop.as" projectUUID="8736dc4b-71dc-4f2c-9181-5295a09b7c7e" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,false -define=COMPILE::JS,true -load-config=../config/compile-js-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/config" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${FLEX_ASJS}/frameworks/projects/DragDrop/src/main/flex"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/20.0/playerglobal.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.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/Storage.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <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/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Reflection.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/js.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/js/libs/GCL.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/CoreJS/target/CoreJS.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="DragDrop.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/.flexLibProperties b/frameworks/js/FlexJS/projects/DragDropJS/.flexLibProperties
new file mode 100644
index 0000000..c11e29f
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/.flexLibProperties
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
+ <includeClasses>
+ <classEntry path="DragDropClasses"/>
+ </includeClasses>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/.project b/frameworks/js/FlexJS/projects/DragDropJS/.project
new file mode 100644
index 0000000..87dfc6a
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/.project
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<projectDescription>
+ <name>DragDropJS</name>
+ <comment></comment>
+ <projects>
+ <project>CoreJS</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/.settings/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/.settings/.settings/org.eclipse.core.resources.prefs b/frameworks/js/FlexJS/projects/DragDropJS/.settings/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..42c60d2
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/.settings/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Mon Jun 08 13:48:45 PDT 2015
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/build.xml b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
new file mode 100644
index 0000000..3ee1053
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
@@ -0,0 +1,148 @@
+<?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="DragDropJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
+
+ <property name="target.name" value="DragDropJS.swc" />
+ <property name="target.name.no.version" value="DragDropJS.swc" />
+
+ <target name="main" depends="clean,compile-extern-swc,compile-asjs" description="Full build of DragDrop.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests" />
+ <ant dir="asjs/tests" />
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJSlibs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <!-- 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" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ 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="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59eda117/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..a651af1
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-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>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/DragDrop/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../../../../../../../projects/DragDrop/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>DragDropClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
[15/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - switch
folder name to generated-sources
Posted by ah...@apache.org.
switch folder name to generated-sources
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1bbaa5bf
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1bbaa5bf
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1bbaa5bf
Branch: refs/heads/spark
Commit: 1bbaa5bfc82caaa902a72cd96bd4c600fce0d05b
Parents: 1f98f40
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 13 11:46:28 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:20 2016 -0700
----------------------------------------------------------------------
examples/build_example.xml | 6 +++---
frameworks/js/FlexJS/projects/BindingJS/build.xml | 3 ++-
frameworks/js/FlexJS/projects/ChartsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/CollectionsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/CoreJS/build.xml | 5 ++++-
frameworks/js/FlexJS/projects/CreateJSJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/DragDropJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/EffectsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/FlatJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/FormattersJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/GraphicsJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/HTML5JS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/HTMLJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/JQueryJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/MobileJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/NetworkJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/ReflectionJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/StorageJS/build.xml | 4 ++--
frameworks/js/FlexJS/projects/XMLJS/build.xml | 4 ++--
20 files changed, 43 insertions(+), 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 15f3596..aa0393f 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -247,7 +247,7 @@
<arg value="${opt2_arg}" />
<arg value="-js-output-type=FLEXJS" />
<arg value="-closure-lib=${GOOG_HOME}" />
- <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
+ <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources" />
<arg value="${basedir}/src/${example}.mxml" />
</java>
<fail>
@@ -291,7 +291,7 @@
<arg value="${opt2_arg}" />
<arg value="-js-output-type=FLEXJS" />
<arg value="-closure-lib=${GOOG_HOME}" />
- <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
+ <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources" />
<arg value="${basedir}/src/${example}.mxml" />
</java>
<fail>
@@ -336,7 +336,7 @@
<arg value="${opt2_arg}" />
<arg value="-js-output-type=FLEXJS" />
<arg value="-closure-lib=${GOOG_HOME}" />
- <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
+ <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources" />
<arg value="${basedir}/src/${example}.as" />
</java>
<fail>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/BindingJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/build.xml b/frameworks/js/FlexJS/projects/BindingJS/build.xml
index ff119f6..12a62fa 100644
--- a/frameworks/js/FlexJS/projects/BindingJS/build.xml
+++ b/frameworks/js/FlexJS/projects/BindingJS/build.xml
@@ -135,7 +135,8 @@
</target>
<target name="copy-js" >
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**" />
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/ChartsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/build.xml b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
index a5fac6a..6f32686 100644
--- a/frameworks/js/FlexJS/projects/ChartsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
@@ -95,7 +95,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -130,7 +129,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
index b799458..0b526f7 100644
--- a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
@@ -95,7 +95,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -130,7 +129,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/CoreJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/build.xml b/frameworks/js/FlexJS/projects/CoreJS/build.xml
index d800753..9806f7d 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CoreJS/build.xml
@@ -106,6 +106,8 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -138,7 +140,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
index f8141c0..8b69fd9 100644
--- a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
@@ -108,7 +108,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -144,7 +143,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/DragDropJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/build.xml b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
index 3ee1053..21c7f02 100644
--- a/frameworks/js/FlexJS/projects/DragDropJS/build.xml
+++ b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
@@ -102,7 +102,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -137,7 +136,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/EffectsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/build.xml b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
index 01f29f0..efc449f 100644
--- a/frameworks/js/FlexJS/projects/EffectsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
@@ -103,7 +103,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -138,7 +137,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/FlatJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/build.xml b/frameworks/js/FlexJS/projects/FlatJS/build.xml
index 1329302..3b9497c 100644
--- a/frameworks/js/FlexJS/projects/FlatJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FlatJS/build.xml
@@ -102,7 +102,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -137,7 +136,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/FormattersJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/build.xml b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
index 78cf647..dcd0c72 100644
--- a/frameworks/js/FlexJS/projects/FormattersJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
@@ -94,7 +94,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -129,7 +128,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
index def3cf1..c42f400 100644
--- a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
@@ -99,7 +99,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -135,7 +134,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
index bcf5da3..2108ce6 100644
--- a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
@@ -102,7 +102,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -137,7 +136,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/HTML5JS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/build.xml b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
index c375dbf..702e60e 100644
--- a/frameworks/js/FlexJS/projects/HTML5JS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
@@ -94,7 +94,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -129,7 +128,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/HTMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/build.xml b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
index d88fc4a..a034ce9 100644
--- a/frameworks/js/FlexJS/projects/HTMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
@@ -100,7 +100,6 @@
<echo message="Compiling target/externs/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -135,7 +134,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/JQueryJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/build.xml b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
index 7030adb..f7d4f0d 100644
--- a/frameworks/js/FlexJS/projects/JQueryJS/build.xml
+++ b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
@@ -99,7 +99,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -135,7 +134,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/MobileJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/build.xml b/frameworks/js/FlexJS/projects/MobileJS/build.xml
index 1e3d0b4..94ee6dc 100644
--- a/frameworks/js/FlexJS/projects/MobileJS/build.xml
+++ b/frameworks/js/FlexJS/projects/MobileJS/build.xml
@@ -94,7 +94,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -129,7 +128,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/NetworkJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/build.xml b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
index 06af9bb..5d660e2 100644
--- a/frameworks/js/FlexJS/projects/NetworkJS/build.xml
+++ b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
@@ -100,7 +100,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -135,7 +134,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
index 6dcc084..7652935 100644
--- a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
@@ -100,7 +100,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -135,7 +134,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/StorageJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/build.xml b/frameworks/js/FlexJS/projects/StorageJS/build.xml
index 9de3dac..b732390 100644
--- a/frameworks/js/FlexJS/projects/StorageJS/build.xml
+++ b/frameworks/js/FlexJS/projects/StorageJS/build.xml
@@ -105,7 +105,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -141,7 +140,8 @@
</target>
<target name="copy-js">
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bbaa5bf/frameworks/js/FlexJS/projects/XMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/build.xml b/frameworks/js/FlexJS/projects/XMLJS/build.xml
index d67f8c2..2ec623f 100644
--- a/frameworks/js/FlexJS/projects/XMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/XMLJS/build.xml
@@ -97,7 +97,6 @@
<echo message="Compiling target/${target.name}"/>
<echo message="FLEX_HOME: ${FLEX_HOME}"/>
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
- <!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
<mkdir dir="${basedir}/target"/>
@@ -132,7 +131,8 @@
</target>
<target name="copy-js" >
- <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
<fileset dir="${basedir}/target/generated-sources/flexjs">
<include name="**/**" />
</fileset>
[28/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - better
cleaning
Posted by ah...@apache.org.
better cleaning
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/495fcfa9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/495fcfa9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/495fcfa9
Branch: refs/heads/spark
Commit: 495fcfa9c18af16a9705c33db3bfd603ac48c07b
Parents: 839caaf
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 11:28:08 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:22 2016 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/projects/BindingJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/ChartsJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/CollectionsJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/CoreJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/CreateJSJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/DragDropJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/EffectsJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/FlatJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/FormattersJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/GraphicsJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/HTML5JS/build.xml | 2 +-
frameworks/js/FlexJS/projects/HTMLJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/JQueryJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/MobileJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/NetworkJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/ReflectionJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/StorageJS/build.xml | 2 +-
frameworks/js/FlexJS/projects/XMLJS/build.xml | 2 +-
frameworks/projects/Binding/build.xml | 2 +-
frameworks/projects/Charts/build.xml | 2 +-
frameworks/projects/Collections/build.xml | 2 +-
frameworks/projects/Core/build.xml | 3 ++-
frameworks/projects/Core/src/test/flex/build.xml | 4 ++--
frameworks/projects/Core/test | 10 ----------
frameworks/projects/CreateJS/build.xml | 2 +-
frameworks/projects/DragDrop/build.xml | 2 +-
frameworks/projects/Effects/build.xml | 2 +-
frameworks/projects/Flat/build.xml | 2 +-
frameworks/projects/Formatters/build.xml | 2 +-
frameworks/projects/GoogleMaps/build.xml | 2 +-
frameworks/projects/Graphics/build.xml | 2 +-
frameworks/projects/HTML/build.xml | 3 ++-
frameworks/projects/HTML/src/test/flex/build.xml | 4 ++--
frameworks/projects/HTML5/build.xml | 2 +-
frameworks/projects/JQuery/build.xml | 2 +-
frameworks/projects/Mobile/build.xml | 2 +-
frameworks/projects/Network/build.xml | 2 +-
frameworks/projects/Reflection/build.xml | 2 +-
frameworks/projects/Storage/build.xml | 2 +-
frameworks/projects/XML/build.xml | 2 +-
manualtests/build.xml | 4 ++++
42 files changed, 48 insertions(+), 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/BindingJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/BindingJS/build.xml b/frameworks/js/FlexJS/projects/BindingJS/build.xml
index 6ab9db3..8b94560 100644
--- a/frameworks/js/FlexJS/projects/BindingJS/build.xml
+++ b/frameworks/js/FlexJS/projects/BindingJS/build.xml
@@ -61,7 +61,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/ChartsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ChartsJS/build.xml b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
index a1a5682..f57933e 100644
--- a/frameworks/js/FlexJS/projects/ChartsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ChartsJS/build.xml
@@ -55,7 +55,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
index db3c883..2b9ceb1 100644
--- a/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CollectionsJS/build.xml
@@ -55,7 +55,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/CoreJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CoreJS/build.xml b/frameworks/js/FlexJS/projects/CoreJS/build.xml
index d523755..ce9bc6f 100644
--- a/frameworks/js/FlexJS/projects/CoreJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CoreJS/build.xml
@@ -61,7 +61,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
index 7315203..7cac9e3 100644
--- a/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
+++ b/frameworks/js/FlexJS/projects/CreateJSJS/build.xml
@@ -67,7 +67,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/DragDropJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/DragDropJS/build.xml b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
index 79202e5..7dbb419 100644
--- a/frameworks/js/FlexJS/projects/DragDropJS/build.xml
+++ b/frameworks/js/FlexJS/projects/DragDropJS/build.xml
@@ -62,7 +62,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/EffectsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/EffectsJS/build.xml b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
index 4bbe5b3..0dfd396 100644
--- a/frameworks/js/FlexJS/projects/EffectsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/EffectsJS/build.xml
@@ -63,7 +63,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/FlatJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FlatJS/build.xml b/frameworks/js/FlexJS/projects/FlatJS/build.xml
index 5df167a..0cf230f 100644
--- a/frameworks/js/FlexJS/projects/FlatJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FlatJS/build.xml
@@ -62,7 +62,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/FormattersJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/FormattersJS/build.xml b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
index fd07f83..182526f 100644
--- a/frameworks/js/FlexJS/projects/FormattersJS/build.xml
+++ b/frameworks/js/FlexJS/projects/FormattersJS/build.xml
@@ -54,7 +54,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
index 98936d5..0e786c5 100644
--- a/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GoogleMapsJS/build.xml
@@ -58,7 +58,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
index 2bbd169..e752171 100644
--- a/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
+++ b/frameworks/js/FlexJS/projects/GraphicsJS/build.xml
@@ -62,7 +62,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/HTML5JS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTML5JS/build.xml b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
index ca5ed0a..0ea7b40 100644
--- a/frameworks/js/FlexJS/projects/HTML5JS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTML5JS/build.xml
@@ -54,7 +54,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/HTMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/HTMLJS/build.xml b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
index 52d1726..227fcaf 100644
--- a/frameworks/js/FlexJS/projects/HTMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/HTMLJS/build.xml
@@ -60,7 +60,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/JQueryJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/JQueryJS/build.xml b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
index a314f6b..e060659 100644
--- a/frameworks/js/FlexJS/projects/JQueryJS/build.xml
+++ b/frameworks/js/FlexJS/projects/JQueryJS/build.xml
@@ -58,7 +58,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/MobileJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/MobileJS/build.xml b/frameworks/js/FlexJS/projects/MobileJS/build.xml
index a509575..ef08d3c 100644
--- a/frameworks/js/FlexJS/projects/MobileJS/build.xml
+++ b/frameworks/js/FlexJS/projects/MobileJS/build.xml
@@ -54,7 +54,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/NetworkJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/NetworkJS/build.xml b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
index f068cea..9cb09a3 100644
--- a/frameworks/js/FlexJS/projects/NetworkJS/build.xml
+++ b/frameworks/js/FlexJS/projects/NetworkJS/build.xml
@@ -60,7 +60,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
index be8cfb4..7c24589 100644
--- a/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
+++ b/frameworks/js/FlexJS/projects/ReflectionJS/build.xml
@@ -60,7 +60,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/StorageJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/StorageJS/build.xml b/frameworks/js/FlexJS/projects/StorageJS/build.xml
index 3097e59..c9370b2 100644
--- a/frameworks/js/FlexJS/projects/StorageJS/build.xml
+++ b/frameworks/js/FlexJS/projects/StorageJS/build.xml
@@ -64,7 +64,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/js/FlexJS/projects/XMLJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/XMLJS/build.xml b/frameworks/js/FlexJS/projects/XMLJS/build.xml
index 88c9951..a774ccd 100644
--- a/frameworks/js/FlexJS/projects/XMLJS/build.xml
+++ b/frameworks/js/FlexJS/projects/XMLJS/build.xml
@@ -60,7 +60,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index d612bbb..dce2b49 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -52,7 +52,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index 844052c..60e8fd4 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -46,7 +46,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index c9a9356..ffc4731 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -46,7 +46,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index fae7fc8..36058ef 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -50,11 +50,12 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
</delete>
+ <ant dir="src/test/flex" target="clean"/>
</target>
<path id="lib.path">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Core/src/test/flex/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/test/flex/build.xml b/frameworks/projects/Core/src/test/flex/build.xml
index 3fdc3d6..4835fee 100644
--- a/frameworks/projects/Core/src/test/flex/build.xml
+++ b/frameworks/projects/Core/src/test/flex/build.xml
@@ -80,8 +80,8 @@
<include name="FlexUnitFlexJSApplication.swf"/>
</fileset>
</delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/bin">
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${report.dir}">
<include name="**/**"/>
</fileset>
</delete>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Core/test
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/test b/frameworks/projects/Core/test
deleted file mode 100644
index 1d4d0c2..0000000
--- a/frameworks/projects/Core/test
+++ /dev/null
@@ -1,10 +0,0 @@
-[INFO]
-Executing COMPC
-in tool group Falcon
-with args:
-
-[
--load-config=/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/target/compile-extern-config.xml,
--define=COMPILE::AS3,false,
--define=COMPILE::JS,true
-]
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index b5fb559..5d05c69 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -51,7 +51,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index a18158e..c3cfffd 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -53,7 +53,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index c2fbeff..ad5cde8 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -54,7 +54,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index 752eab4..bb00438 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -53,7 +53,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index fd83374..6abc429 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -45,7 +45,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index 28d8486..25ff0ef 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -45,7 +45,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index 89214e6..7c1dd85 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -53,7 +53,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index c3ad02b..7f6abcc 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -49,11 +49,12 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
</delete>
+ <ant dir="src/test/flex" target="clean"/>
</target>
<path id="lib.path">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/HTML/src/test/flex/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/test/flex/build.xml b/frameworks/projects/HTML/src/test/flex/build.xml
index 599d96d..3d00901 100644
--- a/frameworks/projects/HTML/src/test/flex/build.xml
+++ b/frameworks/projects/HTML/src/test/flex/build.xml
@@ -80,8 +80,8 @@
<include name="FlexUnitFlexJSApplication.swf"/>
</fileset>
</delete>
- <delete failonerror="false">
- <fileset dir="${basedir}/bin">
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${report.dir}">
<include name="**/**"/>
</fileset>
</delete>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index 8ab9958..023179d 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -45,7 +45,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index 3275373..e9dd7ac 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -45,7 +45,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index 50e713c..92229da 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -45,7 +45,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index 13c4b7c..99b1e7c 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -51,7 +51,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index 60618e1..2132bb4 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -51,7 +51,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 7470c82..4e10df5 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -51,7 +51,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/frameworks/projects/XML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/build.xml b/frameworks/projects/XML/build.xml
index 1482547..749b48a 100644
--- a/frameworks/projects/XML/build.xml
+++ b/frameworks/projects/XML/build.xml
@@ -58,7 +58,7 @@
<include name="${target.name.no.version}"/>
</fileset>
</delete>
- <delete failonerror="false">
+ <delete failonerror="false" includeemptydirs="true">
<fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/495fcfa9/manualtests/build.xml
----------------------------------------------------------------------
diff --git a/manualtests/build.xml b/manualtests/build.xml
index f956149..ad8350c 100644
--- a/manualtests/build.xml
+++ b/manualtests/build.xml
@@ -88,6 +88,8 @@
<ant dir="${basedir}/LanguageTests"/>
<ant dir="${basedir}/ListsTest"/>
<ant dir="${basedir}/RollEventsTest"/>
+ <ant dir="${basedir}/ReflectionTest"/>
+ <ant dir="${basedir}/XMLTest"/>
</target>
<!--
@@ -116,6 +118,8 @@
<ant dir="${basedir}/LanguageTests" target="clean"/>
<ant dir="${basedir}/ListsTest" target="clean"/>
<ant dir="${basedir}/RollEventsTest" target="clean"/>
+ <ant dir="${basedir}/ReflectionTest" target="clean"/>
+ <ant dir="${basedir}/XMLTest" target="clean"/>
</target>
</project>
[20/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Added
pluginRepository entries ...
Posted by ah...@apache.org.
- Added pluginRepository entries ...
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/44b66196
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/44b66196
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/44b66196
Branch: refs/heads/spark
Commit: 44b66196649a0984fa77e8e1af450d7ab87a9ebb
Parents: b826f89
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 14:09:05 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700
----------------------------------------------------------------------
pom.xml | 27 +++++++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/44b66196/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 046b8a2..7dd2ada 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
<repositories>
<repository>
- <id>flex-release</id>
+ <id>apache-release</id>
<url>https://repository.apache.org/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
@@ -54,7 +54,7 @@
</snapshots>
</repository>
<repository>
- <id>flex-snapshots</id>
+ <id>apache-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
@@ -65,6 +65,29 @@
</repository>
</repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache-plugins-release</id>
+ <url>https://repository.apache.org/content/repositories/releases</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>apache-plugins-snapshots</id>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<mailingLists>
<mailingList>
<name>Apache Flex User List</name>
[51/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Updated
cordova-build.xml and added Flash Builder launch configurations to use
cordova-build.xml from within Flash Builder.
Posted by ah...@apache.org.
Updated cordova-build.xml and added Flash Builder launch configurations to use cordova-build.xml from within Flash Builder.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f88b37a4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f88b37a4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f88b37a4
Branch: refs/heads/spark
Commit: f88b37a4b3dbdc23aa49a4bb9ba75fa0e6e23b4e
Parents: e656a9b
Author: Peter Ent <pe...@apache.org>
Authored: Wed May 25 11:07:54 2016 -0400
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:24 2016 -0700
----------------------------------------------------------------------
cordova-build.xml | 61 ++++++++++++++-------
ide/flashbuilder/FlexJS (Cordova Build).launch | 18 ++++++
ide/flashbuilder/FlexJS (Cordova Run).launch | 20 +++++++
installer.xml | 15 ++++-
4 files changed, 93 insertions(+), 21 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f88b37a4/cordova-build.xml
----------------------------------------------------------------------
diff --git a/cordova-build.xml b/cordova-build.xml
index d7fb343..e224d2e 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -18,7 +18,7 @@
-->
-<project name="createproject" default="main">
+<project name="cordova-app" default="main">
<!-- this ANT script assumes you are in the following directory structure:
@@ -35,44 +35,64 @@
3. This ANT script will remove ./app/<APP>/www contents are replace it with
the contents of bin/js-debug.
- Optionally, you can run the Cordova application using ant run <platform>
+ Optionally, you can run the Cordova application using ant run
-->
<target name="main" depends="create, compilejs, copyfiles" description="Creates the Cordova app if needed, compiles the FlexJS app, copies the results to Cordova app">
- <echo message="Building app ${appname} for platform ${platform}" />
</target>
<!-- Set up properties and conditions -->
- <condition property="platform" value="android">
+ <property environment="env"/>
+
+ <condition property="isWindows" value="windows">
+ <os family="windows" />
+ </condition>
+
+ <condition property="projectdir" value="${user.dir}">
+ <not>
+ <isset property="projectdir" />
+ </not>
+ </condition>
+
<!-- override with -Dplatform=other-platform-name -->
+ <condition property="platform" value="android">
<not>
<isset property="platform" />
</not>
</condition>
-
- <basename property="directory.name" file="${user.dir}" />
<!-- override with -Dappname=other-app-name -->
+ <basename property="directory.name" file="${projectdir}" />
<condition property="appname" value="${directory.name}">
<not>
<isset property="appname" />
</not>
</condition>
+
+ <condition property="cordova.executable" value="cordova">
+ <not>
+ <isset property="isWindows" />
+ </not>
+ </condition>
+ <condition property="cordova.executable" value="cordova.cmd">
+ <isset property="isWindows" />
+ </condition>
- <property name="cordova.target.dir" value="${user.dir}/app/${appname}" />
+ <property name="cordova.target.dir" value="${projectdir}/app/${appname}" />
<available file="${cordova.target.dir}" type="dir" property="app.dir.exists"/>
+
- <!-- Step 1: create the Cordova template project unless it already exists -->
+ <!-- Create the Cordova template project unless it already exists -->
<target name="makedir" unless="app.dir.exists">
- <mkdir dir="${user.dir}/app" />
+ <mkdir dir="${projectdir}/app" />
</target>
<target name="create" unless="app.dir.exists" depends="makedir" description="Creates the Cordova application template">
<!-- create the project -->
- <exec executable="cordova" dir="${user.dir}/app">
+ <exec executable="${cordova.executable}" dir="${projectdir}/app">
<arg value="create" />
<arg value="${appname}" />
</exec>
@@ -80,23 +100,23 @@
<echo>Adding in platform(s). This may take awhile.</echo>
<!-- add in the platforms -->
- <exec executable="cordova" dir="${cordova.target.dir}">
+ <exec executable="${cordova.executable}" dir="${cordova.target.dir}">
<arg value="platform" />
<arg value="add" />
<arg value="${platform}" />
</exec>
</target>
- <!-- Step 2: Compile the FlexJS application -->
+ <!-- Compile the FlexJS application -->
<target name="compilejs" description="Compiles the FlexJS app into JavaScript">
<echo message="Compiling FlexJS app" />
- <exec executable="mxmlc" dir="${user.dir}/src">
+ <exec executable="mxmlc" dir="${projectdir}/src">
<arg value="${appname}.mxml" />
</exec>
</target>
- <!-- Step 3: Clean www directory -->
+ <!-- Clean www directory -->
<target name="purge">
<delete includeEmptyDirs="true">
@@ -104,12 +124,12 @@
</delete>
</target>
- <!-- Step 4: Copy files from step 2 -->
+ <!-- Copy files from step above -->
<target name="copyfiles" depends="purge">
<echo message="Copying files from project" />
<copy todir="${cordova.target.dir}/www">
- <fileset dir="${user.dir}/bin/js-debug" />
+ <fileset dir="${projectdir}/bin/js-debug" />
</copy>
</target>
@@ -130,13 +150,14 @@
-->
<target name="clean" depends="purge" description="Removes files created during the build and copy">
- <delete dir="${user.dir}/bin-debug" failonerror="false" />
- <delete dir="${user.dir}/bin-release" failonerror="false" />
+ <delete dir="${projectdir}/bin-debug" failonerror="false" />
+ <delete dir="${projectdir}/bin-release" failonerror="false" />
</target>
<target name="super-clean" depends="clean" description="Removes all files and directories except src and its contents">
- <delete dir="${user.dir}/bin" />
- <delete dir="${user.dir}/app" />
+ <delete dir="${projectdir}/bin" />
+ <delete dir="${projectdir}/app" />
</target>
+
</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f88b37a4/ide/flashbuilder/FlexJS (Cordova Build).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/FlexJS (Cordova Build).launch b/ide/flashbuilder/FlexJS (Cordova Build).launch
new file mode 100644
index 0000000..4d9dc2d
--- /dev/null
+++ b/ide/flashbuilder/FlexJS (Cordova Build).launch
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"/>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="PATH" value="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 8 (MacOS X Default)"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_HIDE_INTERNAL_TARGETS" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/Users/pent/dev/flex-asjs/cordova-build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dprojectdir=${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f88b37a4/ide/flashbuilder/FlexJS (Cordova Run).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/FlexJS (Cordova Run).launch b/ide/flashbuilder/FlexJS (Cordova Run).launch
new file mode 100644
index 0000000..354e9cf
--- /dev/null
+++ b/ide/flashbuilder/FlexJS (Cordova Run).launch
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"/>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="ANT_HOME" value="/Applications/Adobe Flash Builder 4.7/eclipse/plugins/org.apache.ant_1.8.2.v20110505-1300"/>
+<mapEntry key="PATH" value="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 8 (MacOS X Default)"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="run,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_HIDE_INTERNAL_TARGETS" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/Users/pent/dev/flex-asjs/cordova-build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dprojectdir=${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f88b37a4/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 9070491..0938c4f 100644
--- a/installer.xml
+++ b/installer.xml
@@ -216,7 +216,7 @@
<property name="falcon.file" value="apache-flex-falconjx-${falcon.version}-bin.zip" />
</target>
- <target name="install" depends="get-data,find-java,get-md5-data,check-binary,ask-licenses,get-falcon,get-third-party-files,fixup-config-files,hack-fb-files,setup-launch-configs,delete-download-dir" description="Converts binary package to IDE compatible folder">
+ <target name="install" depends="get-data,find-java,get-md5-data,check-binary,ask-licenses,get-falcon,get-third-party-files,fixup-config-files,hack-fb-files,setup-launch-configs,setup-launch-configs-windows,delete-download-dir" description="Converts binary package to IDE compatible folder">
<echo>${install.complete.echo}</echo>
</target>
@@ -955,6 +955,19 @@ tofile="${FLEXJS_HOME}/frameworks/themes/Halo/Halo.swc" />
value=""${java.executable}""/>
</replace>
</target>
+
+ <target name="setup-launch-configs-windows" description="Custom Flash Builder launch configurations for Windows" if="isWindows">
+ <replace file="${FLEXJS_HOME}/ide/flashbuilder/FlexJS (Cordova Build).launch">
+ <replacefilter
+ token="PATH"
+ value="UNIX_PATH" />
+ </replace>
+ <replace file="${FLEXJS_HOME}/ide/flashbuilder/FlexJS (Cordova Run).launch">
+ <replacefilter
+ token="PATH"
+ value="UNIX_PATH" />
+ </replace>
+ </target>
<target name="download_using_mirror" depends="check-cache,get-preferred">
<antcall target="get-if-not-cached">