commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r607905 - /commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl
Date Tue, 01 Jan 2008 20:13:13 GMT
Author: psteitz
Date: Tue Jan  1 12:13:13 2008
New Revision: 607905

URL: http://svn.apache.org/viewvc?rev=607905&view=rev
Log:
Improved formatting, removed some extraneous elements.

Modified:
    commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl

Modified: commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl
URL: http://svn.apache.org/viewvc/commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl?rev=607905&r1=607904&r2=607905&view=diff
==============================================================================
--- commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl (original)
+++ commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl Tue Jan  1 12:13:13
2008
@@ -23,11 +23,7 @@
 
 <!--
  Customized version of maven annnouncement plugin style sheet to create
- release notes for commons-pool.  Customizations are:
- * Add a title
- * Display the description attribute in the release at the beginning
- * Add a heading to the project description and move the URL to follow
- * Get rid of "have fun" sig-like thingy
+ release notes for commons-pool.   
 -->
     
 <jsl:stylesheet
@@ -46,23 +42,21 @@
     <x:set var="description" select="string(@description)"/>
     <j:if test="${versionVariable.equals(version)}">
       <j:whitespace trim="false">
-Commons POOL Version ${version} 
-         RELEASE NOTES
-
+                         Commons POOL Version ${version} 
+                                 RELEASE NOTES
       </j:whitespace>
 
-      <j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/>
+<j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/>
 
-      <j:set var="header" trim="false" value="${description}"/>
+<j:set var="header" trim="false" value="${description}"/>
 
 <j:forEach var="line" items="${formatter.format(header,78)}">
-<j:whitespace trim="false">${line}
-</j:whitespace>
+<j:whitespace trim="false">
+${line}</j:whitespace>
 </j:forEach>
-For more information on Commons Pool, see
-${pom.url}
       <j:whitespace trim="false">
-Changes in this version include:</j:whitespace>
+      
+                             SUMMARY OF CHANGES</j:whitespace>
 
       <x:set var="actions" select="action[@type='add']" sort="@type" />
         <j:if test="${!empty(actions)}">
@@ -78,7 +72,7 @@
         <j:if test="${!empty(actions)}">
 <j:whitespace trim="false">
 
-  Fixed bugs:
+BUG FIXES
 </j:whitespace>
         <j:forEach var="action" items="${actions}">
           <x:set var="item" select="."/><jsl:applyTemplates select="$action"/>
@@ -88,12 +82,15 @@
         <j:if test="${!empty(actions)}">
 <j:whitespace trim="false">
 
-  Changes:
+BEHAVIOR CHANGES
 </j:whitespace>
         <j:forEach var="action" items="${actions}">
           <x:set var="item" select="."/><jsl:applyTemplates select="$action"/>
         </j:forEach>
       </j:if>
+
+For more information on Commons Pool, see
+${pom.url}
       <x:set var="actions" select="action[@type='remove']" sort="@type" />
         <j:if test="${!empty(actions)}">
 <j:whitespace trim="false">
@@ -104,17 +101,10 @@
           <x:set var="item" select="."/><jsl:applyTemplates select="$action"/>
         </j:forEach>
       </j:if>
-
-      <!-- Nasty hack to detect a plugin until pom.type exists -->
-      <u:available file="${basedir}/plugin.jelly">
-        <j:whitespace trim="false"> 
-        </j:whitespace>
-      </u:available>
       <j:whitespace trim="false"> 
 
       </j:whitespace>
     </j:if>
-
   </jsl:template>
   
   <jsl:template match="action" trim="true">
@@ -144,8 +134,6 @@
       <j:set var="counter" value="${counter}X"/>
     </j:forEach>
   </jsl:template>
-
   <jsl:template match="@*"/>
-
   <jsl:template match="text()"/>
 </jsl:stylesheet>



Mime
View raw message