You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2014/07/30 09:32:21 UTC

svn commit: r1614573 - /poi/trunk/build.xml

Author: nick
Date: Wed Jul 30 07:32:21 2014
New Revision: 1614573

URL: http://svn.apache.org/r1614573
Log:
Add a target to help with generating the release notes

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1614573&r1=1614572&r2=1614573&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Wed Jul 30 07:32:21 2014
@@ -53,6 +53,7 @@ under the License.
     <description>The Apache POI project Ant build.</description>
 
     <property name="version.id" value="3.11-beta1"/>
+    <property name="version.rel" value="REL_3_11_BETA1"/>
 
     <property environment="env"/>
     <!-- the repository to download jars from -->
@@ -1214,6 +1215,16 @@ under the License.
         </jar>
     </target>
 
+    <target name="release-notes" depends="init">
+        <copy file="src/documentation/RELEASE-NOTES.txt" todir="build/dist/">
+            <filterset>
+                <filter token="VERSION" value="${version.id}"/>
+                <filter token="DSTAMP"  value="${DSTAMP}"/>
+                <filter token="RELEASE_TAG" value="${version.rel}"/>
+            </filterset>
+        </copy>
+    </target>
+
     <target name="assemble" depends="jar,jar-src">
          <!-- jars to include in binary assemblies -->         
          <patternset id="bin.dist.jars">
@@ -1312,7 +1323,7 @@ under the License.
         <echo>Use ${dist.dir}/multisign.sh to create md5 checksums and GPG signatures</echo>
     </target>
 
-    <target name="dist" depends="clean, compile-all, test-all, site, jar, assemble"
+    <target name="dist" depends="clean, compile-all, test-all, site, jar, release-notes, assemble"
             description="Creates the entire distribution into build/dist, from scratch">
     </target>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org