You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/06/04 00:43:06 UTC

[2/8] git commit: [flex-sdk] [refs/heads/develop] - Added version of files for Linux /AIR 2

Added version of files for Linux /AIR 2


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/975a0f51
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/975a0f51
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/975a0f51

Branch: refs/heads/develop
Commit: 975a0f51a105181f1f98527cd531f817a964ab69
Parents: c8175a2
Author: Justin Mclean <jm...@apache.org>
Authored: Tue Jun 4 07:00:34 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Tue Jun 4 07:00:34 2013 +1000

----------------------------------------------------------------------
 .../mobilecomponents/compile-configAIR2.xml        |   66 +++++++++++++++
 .../src/MobileComponentsClassesAIR2.as             |   39 +++++++++
 2 files changed, 105 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/975a0f51/frameworks/projects/mobilecomponents/compile-configAIR2.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobilecomponents/compile-configAIR2.xml b/frameworks/projects/mobilecomponents/compile-configAIR2.xml
new file mode 100644
index 0000000..f74e1f7
--- /dev/null
+++ b/frameworks/projects/mobilecomponents/compile-configAIR2.xml
@@ -0,0 +1,66 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <keep-as3-metadata>
+            <name>SkinPart</name>
+        </keep-as3-metadata>
+        
+        <locale/>
+        
+        <library-path/>
+        
+        <namespaces>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/spark</uri>
+                <manifest>manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-classes>
+        <class>MobileComponentsClassesAIR2</class>
+        <class>spark.transitions.FlipViewTransitionMode</class>
+        <class>spark.transitions.ZoomViewTransitionMode</class>
+    </include-classes>
+    
+    <include-namespaces>
+        <uri>library://ns.adobe.com/flex/spark</uri>
+    </include-namespaces>  
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/975a0f51/frameworks/projects/mobilecomponents/src/MobileComponentsClassesAIR2.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobilecomponents/src/MobileComponentsClassesAIR2.as b/frameworks/projects/mobilecomponents/src/MobileComponentsClassesAIR2.as
new file mode 100644
index 0000000..17f8e56
--- /dev/null
+++ b/frameworks/projects/mobilecomponents/src/MobileComponentsClassesAIR2.as
@@ -0,0 +1,39 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package
+{
+
+internal class MobileComponentsClassesAIR2
+{
+
+/**
+ *  @private
+ *  This class is used to link additional classes into mobilecomponents.swc
+ *  beyond those that are found by dependecy analysis starting
+ *  from the classes specified in manifest.xml.
+ *  For example, Button does not have a reference to ButtonSkin,
+ *  but ButtonSkin needs to be in framework.swc along with Button.
+ */
+    import spark.preloaders.SplashScreen; SplashScreen;
+    import spark.components.supportClasses.StyleableTextField; StyleableTextField;
+    import spark.components.ActionBarDefaultButtonAppearance; ActionBarDefaultButtonAppearance;
+    import spark.components.ContentBackgroundAppearance; ContentBackgroundAppearance;
+}
+}