You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/03/31 20:35:58 UTC

svn commit: r760564 - in /incubator/pivot/trunk: build-dist.xml build.xml

Author: tvolkert
Date: Tue Mar 31 18:35:56 2009
New Revision: 760564

URL: http://svn.apache.org/viewvc?rev=760564&view=rev
Log:
Updated build file to produce a better "dist" hierarchy

Removed:
    incubator/pivot/trunk/build-dist.xml
Modified:
    incubator/pivot/trunk/build.xml

Modified: incubator/pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/build.xml?rev=760564&r1=760563&r2=760564&view=diff
==============================================================================
--- incubator/pivot/trunk/build.xml (original)
+++ incubator/pivot/trunk/build.xml Tue Mar 31 18:35:56 2009
@@ -594,8 +594,6 @@
             </fileset>
         </copy>
 
-        <copy file="build-dist.xml" tofile="${dist}/${release}/build.xml" />
-
         <!-- Copy lib -->
         <copy file="${charts}/${ant.project.name}-charts.jar"
             tofile="${dist}/${release}/${lib}/${ant.project.name}-charts-incubating.jar"/>
@@ -619,11 +617,19 @@
 
         <!-- Copr src -->
         <copy todir="${dist}/${release}/${src}">
-            <fileset dir="${charts}/${src}"/>
-            <fileset dir="${core}/${src}"/>
-            <fileset dir="${web}/${src}"/>
-            <fileset dir="${wtk}/${src}"/>
-            <fileset dir="${tools}/${src}"/>
+            <fileset dir=".">
+                <include name="build.*"/>
+                <include name="*.jar"/>
+                <include name="*/src/**"/>
+                <include name="*/lib/**"/>
+                <exclude name=".*"/>
+
+                <!-- Exclude specific demos -->
+                <exclude name="demos/src/pivot/demos/amf/**"/>
+                <exclude name="demos/lib/flex*"/>
+                <exclude name="demos/src/pivot/demos/google/**"/>
+                <exclude name="demos/lib/gdata*"/>
+            </fileset>
         </copy>
 
         <!-- Create the .zip archive -->