User: d_jencks
  Date: 01/08/24 12:09:32

  Modified:    .        build.xml config.xml
  Log:
  updated build.xml and config.xml to work a little better in buildmagic and included 
draft of chapter on resources
  
  Revision  Changes    Path
  1.4       +16 -35    manual/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml 2001/08/23 04:59:35     1.3
  +++ build.xml 2001/08/24 19:09:32     1.4
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.3 2001/08/23 04:59:35 d_jencks Exp $ -->
  +<!-- $Id: build.xml,v 1.4 2001/08/24 19:09:32 d_jencks Exp $ -->
   
   <project default="main">
   
  @@ -229,9 +229,9 @@
        |
        |  This target should depend on other docs-* targets for each 
        |  different type of docuementation that is to be generated.
  -    -->
  -  <target name="docs" depends="html, printable-html, pdf"
  -       description="Builds all documentation."/>
  +    --> <!--removed pdf - it breaks build -->
  +  <target name="docs" depends="html, printable-html"
  +       description="Builds all [non pdf until pdf works] documentation."/>
   
     <!-- Generate the HTML manual -->
     <target name="html" depends="init">
  @@ -242,13 +242,6 @@
          |  so we move all chunked html files to destination
         -->
   
  -    <!--delete dir="${build.temp}" quiet="true"/>
  -    <mkdir dir="${build.temp}"/>
  -    <copy todir="${build.temp}" filtering="yes">
  -      <fileset dir="${source.docs}">
  -         <include name="**/*"/>
  -      </fileset>
  -    </copy build.temp-->
   
       <mkdir dir="${build.html}"/>
   <echo message="build.html is ${build.html}"/>
  @@ -260,7 +253,7 @@
       </style>
   
       <move todir="${build.html}">
  -      <fileset dir="${module.root}" includes="*.html"/>
  +      <fileset dir="${module.root}" includes="*.html"/>
       </move>
   
       <copy todir="${build.html}">
  @@ -276,13 +269,6 @@
   
     <!-- Generate the printable HTML manual -->
     <target name="printable-html" depends="init">
  -    <!--delete dir="${build.temp}" quiet="true"/>
  -    <mkdir dir="${build.temp}"/>
  -    <copy todir="${build.temp}" filtering="yes">
  -      <fileset dir="${source.docs}">
  -         <include name="**/*"/>
  -      </fileset>
  -    </copy-->
   
       <mkdir dir="${build.printable-html}"/>
       <style basedir="${source.docs}"
  @@ -292,9 +278,9 @@
           includes="jbossdocs.xml">
       </style>
   
  -    <move todir="${build.printable-html}">
  -      <fileset dir="${module.root}" includes="*.html"/>
  -    </move>
  +    <!--move todir="${build.printable-html}">
  +      <fileset dir="${module.root}" includes="*.html"/>
  +    </move-->
   
       <copy todir="${build.printable-html}">
          <fileset dir="${source.docs}">
  @@ -309,23 +295,16 @@
   
     <!-- Generate the PDF manual -->
     <target name="pdf" depends="init">
  -    <delete dir="${build.temp}" quiet="true"/>
  -    <mkdir dir="${build.temp}"/>
  -    <copy todir="${build.temp}" filtering="yes">
  -      <fileset dir="${source.docs}">
  -         <include name="**/*"/>
  -      </fileset>
  -    </copy>
   
       <mkdir dir="${build.pdf}"/>
  -    <style basedir="${build.temp}"
  +    <style basedir="${source.docs}"
              destdir="${build.pdf}"
              style="docbook/fo/docbook.xsl" 
              extension=".fo" 
              includes="jbossdocs.xml">
       </style>
   
  -    <fop basedir="${build.temp}"
  +    <fop basedir="${build.pdf}"
         fofile="${build.pdf}/jbossdocs.fo" 
         pdffile="${build.pdf}/manual.pdf"
         messagelevel="info"/>
  @@ -339,10 +318,12 @@
     <target name="release" depends="all"
          description="Builds a release distribution.">
       <!-- Copy the static documents (docs) -->
  -    <mkdir dir="${release.docs}"/>
  -    <copy todir="${release.docs}" filtering="no">
  -      <fileset dir="${build.docs}">
  -         <include name="**/*"/>
  +    <mkdir dir="${release.manual}"/>
  +    <copy todir="${release.manual}" filtering="no">
  +      <fileset dir="${module.build}">
  +         <include name="html/**/*"/>
  +         <include name="printable-html/**/*"/>
  +         <include name="pdf/**/*.pdf"/>
         </fileset>
       </copy>
     </target>
  
  
  
  1.4       +3 -2      manual/config.xml
  
  Index: config.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- config.xml        2001/08/20 20:42:06     1.3
  +++ config.xml        2001/08/24 19:09:32     1.4
  @@ -7,7 +7,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: config.xml,v 1.3 2001/08/20 20:42:06 user57 Exp $ -->
  +<!-- $Id: config.xml,v 1.4 2001/08/24 19:09:32 d_jencks Exp $ -->
   
     <!-- ================================================================== -->
     <!-- Module Setup                                                       -->
  @@ -123,7 +123,7 @@
     <property name="build.html" value="${module.build}/html"/>
     <property name="build.printable-html" value="${module.build}/printable-html"/>
     <property name="build.pdf" value="${module.build}/pdf"/>
  -  <property name="build.temp" value="${module.build}/temp"/>
  +  <!--property name="build.temp" value="${module.build}/temp"/-->
     <property name="build.jars" value="${module.build}/lib"/>
   
     <!-- Where release generated files will go -->
  @@ -144,6 +144,7 @@
   
     <!-- Documentation and examples -->
     <property name="release.docs" value="${release.root}/docs"/>
  +  <property name="release.manual" value="${release.root}/manual"/>
     <property name="release.examples" value="${release.docs}/examples"/>
     <property name="release.api" value="${release.docs}/api"/>
     <property name="release.module.docs" value="${release.docs}/${module.name}"/>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to