You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by go...@apache.org on 2013/05/08 00:19:21 UTC

[6/7] git commit: [flex-sdk] [refs/heads/develop] - Revised 'compile' target for frameworks/projects/mobiletheme.

Revised 'compile' target for frameworks/projects/mobiletheme.

It is now similar to the majority of other projects
in that it doesn't load flex-config.xml but only compile-config.xml

This gets Falcon's mobilethemeSWC() functional test closer to passing
by eliminating many errors about <s:SolidColor> etc. not resolving.


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

Branch: refs/heads/develop
Commit: 73bcbc56ae06130aaa669721b7924025d58b86cf
Parents: 1cfee79
Author: Gordon Smith <go...@apache.org>
Authored: Tue May 7 15:06:16 2013 -0700
Committer: Gordon Smith <go...@apache.org>
Committed: Tue May 7 15:06:16 2013 -0700

----------------------------------------------------------------------
 frameworks/projects/mobiletheme/build.xml          |    1 -
 frameworks/projects/mobiletheme/compile-config.xml |   12 ++++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/73bcbc56/frameworks/projects/mobiletheme/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/build.xml b/frameworks/projects/mobiletheme/build.xml
index bdec240..7139da9 100644
--- a/frameworks/projects/mobiletheme/build.xml
+++ b/frameworks/projects/mobiletheme/build.xml
@@ -61,7 +61,6 @@
         <compc fork="true"
                output="${FLEX_HOME}/frameworks/themes/Mobile/mobile.swc">
             <jvmarg line="${compc.jvm.args}"/>
-            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
             <load-config filename="compile-config.xml" />
             <arg value="+playerglobal.version=${playerglobal.version}" />
             <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/73bcbc56/frameworks/projects/mobiletheme/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/compile-config.xml b/frameworks/projects/mobiletheme/compile-config.xml
index 44a3367..ec37add 100644
--- a/frameworks/projects/mobiletheme/compile-config.xml
+++ b/frameworks/projects/mobiletheme/compile-config.xml
@@ -19,6 +19,7 @@
 <flex-config>
 
     <compiler>
+
         <accessible>true</accessible>
         
         <external-library-path>
@@ -28,12 +29,22 @@
             <path-element>../../libs/textLayout.swc</path-element>
             <path-element>../../libs/mobile/mobilecomponents.swc</path-element>
         </external-library-path>
+
+        <library-path/>
+
+        <namespaces>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/spark</uri>
+                <manifest>../../spark-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
         
         <source-path>
             <path-element>src</path-element>
         </source-path>
         
         <warn-no-constructor>false</warn-no-constructor>
+
     </compiler>
     
     <include-classes>
@@ -48,4 +59,5 @@
     <resource-bundle-list>bundles.properties</resource-bundle-list>
     
     <target-player>${playerglobal.version}</target-player>
+
 </flex-config>