Modified: 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/build.xml?rev=1411461&r1=1411460&r2=1411461&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/build.xml 
(original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/build.xml 
Mon Nov 19 22:28:54 2012
@@ -80,25 +80,12 @@
         <!-- because targets that run before flexTasks.jar gets built would 
fail. -->
         <taskdef resource="flexTasks.tasks" 
classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
                <compc fork="true"
-                       
output="${FLEX_HOME}/frameworks/locale/${locale}/tool_air_rb.swc"
-                       locale="${locale}">
-          
-            <target-player>11</target-player>
+                       
output="${FLEX_HOME}/frameworks/locale/${locale}/tool_air_rb.swc">          
                        <jvmarg line="${compc.jvm.args}"/>
-                       
-                       <include-resource-bundles bundle="tool_air"/>
-                       
-                       <include-namespaces/>
-                       <include-classes/>
-                       
-                       <source-path 
path-element="${basedir}/bundles/${locale}"/>
-                       <source-path 
path-element="${FLEX_HOME}/frameworks/projects/framework/src"/>
-                       
-                       <include-libraries/>
-                       <library-path/>
-            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
-                <include 
name="player/${local.playerglobal.version}/playerglobal.swc"/>
-                       </external-library-path>
+            <load-config filename="bundle-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg value="+locale=${locale}" />
                </compc>
        </target>
        

Added: 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml?rev=1411461&view=auto
==============================================================================
--- 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml
 (added)
+++ 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml
 Mon Nov 19 22:28:54 2012
@@ -0,0 +1,49 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>        
+        <external-library-path>
+            
<path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+        </external-library-path>
+        
+        <include-libraries/>
+        
+        <library-path/>
+        
+        <locale>
+            <locale-element>${locale}</locale-element>
+        </locale>
+        
+        <source-path>
+            <path-element>bundles/${locale}</path-element>
+            <path-element>../framework/src</path-element>
+        </source-path>
+    </compiler>
+    
+    <include-classes/>
+    
+    <include-namespaces/>
+    
+    <include-resource-bundles>
+        <bundle>tool_air</bundle>
+    </include-resource-bundles>
+        
+    <target-player>11</target-player>
+</flex-config>

Propchange: 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/flex/sdk/branches/develop/frameworks/projects/tool_air/bundle-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain


Reply via email to