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/27 18:31:30 UTC

svn commit: r759275 - /incubator/pivot/trunk/build.xml

Author: tvolkert
Date: Fri Mar 27 17:31:29 2009
New Revision: 759275

URL: http://svn.apache.org/viewvc?rev=759275&view=rev
Log:
Added NOTICE, LICENSE, and DISCLAIMER files to META-INF folder of all generated JAR files.

Modified:
    incubator/pivot/trunk/build.xml

Modified: incubator/pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/build.xml?rev=759275&r1=759274&r2=759275&view=diff
==============================================================================
--- incubator/pivot/trunk/build.xml (original)
+++ incubator/pivot/trunk/build.xml Fri Mar 27 17:31:29 2009
@@ -33,6 +33,12 @@
     <property name="compiler.deprecation" value="true"/>
     <property name="compiler.debug" value="false"/>
 
+    <fileset dir="." id="legal">
+        <include name="DISCLAIMER"/>
+        <include name="LICENSE"/>
+        <include name="NOTICE"/>
+    </fileset>
+
     <target name="build" description="Compiles all packages"
         depends="charts, charts-test, core, core-test, web, web-test, wtk, wtk-test, demos, tutorials, tools"/>
     <target name="clean" description="Removes all build artifacts"
@@ -94,6 +100,7 @@
         <!-- Rebuild the JAR file -->
         <delete file="${charts}/${ant.project.name}-charts.jar"/>
         <jar jarfile="${charts}/${ant.project.name}-charts.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -166,6 +173,7 @@
         <!-- Rebuild the JAR file -->
         <delete file="${core}/${ant.project.name}-core.jar"/>
         <jar jarfile="${core}/${ant.project.name}-core.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -238,6 +246,7 @@
         <!-- Rebuild the JAR files -->
         <delete file="${web}/${ant.project.name}-web.jar"/>
         <jar jarfile="${web}/${ant.project.name}-web.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -255,6 +264,7 @@
 
         <delete file="${web}/${ant.project.name}-web.server.jar"/>
         <jar jarfile="${web}/${ant.project.name}-web.server.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -371,6 +381,7 @@
         <!-- Rebuild the JAR file -->
         <delete file="${wtk}/${ant.project.name}-wtk.jar"/>
         <jar jarfile="${wtk}/${ant.project.name}-wtk.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -390,6 +401,7 @@
 
         <delete file="${wtk}/${ant.project.name}-wtk.terra.jar"/>
         <jar jarfile="${wtk}/${ant.project.name}-wtk.terra.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -407,6 +419,7 @@
 
         <delete file="${wtk}/${ant.project.name}-wtk.obsidian.jar"/>
         <jar jarfile="${wtk}/${ant.project.name}-wtk.obsidian.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Sealed" value="true"/>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
@@ -498,6 +511,7 @@
         <!-- Rebuild the JAR file -->
         <delete file="${demos}/${ant.project.name}-demos.jar"/>
         <jar jarfile="${demos}/${ant.project.name}-demos.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
                 <attribute name="Implementation-Version" value="${version}"/>
@@ -538,6 +552,7 @@
         <!-- Rebuild the JAR files -->
         <delete file="${tutorials}/${ant.project.name}-tutorials.jar"/>
         <jar jarfile="${tutorials}/${ant.project.name}-tutorials.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
                 <attribute name="Implementation-Version" value="${version}"/>
@@ -553,6 +568,7 @@
 
         <delete file="${tutorials}/${ant.project.name}-stocktracker.jar"/>
         <jar jarfile="${tutorials}/${ant.project.name}-stocktracker.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
                 <attribute name="Implementation-Version" value="${version}"/>
@@ -596,6 +612,7 @@
         <!-- Rebuild the JAR file -->
         <delete file="${tools}/${ant.project.name}-tools.jar"/>
         <jar jarfile="${tools}/${ant.project.name}-tools.jar">
+            <metainf refid="legal"/>
             <manifest>
                 <attribute name="Built-On" value="${DSTAMP}-${TSTAMP}"/>
                 <attribute name="Implementation-Version" value="${version}"/>
@@ -627,11 +644,6 @@
         <fileset dir="." id="source">
             <include name="BUILD"/>
         </fileset>
-        <fileset dir="." id="legal">
-            <include name="DISCLAIMER"/>
-            <include name="LICENSE"/>
-            <include name="NOTICE"/>
-        </fileset>
         <fileset dir="${charts}" id="charts">
             <include name="${ant.project.name}-charts.jar"/>
         </fileset>