You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2006/01/21 01:21:00 UTC
svn commit: r370938 [49/50] - in /struts: action/trunk/
action/trunk/conf/java/ action/trunk/src/java/org/apache/struts/
action/trunk/src/java/org/apache/struts/action/
action/trunk/src/java/org/apache/struts/chain/
action/trunk/src/java/org/apache/str...
Modified: struts/action/trunk/xdocs/userGuide/release-notes-1.2.8.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/xdocs/userGuide/release-notes-1.2.8.xml?rev=370938&r1=370937&r2=370938&view=diff
==============================================================================
--- struts/action/trunk/xdocs/userGuide/release-notes-1.2.8.xml (original)
+++ struts/action/trunk/xdocs/userGuide/release-notes-1.2.8.xml Fri Jan 20 16:19:02 2006
@@ -1,169 +1,350 @@
<?xml version="1.0"?>
<document url="release-notes.html">
- <properties>
- <title>Struts Release Notes (since 1.2.7)</title>
- </properties>
- <body>
- <section name="6.1 Release Notes - Version 1.2.8" href="release_notes">
- <subsection name="Introduction" href="Introduction">
- <p>
- The main motivation for releasing Struts 1.2.8 is to fix a
- <i>Cross Site Scripting</i> (XSS) vulnerability which has
- been identified by Hacktics.com. More details available on the
- <a href="http://wiki.apache.org/struts/StrutsXssVulnerability">Wiki</a>.
- </p>
- <p>
- This section contains release notes for changes that have taken
- place since
- <a href="release-notes-1.2.7.html">Version 1.2.7</a>.
- To keep up-to-date on all changes to Struts, subscribe to the
- dev@ list.
- </p>
- <p>
- <b>Notes on upgrading</b> are maintained in the
- <a href="http://wiki.apache.org/struts/StrutsUpgrade">Wiki Upgrade pages</a>.
- The wiki is a community maintained resource - please feel free to add your
- input so that everyone can benefit from the collective experience.
- </p>
- <p>
- For the version requirements of each library, see the
- <a href="installation.html">Installation chapter</a>.
- </p>
-
-
- <h3 id="STRUTS_1_2_8">Version 1.2.8</h3>
-
- <p>
- After <a href="http://svn.apache.org/viewcvs.cgi/struts/core/tags/STRUTS_1_2_6/">Version 1.2.6 was tagged</a>
- the <a href="http://svn.apache.org/viewcvs.cgi/struts/core/branches/STRUTS_1_2_BRANCH/">1.2 Branch</a>
- was created and work started on the next version (<i>1.3.x series</i>). Work has continued on
- both versions and <i>Revision</i> numbers shown in brackets are where a change has been ported
- from the current development version into the <i>1.2 Branch</i>.
- </p>
-
- <table>
- <thead><tr>
- <th>Modification</th><th>Revision</th><th>Bugzilla</th><th>Description</th>
- </tr></thead>
- <tr>
- <td align="center">2005-11-07</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=331261&view=rev">331261</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=331265&view=rev">331265</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37131">37131</a></td>
- <td>Escape newlines in Validator variables.</td>
- </tr>
- <tr>
- <td align="center">2005-11-05</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=191272&view=rev">191272</a>
- and <a href="http://svn.apache.org/viewcvs?rev=192949&view=rev">192949</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=331056&view=rev">331056</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35127">35127</a></td>
- <td>Changing rendering of the form name to use the 'id' attribute when in XHTML strict mode.</td>
- </tr>
- <tr>
- <td align="center">2005-11-05</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=331060&view=rev">331060</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=331055&view=rev">331055</a>)</td>
- <td align="center"><i>n/a</i></td>
- <td>Fix for Struts XSS Vulnerability - remove uri from error messages.</td>
- </tr>
- <tr>
- <td align="center">2005-08-31</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=265661&view=rev">265661</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=265658&view=rev">265658</a>)</td>
- <td align="center"><i>n/a</i></td>
- <td>Remove I18nFactorySet copied code.</td>
- </tr>
- <tr>
- <td align="center">2005-08-29</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=264694&view=rev">264694</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=264684&view=rev">264684</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32584">32584</a></td>
- <td>Provide config option to turn off MessageResources escape processing.</td>
- </tr>
- <tr>
- <td align="center">2005-08-29</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=226545&view=rev">226545</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=264662&view=rev">264662</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35833">35833</a></td>
- <td>Fix bug where non-resource action messages only work for the first message in the messages list.</td>
- </tr>
- <tr>
- <td align="center">2005-06-20</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=191474&view=rev">191474</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=191475&view=rev">191475</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35421">35421</a></td>
- <td>Correct link on the acquiring page to the maven generated nightly builds.</td>
- </tr>
- <tr>
- <td align="center">2005-06-17</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=190794&view=rev">190794</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=191170&view=rev">191170</a>)</td>
- <td align="center"><i>n/a</i></td>
- <td>Update TagUtils to provide a more specific error message where properties on a formbean are not found.</td>
- </tr>
- <tr>
- <td align="center">2005-06-16</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs.cgi?rev=191011&view=rev">191011</a></td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34460">34460</a></td>
- <td>Update to the HTML tag library docs.</td>
- </tr>
- <tr>
- <td align="center">2005-06-16</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=191001&view=rev">191001</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=191002&view=rev">191002</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32313">32313</a></td>
- <td>Update tag library configuration docs for Servlet 2.4.</td>
- </tr>
- <tr>
- <td align="center">2005-06-15</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=190634&view=rev">190634</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=190779&view=rev">190779</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=23864">23864</a></td>
- <td>Filter html sensitive characters in the <html:radio> tag's value.</td>
- </tr>
- <tr>
- <td align="center">2005-06-15</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=190804&view=rev">190804</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=190807&view=rev">190807</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=3202">3202</a></td>
- <td><html:options> tag logic updated to be more efficient with use of iterators.</td>
- </tr>
- <tr>
- <td align="center">2005-06-15</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=190631&view=rev">190631</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=190780&view=rev">190780</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=27861">27861</a></td>
- <td>Add better error reporting to <bean:define> tag.</td>
- </tr>
- <tr>
- <td align="center">2005-06-04</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=180002&view=rev">180002</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=180001&view=rev">180001</a>)</td>
- <td align="center"><i>n/a</i></td>
- <td>Add warning to ActionMapping.findForward() method if not found.</td>
- </tr>
- <tr>
- <td align="center">2005-05-27</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs.cgi?rev=178799&view=rev">178799</a></td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35108">35108</a></td>
- <td>Add comment regarding jdbc20ext.jar and JDK to build.properties.sample.</td>
- </tr>
- <tr>
- <td align="center">2005-05-18</td>
- <td align="center"><a href="http://svn.apache.org/viewcvs?rev=170859&view=rev">170859</a>
- (<a href="http://svn.apache.org/viewcvs.cgi?rev=170858&view=rev">170858</a>)</td>
- <td align="center"><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34949">34949</a></td>
- <td>Add no-arg constructor to ModuleConfigImpl.</td>
- </tr>
- </table>
-
- </subsection>
-
- <subsection>
- <p class="right">Next:
- <a href="installation.html">Installation</a></p>
- </subsection>
- </section>
-</body>
+ <properties>
+ <title>Struts Release Notes (since 1.2.7)</title>
+ </properties>
+ <body>
+ <section name="6.1 Release Notes - Version 1.2.8"
+ href="release_notes">
+ <subsection name="Introduction" href="Introduction">
+ <p>
+ The main motivation for releasing Struts 1.2.8 is to fix a
+ <i>Cross Site Scripting</i>
+ (XSS) vulnerability which has
+ been identified by Hacktics.com. More details available on
+ the
+ <a href="http://wiki.apache.org/struts/StrutsXssVulnerability">
+ Wiki</a>
+ .
+ </p>
+ <p>
+ This section contains release notes for changes that have
+ taken
+ place since
+ <a href="release-notes-1.2.7.html">Version 1.2.7</a>
+ .
+ To keep up-to-date on all changes to Struts, subscribe to
+ the
+ dev@ list.
+ </p>
+ <p>
+ <b>Notes on upgrading</b>
+ are maintained in the
+ <a href="http://wiki.apache.org/struts/StrutsUpgrade">Wiki
+ Upgrade pages</a>
+ .
+ The wiki is a community maintained resource - please feel
+ free to add your
+ input so that everyone can benefit from the collective
+ experience.
+ </p>
+ <p>
+ For the version requirements of each library, see the
+ <a href="installation.html">Installation chapter</a>
+ .
+ </p>
+
+
+ <h3 id="STRUTS_1_2_8">Version 1.2.8</h3>
+
+ <p>
+ After
+ <a href="http://svn.apache.org/viewcvs.cgi/struts/core/tags/STRUTS_1_2_6/">
+ Version 1.2.6 was tagged</a>
+ the
+ <a href="http://svn.apache.org/viewcvs.cgi/struts/core/branches/STRUTS_1_2_BRANCH/">
+ 1.2 Branch</a>
+ was created and work started on the next version (
+ <i>1.3.x series</i>
+ ). Work has continued on
+ both versions and
+ <i>Revision</i>
+ numbers shown in brackets are where a change has been
+ ported
+ from the current development version into the
+ <i>1.2 Branch</i>
+ .
+ </p>
+
+ <table>
+ <thead>
+ <tr>
+ <th>Modification</th>
+ <th>Revision</th>
+ <th>Bugzilla</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tr>
+ <td align="center">2005-11-07</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=331261&view=rev">
+ 331261</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=331265&view=rev">
+ 331265</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37131">
+ 37131</a>
+ </td>
+ <td>Escape newlines in Validator variables.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-11-05</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=191272&view=rev">
+ 191272</a>
+ and
+ <a href="http://svn.apache.org/viewcvs?rev=192949&view=rev">
+ 192949</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=331056&view=rev">
+ 331056</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35127">
+ 35127</a>
+ </td>
+ <td>Changing rendering of the form name to use the
+ 'id' attribute when in XHTML strict mode.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-11-05</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=331060&view=rev">
+ 331060</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=331055&view=rev">
+ 331055</a>
+ )
+ </td>
+ <td align="center">
+ <i>n/a</i>
+ </td>
+ <td>Fix for Struts XSS Vulnerability - remove uri from
+ error messages.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-08-31</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=265661&view=rev">
+ 265661</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=265658&view=rev">
+ 265658</a>
+ )
+ </td>
+ <td align="center">
+ <i>n/a</i>
+ </td>
+ <td>Remove I18nFactorySet copied code.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-08-29</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=264694&view=rev">
+ 264694</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=264684&view=rev">
+ 264684</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32584">
+ 32584</a>
+ </td>
+ <td>Provide config option to turn off MessageResources
+ escape processing.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-08-29</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=226545&view=rev">
+ 226545</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=264662&view=rev">
+ 264662</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35833">
+ 35833</a>
+ </td>
+ <td>Fix bug where non-resource action messages only
+ work for the first message in the messages
+ list.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-20</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=191474&view=rev">
+ 191474</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=191475&view=rev">
+ 191475</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35421">
+ 35421</a>
+ </td>
+ <td>Correct link on the acquiring page to the maven
+ generated nightly builds.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-17</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=190794&view=rev">
+ 190794</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=191170&view=rev">
+ 191170</a>
+ )
+ </td>
+ <td align="center">
+ <i>n/a</i>
+ </td>
+ <td>Update TagUtils to provide a more specific error
+ message where properties on a formbean are not
+ found.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-16</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=191011&view=rev">
+ 191011</a>
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34460">
+ 34460</a>
+ </td>
+ <td>Update to the HTML tag library docs.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-16</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=191001&view=rev">
+ 191001</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=191002&view=rev">
+ 191002</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32313">
+ 32313</a>
+ </td>
+ <td>Update tag library configuration docs for Servlet
+ 2.4.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-15</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=190634&view=rev">
+ 190634</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=190779&view=rev">
+ 190779</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=23864">
+ 23864</a>
+ </td>
+ <td>Filter html sensitive characters in the <html:radio>
+ tag's value.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-15</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=190804&view=rev">
+ 190804</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=190807&view=rev">
+ 190807</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=3202">
+ 3202</a>
+ </td>
+ <td><html:options> tag logic updated to be more
+ efficient with use of iterators.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-15</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=190631&view=rev">
+ 190631</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=190780&view=rev">
+ 190780</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=27861">
+ 27861</a>
+ </td>
+ <td>Add better error reporting to <bean:define>
+ tag.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-06-04</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=180002&view=rev">
+ 180002</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=180001&view=rev">
+ 180001</a>
+ )
+ </td>
+ <td align="center">
+ <i>n/a</i>
+ </td>
+ <td>Add warning to ActionMapping.findForward() method
+ if not found.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-05-27</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=178799&view=rev">
+ 178799</a>
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35108">
+ 35108</a>
+ </td>
+ <td>Add comment regarding jdbc20ext.jar and JDK to
+ build.properties.sample.</td>
+ </tr>
+ <tr>
+ <td align="center">2005-05-18</td>
+ <td align="center">
+ <a href="http://svn.apache.org/viewcvs?rev=170859&view=rev">
+ 170859</a>
+ (
+ <a href="http://svn.apache.org/viewcvs.cgi?rev=170858&view=rev">
+ 170858</a>
+ )
+ </td>
+ <td align="center">
+ <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34949">
+ 34949</a>
+ </td>
+ <td>Add no-arg constructor to ModuleConfigImpl.</td>
+ </tr>
+ </table>
+
+ </subsection>
+
+ <subsection>
+ <p class="right">Next:
+ <a href="installation.html">Installation</a>
+ </p>
+ </subsection>
+ </section>
+ </body>
</document>
Modified: struts/action/trunk/xdocs/userGuide/release-notes.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/xdocs/userGuide/release-notes.xml?rev=370938&r1=370937&r2=370938&view=diff
==============================================================================
--- struts/action/trunk/xdocs/userGuide/release-notes.xml (original)
+++ struts/action/trunk/xdocs/userGuide/release-notes.xml Fri Jan 20 16:19:02 2006
@@ -18,415 +18,518 @@
-->
<document>
- <properties>
- <title>Release Notes (since 1.2.8)</title>
- </properties>
- <body>
- <section name="6.1 Release Notes - Version 1.3.0-dev">
- <a name="release_notes"/>
- <subsection name="Introduction">
- <p>
- This section contains release notes for changes that have taken
- place to Struts Classic since
- <a href="release-notes-1.2.8.html">Version 1.2.8</a>.
- To keep up-to-date on all changes to Struts, subscribe to the
- (commits at struts.apache.org) list.
- To preview our plans for upcoming changes,
- please visit the <a href="../roadmap.html">Roadmap page</a>.
- </p>
- <p>
- <b>Notes on upgrading</b> are maintained in the
- <a href="http://wiki.apache.org/struts/StrutsUpgrade">Wiki Upgrade pages</a>.
- The wiki is a community maintained resource - please feel free to add your
- input so that everyone can benefit from the collective experience.
- </p>
- <p>
- For the version requirements of each library, see the
- <a href="installation.html">Installation chapter</a>.
- </p>
-
- </subsection>
-
- <a name="Highlight"/>
- <subsection name="Highlights of Changes">
- <p>
- The purpose of this section is to highlight the new features since the
- Version 1.2.8 release.
- For more detail, see the Project Info reports for each subproject,
- which include a complete changelog and list of external dependencies.
- </p>
- <p>
- You can also access to the Struts source repository and change logs directly through both
- <a href="http://svn.apache.org/viewcvs.cgi/struts/action/trunk/?root=Apache-SVN">web browser</a>
- and <a href="http://www.apache.org/dev/version-control.html"> Subversion client</a> interfaces.
- </p>
-
- <h3>People</h3>
-
- <p>
- On the <a href="http://struts.apache.org/volunteers.html">volunteer</a>
- front, six new committers accepted invitations to join us. We welcome
- <i>Wendy Smoak</i>, <i>Gary VanMatre</i>, <i>Sean Schofield</i>,
- <i>Greg Reddin</i>, <i>Laurie Harper</i>, and <i>Richard Feit</i>.
- </p>
-
- <h3>Struts Action Library</h3>
-
- <p>
- Since Struts 1.2.8, we have subdivided Struts into several subprojects,
- each with its own release cycle.
- The set of seven subprojects derived from Struts 1.2 is sometimes referred to as "Struts Classic".
- The Struts Classic subprojects are Action, Applications, EL, Extras, Site, Taglibs, and Tiles.
- These subprojects will all inherit version 1.3.0, but, thereafter,
- subproject revisions will increment independently of each other.
- </p>
-
- <p>
- Since many teams will use Struts Action Framework with one or more extensions,
- we are bundling the jars for extensions that utilize the framework into a single distribution
- called "Struts Action Library".
- </p>
-
- <p>
- The Struts subprojects, including the website, are being built with Maven.
- But, of course, you can continue to build your own projects any way you like!)
- </p>
-
- <h3>Struts Applications</h3>
-
- <p>
- The applications have been moved into their own subproject,
- the builds have been "Mavenized",
- but the set of example applications is essentially unchanged.
- </p>
-
- <ul>
- <li>
- In MailReader, fix invalid password limit error.
- </li>
- </ul>
-
- <h3>Struts Action Framework</h3>
-
- <p>
- Major changes to the framework include
- </p>
-
- <ul>
- <li>
- Composable Request Processor
- </li>
- <li>
- Arbitrary configuration properties
- </li>
- <li>
- Catalog and Command Elements
- </li>
- <li>
- Enhanced Global Exception Handlers
- </li>
- <li>
- Extends attribute
- </li>
- <li>
- "isCommitted" Exception Handling
- </li>
- <li>
- Postback Actions
- </li>
- <li>
- Wildcard ActionConfig properties
- </li>
- </ul>
-
- <h4>Composable Request Processor</h4>
- <p>
- In prior versions, the request processing guantlet is represented as a series
- of methods.
- While it was easy to override the methods to provide different functionality,
- it was not easy to use multiple extension that each wanted to override
- the request processor in a different way.
- </p>
- <source>
-public void process(HttpServletRequest request,
+ <properties>
+ <title>Release Notes (since 1.2.8)</title>
+ </properties>
+ <body>
+ <section name="6.1 Release Notes - Version 1.3.0-dev">
+ <a name="release_notes"/>
+ <subsection name="Introduction">
+ <p>
+ This section contains release notes for changes that have
+ taken
+ place to Struts Classic since
+ <a href="release-notes-1.2.8.html">Version 1.2.8</a>
+ .
+ To keep up-to-date on all changes to Struts, subscribe to
+ the
+ (commits at struts.apache.org) list.
+ To preview our plans for upcoming changes,
+ please visit the
+ <a href="../roadmap.html">Roadmap page</a>
+ .
+ </p>
+ <p>
+ <b>Notes on upgrading</b>
+ are maintained in the
+ <a href="http://wiki.apache.org/struts/StrutsUpgrade">Wiki
+ Upgrade pages</a>
+ .
+ The wiki is a community maintained resource - please feel
+ free to add your
+ input so that everyone can benefit from the collective
+ experience.
+ </p>
+ <p>
+ For the version requirements of each library, see the
+ <a href="installation.html">Installation chapter</a>
+ .
+ </p>
+
+ </subsection>
+
+ <a name="Highlight"/>
+ <subsection name="Highlights of Changes">
+ <p>
+ The purpose of this section is to highlight the new
+ features since the
+ Version 1.2.8 release.
+ For more detail, see the Project Info reports for each
+ subproject,
+ which include a complete changelog and list of external
+ dependencies.
+ </p>
+ <p>
+ You can also access to the Struts source repository and
+ change logs directly through both
+ <a href="http://svn.apache.org/viewcvs.cgi/struts/action/trunk/?root=Apache-SVN">
+ web browser</a>
+ and
+ <a href="http://www.apache.org/dev/version-control.html">
+ Subversion client</a>
+ interfaces.
+ </p>
+
+ <h3>People</h3>
+
+ <p>
+ On the
+ <a href="http://struts.apache.org/volunteers.html">
+ volunteer</a>
+ front, six new committers accepted invitations to join us.
+ We welcome
+ <i>Wendy Smoak</i>
+ ,
+ <i>Gary VanMatre</i>
+ ,
+ <i>Sean Schofield</i>
+ ,
+ <i>Greg Reddin</i>
+ ,
+ <i>Laurie Harper</i>
+ , and
+ <i>Richard Feit</i>
+ .
+ </p>
+
+ <h3>Struts Action Library</h3>
+
+ <p>
+ Since Struts 1.2.8, we have subdivided Struts into several
+ subprojects,
+ each with its own release cycle.
+ The set of seven subprojects derived from Struts 1.2 is
+ sometimes referred to as "Struts Classic".
+ The Struts Classic subprojects are Action, Applications,
+ EL, Extras, Site, Taglibs, and Tiles.
+ These subprojects will all inherit version 1.3.0, but,
+ thereafter,
+ subproject revisions will increment independently of each
+ other.
+ </p>
+
+ <p>
+ Since many teams will use Struts Action Framework with one
+ or more extensions,
+ we are bundling the jars for extensions that utilize the
+ framework into a single distribution
+ called "Struts Action Library".
+ </p>
+
+ <p>
+ The Struts subprojects, including the website, are being
+ built with Maven.
+ But, of course, you can continue to build your own
+ projects any way you like!)
+ </p>
+
+ <h3>Struts Applications</h3>
+
+ <p>
+ The applications have been moved into their own
+ subproject,
+ the builds have been "Mavenized",
+ but the set of example applications is essentially
+ unchanged.
+ </p>
+
+ <ul>
+ <li>
+ In MailReader, fix invalid password limit error.
+ </li>
+ </ul>
+
+ <h3>Struts Action Framework</h3>
+
+ <p>
+ Major changes to the framework include
+ </p>
+
+ <ul>
+ <li>
+ Composable Request Processor
+ </li>
+ <li>
+ Arbitrary configuration properties
+ </li>
+ <li>
+ Catalog and Command Elements
+ </li>
+ <li>
+ Enhanced Global Exception Handlers
+ </li>
+ <li>
+ Extends attribute
+ </li>
+ <li>
+ "isCommitted" Exception Handling
+ </li>
+ <li>
+ Postback Actions
+ </li>
+ <li>
+ Wildcard ActionConfig properties
+ </li>
+ </ul>
+
+ <h4>Composable Request Processor</h4>
+ <p>
+ In prior versions, the request processing guantlet is
+ represented as a series
+ of methods.
+ While it was easy to override the methods to provide
+ different functionality,
+ it was not easy to use multiple extension that each wanted
+ to override
+ the request processor in a different way.
+ </p>
+ <source>
+ public void process(HttpServletRequest request,
HttpServletResponse response)
- throws IOException, ServletException {
+ throws IOException, ServletException {
- processLocale(request, response);
- if (!processRoles(request, response, mapping)) {
- return;
- }
- /// ...
- ActionForward forward =
- processActionPerform(request, response,
- action, form, mapping);
- processForwardConfig(request, response, forward);
-}
-</source>
- <p>
- For Struts 1.3, we turned the request processor methods into Commands
- that are part of a flexible Chain of Commands.
- Rather than subclassing a monolithic object,
- we can now just replace Commands.
- Commands can also be inserted or removed, if needed,
- to extend or streamline the request processing gauntlet
- to meets the needs of different kinds of applications.
- </p>
-<source>
-<chain name="process-action">
- <command className= "...SelectLocale"/>
- <command className= "...AuthorizeAction"/>
-<!-- ... -->
- <command className= "...CreateAction"/>
- <command className= "...ExecuteAction"/>
-</chain>
-</source>
- <p>
- We fully expect the Struts 1.3 request processor to be backwardly
- compatible with earlier versions.
- But, to be prudent, we wanted to release 1.3 with the Composable
- Request Processor before making additional changes.
- </p>
- <p>
- We've made a few other changes and improvements in Struts 1.3.x,
- but the two big-ticket items are subprojects and the new request processor.
- </p>
-
-
- <h4>Arbitrary configuration properties</h4>
- <p>
- Most every Struts configuration element now accepts a map of key/value pairs.
- Arbitrary configuration properties let us externalize more of our configurations,
- encouraging reuse.
- </p>
-
-<source>
-<action path="/EditSubscription"
- extends="Editor">
- <set-property key="foo" value="bar" />
-</action>
-
-public ActionForward execute(
- ActionMapping mapping,
- ActionForm form,
- HttpServletRequest request,
- HttpServletResponse response)
- throws Exception {
- string foo = getProperty("foo");
- // ...
-</source>
- <p>
- Arbitrary Configuration should make it easier for everyone
- to write reusable chunks of code, for ActionMappings, Exception Handlers,
- and other members.
- </p>
-
- <h4>Enhanced Global Exception Handlers</h4>
- <p>
- We now support use of global exception handlers in cases when no ActionConfig has yet been identified,
- as in with "preprocessing" commands in a custom request processing chain.
- In the case when there is no ActionConfig,
- the AbstractExceptionHandler will now call a new method in ModuleConfig which
- provides similar logic for finding a globally mapped exception handler for the given exception class
- or any of its superclasses.
- </p>
-
-
- <h4> Catalog and Command elements</h4>
- <p>
- Available for both the Controller and any Action Mapping
- </p>
- <p>
- catalog - The name of a commons-chain catalog in which to look up a command
- to be executed as part of servicing this request. Only meaningful if "command"
- is also specified.
- </p>
- <p>
- command - The name of a commons-chain command which should be looked up and
- executed as part of servicing this request.
- </p>
-<source>
-<controller
- inputForward="true"
- catalog="Foo"
- command="FooBar"
- />
-</source>
-
- <h4>Extends attribute</h4>
- <p>
- In the Struts configuration file,
- we can now use the <b>extends</b> attribute to adopt default settings from another element,
- as we already can in the Tiles configuration files.
- </p>
-<source>
-<struts-config>
- <form-beans>
- <form-bean name="registrationForm"
- type="org.apache.struts.action.DynaValidatorForm">
- <form-property name="firstName" type="java.lang.String" />
- <form-property name="lastName" type="java.lang.String" />
- </form-bean>
-
- <form-bean name="managerRegistrationForm"
- type="org.apache.struts.action.DynaValidatorForm"
- extends="registrationForm">
- <form-property name="department" type="java.lang.String" />
- </form-bean>
- </form-beans>
- ...
-</struts-config>
-</source>
- <p>
- Extends makes using XML elements much more like object-orientated programming.
- You can setup a base element, and then only specify the behavior that changes.
- Extends lets us set default values and then "program by difference".
- When elements are not relentlessly chanting the same things over and over,
- it's easier to see the forest for the trees.
- </p>
-
- <h4>"isCommitted" Exception Handling</h4>
- <p>
- When using Tiles, sometimes the response is already committed when an exception occurs.
- Now, the ExceptionHandler tests <code>response.isCommitted</code>,
- and, if true, includes the configured view path, rather than forwarding to it.
- The updated ExceptionHandler accepts new configuration attributes which let you
- choose alternate behavior, or no behavior at all. See the JavaDoc for details.
- </p>
-
-<source>
-<exception
- key="GlobalExceptionHandler.default"
- type="java.lang.Exception"
- path="/ErrorPage.jsp">
- <set-property key="INCLUDE_PATH" value="/error.jsp" />
-</exception>
-
-<exception
- key="GlobalExceptionHandler.default"
- type="java.lang.Exception"
- path="/ErrorPage.jsp">
- <set-property key="SILENT_IF_COMMITTED" value="true" />
-</exception>
-</source>
-
- <h4>Postback Forms</h4>
- <p>
- The action attribute of the Form taglib is now optional.
- If omitted, the original URI of the original request is used.
- </p>
-<source>
-<html:form
- onsubmit="return validateLogonForm(this);">
-</source>
-
- <h4>Wildcard ActionConfig properties</h4>
- <p>
- Wildcards can now be used in the properties of an ActionConfig.
- This makes it easier to pass multiple request-time values to the Action
- without complicating the "parameter" attibute.
- </p>
-
-<source>
-<action path="/Save*"
- name="Save{1}"
- extends="BaseSave">
- <set-properties key="Save" value="{1}"/>
-</action>
-</source>
-
- <h3>Struts EL</h3>
-
- <p>Aside from addressing deprecrations, there was one minor change to Struts EL.</p>
- <ul>
- <li>
- Remove reference to html:html's locale attr in TestELHtmlTag
- </li>
- </ul>
-
- <h3>Struts Extras</h3>
-
- <p>
- This subproject was extracted from the Actions and Plugins packages of Struts 1.2.
- The code itself is unchanged.
- </p>
-
- <h3>Struts Site</h3>
-
- <p>
- The new Site subproject hosts the top-layer of the Struts website,
- and serves as a portal to the other subprojects.
- </p>
-
- <h3>Struts Taglibs</h3>
-
- <p>
- We're changed the way we generate our reference documentation for the taglibs,
- but we think you will find the new reference just as useful as the old.
- Otherwise, we made only minor fixes to the trusty Struts Taglibs.
- </p>
-
- <ul>
- <li>
- Update error message for when value is null to specify the id of the bean being defined.
- </li>
- <li>
- Updated tag to filter value field to prevent it from breaking HTML if the value has reserved
- characters in it.
- </li>
- <li>
- Changed logic so that the "must specify only one of..." message only get's thrown if the user is
- specifying more than one of the available options.
- The code was throwing the message if the user didn't specify any at all and should be flowing
- down to the "no value specified" error message.
- Update "can contain only one of..." message to specify which bean has the error.
- </li>
- <li>
- Update FormTag to provide better debug message in the scenario where an action mapping is missing a
- form bean name.
- </li>
- <li>
- Update TagUtils to provide a more specific error message in the case where properties on a formbean
- are not found. Basically this change handles the scenario where the Constants.BEAN_KEY value was
- being displayed as the bean name.
- Now, the actualy bean name will be displayed.
- </li>
- <li>
- Changing rendering of the form name to use the 'id' attribute when in in XHTML strict mode.
- If an 'id' is already identified with the 'tyleId' attribute, an exception is thrown.
- </li>
- <li>
- Changed dynamic focus javascript to choose form using 'id' attribute in XHTML mode
- </li>
- <li>
- Changed the "action" attribute of the Form taglib to be optional.
- If omitted, the original URI of the request is used.
- </li>
- <li>
- Filter anchors out when determining action mapping name.
- </li>
- <li>
- Fix MessagesTag so that non-resource messages are possible for multiple messages,
- instead of just the first one.
- </li>
- <li>
- Added escape for single quotes in javascript values
- </li>
- </ul>
-
- <h3>Struts Tiles</h3>
-
- <p>
- Tiles is being refactored into a standalone package that can be used with or without Struts.
- For more on how this affects Tiles users, see the Tiles subproject site.
- </p>
-
- </subsection>
-
- <subsection>
- <p class="right">Next:
- <a href="installation.html">Installation</a></p>
- </subsection>
- </section>
-</body>
+ processLocale(request, response);
+ if (!processRoles(request, response, mapping)) {
+ return;
+ }
+ /// ...
+ ActionForward forward =
+ processActionPerform(request, response,
+ action, form, mapping);
+ processForwardConfig(request, response, forward);
+ }
+ </source>
+ <p>
+ For Struts 1.3, we turned the request processor methods
+ into Commands
+ that are part of a flexible Chain of Commands.
+ Rather than subclassing a monolithic object,
+ we can now just replace Commands.
+ Commands can also be inserted or removed, if needed,
+ to extend or streamline the request processing gauntlet
+ to meets the needs of different kinds of applications.
+ </p>
+ <source>
+ <chain name="process-action">
+ <command className= "...SelectLocale"/>
+ <command className= "...AuthorizeAction"/>
+ <!-- ... -->
+ <command className= "...CreateAction"/>
+ <command className= "...ExecuteAction"/>
+ </chain>
+ </source>
+ <p>
+ We fully expect the Struts 1.3 request processor to be
+ backwardly
+ compatible with earlier versions.
+ But, to be prudent, we wanted to release 1.3 with the
+ Composable
+ Request Processor before making additional changes.
+ </p>
+ <p>
+ We've made a few other changes and improvements in Struts
+ 1.3.x,
+ but the two big-ticket items are subprojects and the new
+ request processor.
+ </p>
+
+
+ <h4>Arbitrary configuration properties</h4>
+ <p>
+ Most every Struts configuration element now accepts a map
+ of key/value pairs.
+ Arbitrary configuration properties let us externalize more
+ of our configurations,
+ encouraging reuse.
+ </p>
+
+ <source>
+ <action path="/EditSubscription"
+ extends="Editor">
+ <set-property key="foo" value="bar"/>
+ </action>
+
+ public ActionForward execute(
+ ActionMapping mapping,
+ ActionForm form,
+ HttpServletRequest request,
+ HttpServletResponse response)
+ throws Exception {
+ string foo = getProperty("foo");
+ // ...
+ </source>
+ <p>
+ Arbitrary Configuration should make it easier for everyone
+ to write reusable chunks of code, for ActionMappings,
+ Exception Handlers,
+ and other members.
+ </p>
+
+ <h4>Enhanced Global Exception Handlers</h4>
+ <p>
+ We now support use of global exception handlers in cases
+ when no ActionConfig has yet been identified,
+ as in with "preprocessing" commands in a custom request
+ processing chain.
+ In the case when there is no ActionConfig,
+ the AbstractExceptionHandler will now call a new method in
+ ModuleConfig which
+ provides similar logic for finding a globally mapped
+ exception handler for the given exception class
+ or any of its superclasses.
+ </p>
+
+
+ <h4>Catalog and Command elements</h4>
+ <p>
+ Available for both the Controller and any Action Mapping
+ </p>
+ <p>
+ catalog - The name of a commons-chain catalog in which to
+ look up a command
+ to be executed as part of servicing this request. Only
+ meaningful if "command"
+ is also specified.
+ </p>
+ <p>
+ command - The name of a commons-chain command which should
+ be looked up and
+ executed as part of servicing this request.
+ </p>
+ <source>
+ <controller
+ inputForward="true"
+ catalog="Foo"
+ command="FooBar"
+ />
+ </source>
+
+ <h4>Extends attribute</h4>
+ <p>
+ In the Struts configuration file,
+ we can now use the
+ <b>extends</b>
+ attribute to adopt default settings from another element,
+ as we already can in the Tiles configuration files.
+ </p>
+ <source>
+ <struts-config>
+ <form-beans>
+ <form-bean name="registrationForm"
+ type="org.apache.struts.action.DynaValidatorForm">
+ <form-property name="firstName" type="java.lang.String"
+ />
+ <form-property name="lastName" type="java.lang.String"
+ />
+ </form-bean>
+
+ <form-bean name="managerRegistrationForm"
+ type="org.apache.struts.action.DynaValidatorForm"
+ extends="registrationForm">
+ <form-property name="department"
+ type="java.lang.String" />
+ </form-bean>
+ </form-beans>
+ ...
+ </struts-config>
+ </source>
+ <p>
+ Extends makes using XML elements much more like
+ object-orientated programming.
+ You can setup a base element, and then only specify the
+ behavior that changes.
+ Extends lets us set default values and then "program by
+ difference".
+ When elements are not relentlessly chanting the same
+ things over and over,
+ it's easier to see the forest for the trees.
+ </p>
+
+ <h4>"isCommitted" Exception Handling</h4>
+ <p>
+ When using Tiles, sometimes the response is already
+ committed when an exception occurs.
+ Now, the ExceptionHandler tests
+ <code>response.isCommitted</code>
+ ,
+ and, if true, includes the configured view path, rather
+ than forwarding to it.
+ The updated ExceptionHandler accepts new configuration
+ attributes which let you
+ choose alternate behavior, or no behavior at all. See the
+ JavaDoc for details.
+ </p>
+
+ <source>
+ <exception
+ key="GlobalExceptionHandler.default"
+ type="java.lang.Exception"
+ path="/ErrorPage.jsp">
+ <set-property key="INCLUDE_PATH" value="/error.jsp"/>
+ </exception>
+
+ <exception
+ key="GlobalExceptionHandler.default"
+ type="java.lang.Exception"
+ path="/ErrorPage.jsp">
+ <set-property key="SILENT_IF_COMMITTED" value="true" />
+ </exception>
+ </source>
+
+ <h4>Postback Forms</h4>
+ <p>
+ The action attribute of the Form taglib is now optional.
+ If omitted, the original URI of the original request is
+ used.
+ </p>
+ <source>
+ <html:form
+ onsubmit="return validateLogonForm(this);">
+ </source>
+
+ <h4>Wildcard ActionConfig properties</h4>
+ <p>
+ Wildcards can now be used in the properties of an
+ ActionConfig.
+ This makes it easier to pass multiple request-time values
+ to the Action
+ without complicating the "parameter" attibute.
+ </p>
+
+ <source>
+ <action path="/Save*"
+ name="Save{1}"
+ extends="BaseSave">
+ <set-properties key="Save" value="{1}"/>
+ </action>
+ </source>
+
+ <h3>Struts EL</h3>
+
+ <p>Aside from addressing deprecrations, there was one minor
+ change to Struts EL.</p>
+ <ul>
+ <li>
+ Remove reference to html:html's locale attr in
+ TestELHtmlTag
+ </li>
+ </ul>
+
+ <h3>Struts Extras</h3>
+
+ <p>
+ This subproject was extracted from the Actions and Plugins
+ packages of Struts 1.2.
+ The code itself is unchanged.
+ </p>
+
+ <h3>Struts Site</h3>
+
+ <p>
+ The new Site subproject hosts the top-layer of the Struts
+ website,
+ and serves as a portal to the other subprojects.
+ </p>
+
+ <h3>Struts Taglibs</h3>
+
+ <p>
+ We're changed the way we generate our reference
+ documentation for the taglibs,
+ but we think you will find the new reference just as
+ useful as the old.
+ Otherwise, we made only minor fixes to the trusty Struts
+ Taglibs.
+ </p>
+
+ <ul>
+ <li>
+ Update error message for when value is null to specify
+ the id of the bean being defined.
+ </li>
+ <li>
+ Updated tag to filter value field to prevent it from
+ breaking HTML if the value has reserved
+ characters in it.
+ </li>
+ <li>
+ Changed logic so that the "must specify only one
+ of..." message only get's thrown if the user is
+ specifying more than one of the available options.
+ The code was throwing the message if the user didn't
+ specify any at all and should be flowing
+ down to the "no value specified" error message.
+ Update "can contain only one of..." message to specify
+ which bean has the error.
+ </li>
+ <li>
+ Update FormTag to provide better debug message in the
+ scenario where an action mapping is missing a
+ form bean name.
+ </li>
+ <li>
+ Update TagUtils to provide a more specific error
+ message in the case where properties on a formbean
+ are not found. Basically this change handles the
+ scenario where the Constants.BEAN_KEY value was
+ being displayed as the bean name.
+ Now, the actualy bean name will be displayed.
+ </li>
+ <li>
+ Changing rendering of the form name to use the 'id'
+ attribute when in in XHTML strict mode.
+ If an 'id' is already identified with the 'tyleId'
+ attribute, an exception is thrown.
+ </li>
+ <li>
+ Changed dynamic focus javascript to choose form using
+ 'id' attribute in XHTML mode
+ </li>
+ <li>
+ Changed the "action" attribute of the Form taglib to
+ be optional.
+ If omitted, the original URI of the request is used.
+ </li>
+ <li>
+ Filter anchors out when determining action mapping
+ name.
+ </li>
+ <li>
+ Fix MessagesTag so that non-resource messages are
+ possible for multiple messages,
+ instead of just the first one.
+ </li>
+ <li>
+ Added escape for single quotes in javascript values
+ </li>
+ </ul>
+
+ <h3>Struts Tiles</h3>
+
+ <p>
+ Tiles is being refactored into a standalone package that
+ can be used with or without Struts.
+ For more on how this affects Tiles users, see the Tiles
+ subproject site.
+ </p>
+
+ </subsection>
+
+ <subsection>
+ <p class="right">Next:
+ <a href="installation.html">Installation</a>
+ </p>
+ </subsection>
+ </section>
+ </body>
</document>
Modified: struts/build/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/struts/build/trunk/maven.xml?rev=370938&r1=370937&r2=370938&view=diff
==============================================================================
--- struts/build/trunk/maven.xml (original)
+++ struts/build/trunk/maven.xml Fri Jan 20 16:19:02 2006
@@ -1,189 +1,198 @@
<?xml version="1.0"?>
-<project default="build-all"
- xmlns:j="jelly:core"
- xmlns:ant="jelly:ant"
- xmlns:maven="jelly:maven">
-
- <tstamp>
- <format property="today" pattern="yyyyMMdd"/>
- </tstamp>
-
- <goal name="nightly">
- <ant:delete dir="nightly"/>
- <ant:mkdir dir="nightly/"/>
- <ant:mkdir dir="nightly/logs/"/>
- <ant:mkdir dir="nightly/struts-apps/"/>
- <ant:mkdir dir="nightly/struts-action/"/>
- <ant:mkdir dir="nightly/struts-el/"/>
- <ant:mkdir dir="nightly/struts-extras/"/>
- <ant:mkdir dir="nightly/struts-faces/"/>
- <ant:mkdir dir="nightly/struts-flow/"/>
- <ant:mkdir dir="nightly/struts-sandbox/"/>
- <ant:mkdir dir="nightly/struts-scripting/"/>
- <ant:mkdir dir="nightly/struts-site/"/>
- <ant:mkdir dir="nightly/struts-taglib/"/>
- <ant:mkdir dir="nightly/struts-tiles/"/>
-
- <attainGoal name="clean-all"/>
- <attainGoal name="build-all"/>
-
- <ant:mkdir dir="nightly/struts-apps/"/>
-
- <ant:copy tofile="nightly/struts-apps/struts-blank-${today}.war">
- <ant:fileset dir="../apps/blank/target/">
- <ant:include name="struts-blank.war"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="nightly/struts-apps/struts-cookbook-${today}.war">
- <ant:fileset dir="../apps/cookbook/target/">
- <ant:include name="struts-cookbook.war"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="nightly/struts-apps/struts-mailreader-${today}.war">
- <ant:fileset dir="../apps/mailreader/target/">
- <ant:include name="struts-mailreader.war"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="nightly/struts-apps/struts-examples-${today}.war">
- <ant:fileset dir="../apps/examples/target/">
- <ant:include name="struts-examples.war"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="nightly/struts-el/strutsel-exercise-taglib-${today}.war">
- <ant:fileset dir="../el/target/">
- <ant:include name="strutsel-exercise-taglib.war"/>
- </ant:fileset>
- </ant:copy>
+<project default="build-all"
+ xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:maven="jelly:maven">
+
+ <tstamp>
+ <format property="today" pattern="yyyyMMdd"/>
+ </tstamp>
+
+ <goal name="nightly">
+ <ant:delete dir="nightly"/>
+ <ant:mkdir dir="nightly/"/>
+ <ant:mkdir dir="nightly/logs/"/>
+ <ant:mkdir dir="nightly/struts-apps/"/>
+ <ant:mkdir dir="nightly/struts-action/"/>
+ <ant:mkdir dir="nightly/struts-el/"/>
+ <ant:mkdir dir="nightly/struts-extras/"/>
+ <ant:mkdir dir="nightly/struts-faces/"/>
+ <ant:mkdir dir="nightly/struts-flow/"/>
+ <ant:mkdir dir="nightly/struts-sandbox/"/>
+ <ant:mkdir dir="nightly/struts-scripting/"/>
+ <ant:mkdir dir="nightly/struts-site/"/>
+ <ant:mkdir dir="nightly/struts-taglib/"/>
+ <ant:mkdir dir="nightly/struts-tiles/"/>
+
+ <attainGoal name="clean-all"/>
+ <attainGoal name="build-all"/>
+
+ <ant:mkdir dir="nightly/struts-apps/"/>
+
+ <ant:copy tofile="nightly/struts-apps/struts-blank-${today}.war">
+ <ant:fileset dir="../apps/blank/target/">
+ <ant:include name="struts-blank.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy tofile="nightly/struts-apps/struts-cookbook-${today}.war">
+ <ant:fileset dir="../apps/cookbook/target/">
+ <ant:include name="struts-cookbook.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy tofile="nightly/struts-apps/struts-mailreader-${today}.war">
+ <ant:fileset dir="../apps/mailreader/target/">
+ <ant:include name="struts-mailreader.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy tofile="nightly/struts-apps/struts-examples-${today}.war">
+ <ant:fileset dir="../apps/examples/target/">
+ <ant:include name="struts-examples.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy
+ tofile="nightly/struts-el/strutsel-exercise-taglib-${today}.war">
+ <ant:fileset dir="../el/target/">
+ <ant:include name="strutsel-exercise-taglib.war"/>
+ </ant:fileset>
+ </ant:copy>
</goal>
- <goal name="build-all">
+ <goal name="build-all">
- <maven:reactor
- basedir="../"
- includes="*/project.xml"
- excludes="build/project.xml"
- goals="dist"
- banner="Building nightlies"
- ignoreFailures="true"/>
-
- <maven:reactor
- basedir="../"
- includes="*/project.xml"
- excludes="build/project.xml"
- goals="copy-distribution"
- banner="Building nightlies"
- ignoreFailures="true"/>
-
- </goal>
-
-
- <goal name="clean-all">
- <maven:reactor
- basedir="../"
- includes="*/project.xml"
- excludes="build/project.xml"
- goals="clean"
- banner="Building nightlies"
- ignoreFailures="true"/>
-
- </goal>
-
- <postGoal name="dist">
- <attainGoal name="jar:install"/>
- </postGoal>
-
- <postGoal name="dist:prepare-bin-filesystem">
- <!-- Copy Instructions and Readmes -->
- <ant:copy todir="${maven.dist.bin.assembly.dir}">
- <ant:fileset dir="build/">
- <ant:include name="README*"/>
- <ant:include name="LICENSE.txt"/>
- <ant:include name="STATUS*"/>
- <ant:include name="INSTALL*"/>
- <ant:include name="NOTICE*"/>
- </ant:fileset>
- </ant:copy>
-
- </postGoal>
-
- <postGoal name="dist:prepare-src-filesystem">
-
- <!-- Copy Instructions and Readmes -->
- <ant:copy todir="${maven.dist.src.assembly.dir}">
- <ant:fileset dir="build">
- <ant:include name="README*"/>
- <ant:include name="LICENSE.txt"/>
- <ant:include name="STATUS*"/>
- <ant:include name="INSTALL*"/>
- <ant:include name="NOTICE*"/>
- </ant:fileset>
- </ant:copy>
-
- <!-- Copy Maven Control files -->
- <ant:copy todir="${maven.dist.src.assembly.dir}/build">
- <ant:fileset dir="build">
- <ant:include name="project.*"/>
- <ant:include name="*.xml"/>
- <ant:include name="*.jsl"/>
- </ant:fileset>
- </ant:copy>
- </postGoal>
-
- <goal name="copy-artifacts">
-
- <maven:reactor
- basedir="../"
- includes="*/project.xml"
- excludes="build/project.xml"
- goals="copy-distribution"
- banner="Copy nightly artifacts"
- ignoreFailures="false"/>
-
- </goal>
-
- <goal name="copy-distribution">
-<!--
- <ant:copy todir="../build/${today}/${pom.artifactId}-${pom.currentVersion}">
- <ant:fileset dir="${maven.build.dir}/distributions">
- <ant:include name="*"/>
- </ant:fileset>
- </ant:copy>
--->
-
- <ant:mkdir dir="../build/nightly/${pom.artifactId}/"/>
-
- <ant:copy tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}.tar.gz">
- <ant:fileset dir="${maven.build.dir}/distributions">
- <ant:include name="${pom.artifactId}-${pom.currentVersion}.tar.gz"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}.zip">
- <ant:fileset dir="${maven.build.dir}/distributions">
- <ant:include name="${pom.artifactId}-${pom.currentVersion}.zip"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}-src.tar.gz">
- <ant:fileset dir="${maven.build.dir}/distributions">
- <ant:include name="${pom.artifactId}-${pom.currentVersion}-src.tar.gz"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}-src.zip">
- <ant:fileset dir="${maven.build.dir}/distributions">
- <ant:include name="${pom.artifactId}-${pom.currentVersion}-src.zip"/>
- </ant:fileset>
- </ant:copy>
+ <maven:reactor
+ basedir="../"
+ includes="*/project.xml"
+ excludes="build/project.xml"
+ goals="dist"
+ banner="Building nightlies"
+ ignoreFailures="true"/>
+
+ <maven:reactor
+ basedir="../"
+ includes="*/project.xml"
+ excludes="build/project.xml"
+ goals="copy-distribution"
+ banner="Building nightlies"
+ ignoreFailures="true"/>
- </goal>
+ </goal>
+
+
+ <goal name="clean-all">
+ <maven:reactor
+ basedir="../"
+ includes="*/project.xml"
+ excludes="build/project.xml"
+ goals="clean"
+ banner="Building nightlies"
+ ignoreFailures="true"/>
+
+ </goal>
+
+ <postGoal name="dist">
+ <attainGoal name="jar:install"/>
+ </postGoal>
+
+ <postGoal name="dist:prepare-bin-filesystem">
+ <!-- Copy Instructions and Readmes -->
+ <ant:copy todir="${maven.dist.bin.assembly.dir}">
+ <ant:fileset dir="build/">
+ <ant:include name="README*"/>
+ <ant:include name="LICENSE.txt"/>
+ <ant:include name="STATUS*"/>
+ <ant:include name="INSTALL*"/>
+ <ant:include name="NOTICE*"/>
+ </ant:fileset>
+ </ant:copy>
+
+ </postGoal>
+
+ <postGoal name="dist:prepare-src-filesystem">
+
+ <!-- Copy Instructions and Readmes -->
+ <ant:copy todir="${maven.dist.src.assembly.dir}">
+ <ant:fileset dir="build">
+ <ant:include name="README*"/>
+ <ant:include name="LICENSE.txt"/>
+ <ant:include name="STATUS*"/>
+ <ant:include name="INSTALL*"/>
+ <ant:include name="NOTICE*"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <!-- Copy Maven Control files -->
+ <ant:copy todir="${maven.dist.src.assembly.dir}/build">
+ <ant:fileset dir="build">
+ <ant:include name="project.*"/>
+ <ant:include name="*.xml"/>
+ <ant:include name="*.jsl"/>
+ </ant:fileset>
+ </ant:copy>
+ </postGoal>
+
+ <goal name="copy-artifacts">
+
+ <maven:reactor
+ basedir="../"
+ includes="*/project.xml"
+ excludes="build/project.xml"
+ goals="copy-distribution"
+ banner="Copy nightly artifacts"
+ ignoreFailures="false"/>
+
+ </goal>
+
+ <goal name="copy-distribution">
+ <!--
+ <ant:copy todir="../build/${today}/${pom.artifactId}-${pom.currentVersion}">
+ <ant:fileset dir="${maven.build.dir}/distributions">
+ <ant:include name="*"/>
+ </ant:fileset>
+ </ant:copy>
+ -->
+
+ <ant:mkdir dir="../build/nightly/${pom.artifactId}/"/>
+
+ <ant:copy
+ tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}.tar.gz">
+ <ant:fileset dir="${maven.build.dir}/distributions">
+ <ant:include
+ name="${pom.artifactId}-${pom.currentVersion}.tar.gz"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy
+ tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}.zip">
+ <ant:fileset dir="${maven.build.dir}/distributions">
+ <ant:include
+ name="${pom.artifactId}-${pom.currentVersion}.zip"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy
+ tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}-src.tar.gz">
+ <ant:fileset dir="${maven.build.dir}/distributions">
+ <ant:include
+ name="${pom.artifactId}-${pom.currentVersion}-src.tar.gz"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy
+ tofile="../build/nightly/${pom.artifactId}/${pom.artifactId}-${pom.currentVersion}-${today}-src.zip">
+ <ant:fileset dir="${maven.build.dir}/distributions">
+ <ant:include
+ name="${pom.artifactId}-${pom.currentVersion}-src.zip"/>
+ </ant:fileset>
+ </ant:copy>
+
+ </goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org