Author: aharui
Date: Sat Dec  1 06:43:27 2012
New Revision: 1415926

URL: http://svn.apache.org/viewvc?rev=1415926&view=rev
Log:
Remove support.swc from the main target so we don't spend time copying the SDK. 
 We shouldn't need support.swc, we should be modifying the SDK as needed.  The 
support.swc target is still available in case you find a need for it.  Point 
FLEX_HOME at the develop branch or whatever branch you want to use.

Also add a dist-dev target that sets up the minimum stuff in generated/dist to 
compile apps.

Modified:
    incubator/flex/falcon/trunk/compiler/build.xml

Modified: incubator/flex/falcon/trunk/compiler/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/build.xml?rev=1415926&r1=1415925&r2=1415926&view=diff
==============================================================================
--- incubator/flex/falcon/trunk/compiler/build.xml (original)
+++ incubator/flex/falcon/trunk/compiler/build.xml Sat Dec  1 06:43:27 2012
@@ -820,9 +820,9 @@
         </compc>
     </target>
        
-       <target name="sdk" depends="jar, support.swc" description="Builds a 
Falcon SDK"/>
+       <target name="sdk" depends="jar" description="Builds a Falcon SDK"/>
     
-    <target name="main" depends="sdk, javadoc" description="Default target - 
Builds a Falcon SDK and builds Falcon Javadoc">
+    <target name="main" depends="sdk, javadoc, dist-dev" description="Default 
target - Builds a Falcon SDK and builds Falcon Javadoc">
         <tstamp>
             <format property="build.datetime" pattern="MM/dd/yyyy hh:mm:ss 
aa"/>
         </tstamp>
@@ -835,6 +835,31 @@
 
     -->
 
+    <target name="dist-dev" depends="jar">
+        <copy todir="${sdk}/lib/external" includeEmptyDirs="false">
+            <fileset dir="${compiler}/lib">
+                <include name="**/*"/>
+                <exclude name="ant-1.7.0*"/>
+            </fileset>
+        </copy>
+        <copy todir="${sdk}/ant/lib" file="${sdk}/lib/falcon-flexTasks.jar"/>
+        <copy todir="${sdk}/bin" includeEmptyDirs="false">
+            <fileset dir="${compiler}/commandline">
+                <include name="**/*"/>
+            </fileset>
+        </copy>
+        <chmod perm="ugo+rx">
+            <fileset dir="${sdk}">
+                <include name="bin/**/*"/>
+                <include name="bin-legacy/**/*"/>
+                <exclude name="bin/**/*.bat"/>
+                <exclude name="bin/**/*.exe"/>
+                <exclude name="bin-legacy/**/*.bat"/>
+                <exclude name="bin-legacy/**/*.exe"/>
+            </fileset>
+        </chmod>
+    </target>
+
     <target name="dist" depends="copy.sdk, jar, support.swc">
         <copy todir="${sdk}/lib" includeEmptyDirs="false">
             <fileset dir="${compiler}/lib">


Reply via email to