forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-forrest/src/core forrest.build.xml
Date Sun, 09 Nov 2003 09:52:29 GMT
crossley    2003/11/09 01:52:29

  Modified:    src/core forrest.build.xml
  Log:
  Improve the help message. Moved it higher up, before Cocoon starts.
  Otherwise it is too late. If Cocoon encounters a broken link, then it will
  report failure at the end, and we will not get a chance to issue our help msg.
  
  Revision  Changes    Path
  1.7       +23 -13    xml-forrest/src/core/forrest.build.xml
  
  Index: forrest.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/forrest.build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- forrest.build.xml	23 Oct 2003 13:35:54 -0000	1.6
  +++ forrest.build.xml	9 Nov 2003 09:52:29 -0000	1.7
  @@ -114,7 +114,6 @@
       <filter filtersfile="${projfilters}"/>
       <filter token="forrest.home" value="${forrest.home}"/>
       <filter token="project.home" value="${project.home}"/>
  - 
       <!-- echo settings in -Dforrest.echo=true mode -->
       <antcall target="echo-settings" />
     </target>
  @@ -529,8 +528,8 @@
   
      <target name="site" depends="init, webapp, -prepare-classpath" if="project.content.present"
        description="Generates a static HTML website for this project">
  -    <!-- clean out the temp space, if we don't cocoon fails on this
  -         actually clears the cache, not yet clear why it is really needed? -->
  +    <!-- clean out the temp space, if we don't cocoon fails on this.
  +         actually clears the cache, not yet sure why it is really needed? -->
       <delete dir="${project.cocoon-work-dir}"/>
       <mkdir dir="${project.cocoon-work-dir}"/>
   
  @@ -608,17 +607,28 @@
               <exclude name="xslt/**"/>
             </fileset>
           </copy>
  -
  -      </sequential>
  -    </parallel>
  -    <echo>
  -------------------------------
  -Static site generated at:
  -  ${project.site-dir}
  -
  -Please check the file
  +        <!-- This place is our last chance to give them help messages.
  +             Hopefully Cocoon won't issue messages until these tasks are done.
  +         -->
  +        <echo>------------------------------
  +Static site will be generated at:
  +${project.site-dir}
  +
  +Note that there are various reasons for "build failed" messages.
  +* Cocoon will report the status of each document:
  +  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
  +* Even if only one link is broken, you will still get "failed".
  +* Your site would still be generated, but some pages would be broken.
  +* Please check the file:
   ${project.brokenlinkfile}
   for any broken links in the generated site.
  +------------------------------
  +        </echo>
  +      </sequential>
  +    </parallel>
  +    <echo>------------------------------
  +Static site was successfully generated at:
  +${project.site-dir}
   ------------------------------
       </echo>
     </target>
  
  
  

Mime
View raw message