http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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/8b34eb8d/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>