geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tki...@apache.org
Subject svn commit: r691633 - in /geronimo/server/branches/2.1: README.txt RELEASE_NOTES-2.1.4-SNAPSHOT.txt RELEASE_NOTES-2.1.4.txt assemblies/geronimo-boilerplate-minimal/pom.xml
Date Wed, 03 Sep 2008 15:21:50 GMT
Author: tkirby
Date: Wed Sep  3 08:21:49 2008
New Revision: 691633

URL: http://svn.apache.org/viewvc?rev=691633&view=rev
Log:
GERONIMO-4274 Automate version numbers in README and RELASE_NOTES files

Added:
    geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4-SNAPSHOT.txt
      - copied, changed from r691623, geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4.txt
Removed:
    geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4.txt
Modified:
    geronimo/server/branches/2.1/README.txt
    geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml

Modified: geronimo/server/branches/2.1/README.txt
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/README.txt?rev=691633&r1=691632&r2=691633&view=diff
==============================================================================
--- geronimo/server/branches/2.1/README.txt (original)
+++ geronimo/server/branches/2.1/README.txt Wed Sep  3 08:21:49 2008
@@ -1,5 +1,5 @@
 ======================================================
-Apache Geronimo v2.1.4  (TBD)
+Apache Geronimo v@VERSION@  (TBD)
 
 http://geronimo.apache.org/
 ------------------------------------------------------
@@ -9,7 +9,7 @@
 Release Notes
 ======================
 
- Please read the RELEASE_NOTES-2.1.4.txt for a complete list of new features 
+ Please read the RELEASE_NOTES-@VERSION@.txt for a complete list of new features 
  available in this release. 
  
   

Copied: geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4-SNAPSHOT.txt (from r691623, geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4.txt)
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4-SNAPSHOT.txt?p2=geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4-SNAPSHOT.txt&p1=geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4.txt&r1=691623&r2=691633&rev=691633&view=diff
==============================================================================
--- geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4.txt (original)
+++ geronimo/server/branches/2.1/RELEASE_NOTES-2.1.4-SNAPSHOT.txt Wed Sep  3 08:21:49 2008
@@ -1,4 +1,4 @@
-Release Notes -- Apache Geronimo -- Version 2.1.4
+Release Notes -- Apache Geronimo -- Version @VERSION@
 
 
 Geronimo URLs
@@ -58,7 +58,7 @@
   through a sequence of steps and generates geronimo-web.xml automatically.
 
 
-Geronimo 2.1.4 Issues Resolved
+Geronimo @VERSION@ Issues Resolved
 ------------------------------
 ** Bug
 TBD
@@ -79,7 +79,7 @@
 
 Distributions
 -------------
-Apache Geronimo v2.1.4 is available in five distributions so you can pick the 
+Apache Geronimo v@VERSION@ is available in five distributions so you can pick the 
 one that best fits your environment.
 
 The available distributions are as follows:

Modified: geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml?rev=691633&r1=691632&r2=691633&view=diff
==============================================================================
--- geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml (original)
+++ geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml Wed Sep 
3 08:21:49 2008
@@ -301,8 +301,15 @@
                         <configuration>
                             <tasks>
                                 <echo>Copying README, RELEASE_NOTES, and DISCLAIMER
txt files ${project.basedir}/../.. to underlay - ${project.build.outputDirectory}/contents</echo>
-                                <copy file ="${project.basedir}/../../README.txt" todir="${project.build.outputDirectory}/contents"
failonerror="true" overwrite="true" />
-                                <copy file ="${project.basedir}/../../RELEASE_NOTES-2.1.4.txt"
todir="${project.build.outputDirectory}/contents" failonerror="true" overwrite="true" />
+                                <copy todir="${project.build.outputDirectory}/contents"
failonerror="true" overwrite="true" >
+                                    <fileset dir="${project.basedir}/../..">
+                                        <include name="README.txt" />
+                                        <include name="RELEASE_NOTES-${pom.version}.txt"
/>
+                                    </fileset>
+                                    <filterset>
+                                        <filter token="VERSION" value="${pom.version}"
/>
+                                    </filterset>
+                                </copy>
                             </tasks>
                         </configuration>
                     </execution>



Mime
View raw message