incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1307662 - in /incubator/flex/trunk/frameworks: build.xml build_framework.xml
Date Sat, 31 Mar 2012 00:27:07 GMT
Author: cframpton
Date: Sat Mar 31 00:27:07 2012
New Revision: 1307662

URL: http://svn.apache.org/viewvc?rev=1307662&view=rev
Log:
Fix swfobject clean so it doesn't delete the entire directory.

Modified:
    incubator/flex/trunk/frameworks/build.xml
    incubator/flex/trunk/frameworks/build_framework.xml

Modified: incubator/flex/trunk/frameworks/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/build.xml?rev=1307662&r1=1307661&r2=1307662&view=diff
==============================================================================
--- incubator/flex/trunk/frameworks/build.xml (original)
+++ incubator/flex/trunk/frameworks/build.xml Sat Mar 31 00:27:07 2012
@@ -333,10 +333,10 @@ tar -xjf "AIR Integration Kit.tbz2" 
     </target>
 
     <target name="swfobject-clean" description="Deletes the swfobject directory">
-        <delete dir="${FLEX_HOME}/templates/swfobject" failonerror="false">
+        <delete failonerror="false">
             <fileset dir="${FLEX_HOME}/templates/swfobject">
                 <include name="**/**"/>
-                <exclude name="history"/>
+                <exclude name="history/*"/>
                 <exclude name="index.template.html"/>
             </fileset>
         </delete>

Modified: incubator/flex/trunk/frameworks/build_framework.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/build_framework.xml?rev=1307662&r1=1307661&r2=1307662&view=diff
==============================================================================
--- incubator/flex/trunk/frameworks/build_framework.xml (original)
+++ incubator/flex/trunk/frameworks/build_framework.xml Sat Mar 31 00:27:07 2012
@@ -788,7 +788,14 @@
         </delete>
         <delete dir="${FLEX_HOME}/in/air" excludes="*.xml"/>
         <delete dir="${FLEX_HOME}/in/downloads"/>
-        
+        <delete file="${FLEX_HOME}/templates/swfobject" failonerror="false">
+            <fileset dir="${FLEX_HOME}/templates/swfobject">
+                <include name="**/**"/>
+                <exclude name="history/*"/>
+                <exclude name="index.template.html"/>
+            </fileset>
+        </delete>
+
         <!-- textLayout source -->
         <delete failonerror="false" verbose="false">
              <fileset dir="${basedir}/projects/textLayout">



Mime
View raw message