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

svn commit: r1352653 - /incubator/flex/trunk/build.xml

Author: cframpton
Date: Thu Jun 21 19:04:12 2012
New Revision: 1352653

URL: http://svn.apache.org/viewvc?rev=1352653&view=rev
Log:
Make sure none of the 3rd party downloads get in either the source or release kits.

Modified:
    incubator/flex/trunk/build.xml

Modified: incubator/flex/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/build.xml?rev=1352653&r1=1352652&r2=1352653&view=diff
==============================================================================
--- incubator/flex/trunk/build.xml (original)
+++ incubator/flex/trunk/build.xml Thu Jun 21 19:04:12 2012
@@ -71,7 +71,7 @@
         description="Creates source and binary kits for Apache Flex."/>
         
     <target name="source-release" 
-        depends="clean,create-description,source-package" 
+        depends="super-clean,create-description,source-package" 
         description="Packages the source release kit which is the official Apache release."/>
         
     <target name="binary-release" 
@@ -207,11 +207,12 @@
         </echo>
     </target>
 
-    <target name="setup-binary-release"
+    <target name="setup-binary-release" depends="thirdparty-clean"
         description="Set properties needed to turn on features for release sdk">       
 	    <!-- 
 	        For a release build, download everything fresh.  
-	        Build changes to these downloads, might not be caught by the refresh logic.  
+	        Build changes to the downloads, might not be caught by the refresh logic.
+	        thirdparty-clean should leave this directory empty but just in case...  
 	    -->
 	    <delete dir="${basedir}/in" failonerror="false" includeEmptyDirs="true" />
         
@@ -577,7 +578,7 @@
         <!-- frameworks/javascript -->
         <copy todir="${basedir}/temp/frameworks/javascript" includeEmptyDirs="false">
             <fileset dir="${basedir}/frameworks/javascript">
-                <include name="**"/>
+                <exclude name="**/swfobject.js"/>
                 <exclude name="FABridge/readme.txt"/>
             </fileset>
             <mapper type="glob" from="FABridge/*" to="fabridge/*" />