You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2013/12/23 21:21:58 UTC

svn commit: r1553199 - in /commons/proper/pool/trunk: RELEASE-NOTES.txt src/changes/changes.xml src/changes/release-notes.vm

Author: psteitz
Date: Mon Dec 23 20:21:58 2013
New Revision: 1553199

URL: http://svn.apache.org/r1553199
Log:
Uglied up velocity hack a little more to get rid of hanging indent in release description.

Modified:
    commons/proper/pool/trunk/RELEASE-NOTES.txt
    commons/proper/pool/trunk/src/changes/changes.xml
    commons/proper/pool/trunk/src/changes/release-notes.vm

Modified: commons/proper/pool/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/RELEASE-NOTES.txt?rev=1553199&r1=1553198&r2=1553199&view=diff
==============================================================================
--- commons/proper/pool/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/pool/trunk/RELEASE-NOTES.txt Mon Dec 23 20:21:58 2013
@@ -8,7 +8,8 @@ Version 2 contains a completely re-writt
 In addition to performance and scalability improvements, version 2 includes robust instance
 tracking and pool monitoring. Version 2 requires JDK level 1.6 or above. 
 
-This is a maintenance release that includes a small number of new features as well as including bugfixes and test case improvements.
+This is a maintenance release that includes a small number of new features as well as
+including bugfixes and test case improvements.
 
 Changes in version 2.1 include:
 

Modified: commons/proper/pool/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/changes/changes.xml?rev=1553199&r1=1553198&r2=1553199&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/changes/changes.xml (original)
+++ commons/proper/pool/trunk/src/changes/changes.xml Mon Dec 23 20:21:58 2013
@@ -44,8 +44,8 @@ The <action> type attribute can be add,u
   </properties>
   <body>
    <release version="2.1" date="TBD" description=
-"This is a maintenance release that includes a small number of new
-features as well as including bugfixes and test case improvements.">
+"This is a maintenance release that includes a small number of new features as well as 
+including bugfixes and test case improvements.">
     <action issue="POOL-243" dev="psteitz" type="fix" due-to="Michal Sabo">
       Added missing create counter decrement in GenericKeyedObjectPool create method on factory
       exception path. Prior to this fix, exceptions thrown by factory makeObject calls could leak

Modified: commons/proper/pool/trunk/src/changes/release-notes.vm
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/changes/release-notes.vm?rev=1553199&r1=1553198&r2=1553199&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/changes/release-notes.vm (original)
+++ commons/proper/pool/trunk/src/changes/release-notes.vm Mon Dec 23 20:21:58 2013
@@ -26,9 +26,13 @@ tracking and pool monitoring. Version 2 
 
 ## N.B. the available variables are described here:
 ## http://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.html
-## Hack to improve layout: replace all pairs of spaces with a single new-line
-$release.description.replaceAll("  ", "
-")
+##
+## Hack to get line breaks to work in release description. For this to work, each line break in the
+## release description attribute in changes.xml needs to be followed by a single space.
+#set( $desc = $release.description )
+#set( $desc2 = $desc.replace($esc.newline, "  ") )
+#set( $d = $desc2.replace("  ",$esc.newline) )
+${d}
 
 ## set up indent sizes. Only change indent1
 #set($props=${project.properties})