craigmcc 01/01/19 16:32:43 Modified: . build.xml src/doc project.xml src/doc/userGuide introduction.xml Added: src/doc/userGuide index.xml Log: Modify the build process to create the 1.0 version of the User's Guide in a separate subdirectory. This is in prep for sprucing up the stylesheet used to generate the User's Guide, so that it is similar to the remainder of the Struts documentation. Also, added a table of contents page, and cleaned up section numbering titles in the introduction. Revision Changes Path 1.32 +14 -2 jakarta-struts/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-struts/build.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- build.xml 2001/01/11 00:03:37 1.31 +++ build.xml 2001/01/20 00:32:43 1.32 @@ -38,6 +38,7 @@ <copy todir="${build.home}/documentation/dtds"> <fileset dir="src/conf" includes="**/*.dtd"/> </copy> + <mkdir dir="${build.home}/documentation/userGuide"/> <mkdir dir="${build.home}/documentation/WEB-INF"/> <mkdir dir="${build.home}/documentation/WEB-INF/classes"/> <mkdir dir="${build.home}/documentation/WEB-INF/lib"/> @@ -157,10 +158,21 @@ <style basedir="src/doc" destdir="${build.home}/documentation" extension=".html" style="stylesheets/struts.xsl" includes="*.xml"/> <!-- Create the user guide --> - <style basedir="src/doc/userGuide" destdir="${build.home}/documentation" - extension=".html" style="../stylesheets/userGuide.xsl" includes="*.xml"/> + <style basedir="src/doc/userGuide" + destdir="${build.home}/documentation/userGuide" + extension=".html" style="../stylesheets/userGuide.xsl" + includes="*.xml"/> <copy todir="${build.home}/documentation"> <fileset dir="src/doc"> + <include name="**/*.css"/> + <include name="**/*.gif"/> + <include name="**/*.html"/> + <include name="**/*.jpg"/> + <include name="**/*.js"/> + </fileset> + </copy> + <copy todir="${build.home}/documentation/userGuide"> + <fileset dir="src/doc/userGuide"> <include name="**/*.css"/> <include name="**/*.gif"/> <include name="**/*.html"/> 1.19 +1 -1 jakarta-struts/src/doc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-struts/src/doc/project.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- project.xml 2001/01/12 04:43:03 1.18 +++ project.xml 2001/01/20 00:32:43 1.19 @@ -8,7 +8,7 @@ <menu name="Documentation"> <item name="Home" href="index.html"/> <item name="Installation" href="installation.html"/> - <item name="User Guide (1.0)" href="introduction.html"/> + <item name="User Guide (1.0)" href="userGuide/index.html"/> <item name="Javadoc" href="api/index.html"/> <item name="Release Notes (1.0)" href="release.html"/> <item name="TODO List (1.0)" href="todo-1.0.html"/> 1.7 +8 -8 jakarta-struts/src/doc/userGuide/introduction.xml Index: introduction.xml =================================================================== RCS file: /home/cvs/jakarta-struts/src/doc/userGuide/introduction.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- introduction.xml 2001/01/12 19:58:50 1.6 +++ introduction.xml 2001/01/20 00:32:43 1.7 @@ -11,9 +11,9 @@ <body> - <chapter name="Introduction" href="introduction"> + <chapter name="1. Introduction" href="introduction"> - <section name="Preface: Forward into the Past! (or a brief history of Struts)" href="preface"> + <section name="1.1 Preface: Forward into the Past! (or a brief history of Struts)" href="preface"> <p> When Java servlets were first invented, many programmers quickly realized that they were a @@ -62,7 +62,7 @@ </p> </section> - <section name="The Model-View-Controller ('MVC') Design Pattern" href="mvc"> + <section name="1.2 The Model-View-Controller ('MVC') Design Pattern" href="mvc"> <p> In the MVC design pattern, the application flow is controlled by a central <i>Controller</i>, @@ -78,7 +78,7 @@ </section> - <section name="Struts Framework Overview" href="overview"> + <section name="1.3 Struts Framework Overview" href="overview"> <p> True to the Model-View-Controller design pattern, Struts applications have three @@ -196,7 +196,7 @@ </section> - <section name="The Model: System State and Business Logic JavaBeans" href="modelConcepts"> + <section name="1.4 The Model: System State and Business Logic JavaBeans" href="modelConcepts"> <p> The <i>Model</i> portion of an MVC-based system can be subdivided into @@ -241,7 +241,7 @@ </p> </section> - <section name="1.4 The View: JSP Pages and Presentation Components" href="presentationConcepts"> + <section name="1.5 The View: JSP Pages and Presentation Components" href="presentationConcepts"> <p> The <i>View</i> portion of a Struts-based application is generally @@ -273,7 +273,7 @@ </p> </section> - <section name="1.5 The Controller: ActionServlet and ActionMapping" href="controllerConcepts"> + <section name="1.6 The Controller: ActionServlet and ActionMapping" href="controllerConcepts"> <p> The <i>Controller</i> portion of the application is focused on receiving @@ -312,4 +312,4 @@ </chapter> </body> -</document> \ No newline at end of file +</document> 1.1 jakarta-struts/src/doc/userGuide/index.xml Index: index.xml =================================================================== <?xml version="1.0"?> <document url="./index.xml"> <properties> <author>Craig R. McClanahan</author> <author>Mike Schachter</author> <author>Larry McCay</author> <author>Ted Husted</author> <title>The Struts Framework Project</title> </properties> <body> <chapter name="0. Contents" href="contents"> <section name="0.1 Table of Contents" href="toc"> <ul> <li><a href="introduction.html">1. Introduction</a> <ul> <li><a href="introduction.html#preface">1.1 Preface: Forward into the Past!</a></li> <li><a href="introduction.html#mvc">1.2 The Model-View-Controller ('MVC') Design Pattern</a></li> <li><a href="introduction.html#overview">1.3 Struts Framework Overview</a></li> <li><a href="introduction.html#modelConcepts">1.4 The Model: System State and Business Logic JavaBeans</a></li> <li><a href="introduction.html#presentationConcepts">1.5 The View: JSP Pages and Presentation Components</a></li> <li><a href="introduction.html#controllerConcepts">1.6 The Controller: ActionServlet and ActionMapping</a></li> </ul></li> <li><a href="building_model.html">2. Building Model Components</a> <ul> <li><a href="building_model.html#overview">2.1 Overview</a></li> <li><a href="building_model.html#javabeans">2.2 JavaBeans and Scope</a></li> <li><a href="building_model.html#actionform">2.3 ActionForm Beans</a></li> <li><a href="building_model.html#system_state">2.4 System State Beans</a></li> <li><a href="building_model.html#business_logic">2.5 Business Logic Beans</a></li> <li><a href="building_model.html#databases">2.6 Accessing Relational Databases</a></li> </ul></li> <li><a href="building_view.html">3. Building View Components</a> <ul> <li><a href="building_view.html#overview">3.1 Overview</a></li> <li><a href="building_view.html#i18n">3.2 Internationalization</a></li> <li><a href="building_view.html#form_beans">3.3 Forms and FormBean Interactions</a> <ul> <li><a href="building_view.html#forms">3.3.1 Building Forms With Struts</a></li> <li><a href="building_view.html#form_input">3.3.2 Input Field Types Supported</a></li> <li><a href="building_view.html#presentation_tags">3.3.3 Other Useful Presentation Tags</a></li> <li><a href="building_view.html#form_validation">3.3.4 Automatic Form Validation</a></li> </ul></li> <li><a href="building_view.html#other_presentations">3.4 Other Presentation Techniques</a> <ul> <li><a href="building_view.html#custom_tags">3.4.1 Application-Specific Custom Tags</a></li> <li><a href="building_view.html#includes">3.4.2 Page Composition With Includes</a></li> <li><a href="building_view.html#image_rendering">3.4.3 Image Rendering Components</a></li> </ul></li> </ul></li> <li><a href="building_controller.html">4. Building Controller Components</a> <ul> <li><a href="building_controller.html#overview">4.1 Overview</a></li> <li><a href="building_controller.html#action_classes">4.2 Action Classes</a></li> <li><a href="building_controller.html#actionmapping">4.3 The ActionMapping Implementation</a></li> <li><a href="building_controller.html#config">4.4 The Action Mappings Configuration File</a></li> <li><a href="building_controller.html#dd_config">4.5 The Web Application Deployment Descriptor</a> <ul> <li><a href="building_controller.html#dd_config_servlet">4.5.1 Configure the Action Servlet Instance</a></li> <li><a href="building_controller.html#dd_config_mapping">4.5.2 Configure the Action Servlet Mapping</a></li> <li><a href="building_controller.html#dd_config_taglib">4.5.3 Configure the Struts Tag Library</a></li> <li><a href="building_controller.html#config_add">4.6 Add Struts Components To Your Application</a></li> </ul></li> </ul></li> <li><a href="resources.html">5. Resources</a></li> </ul> </section> </chapter> </body> </document>