Author: ben
Date: 2007-09-05 17:33:40 -0700 (Wed, 05 Sep 2007)
New Revision: 6369

Modified:
   openlaszlo/branches/wafflecone/docs/src/build.xml
Log:
Change 20070904-ben-t by [EMAIL PROTECTED] on 2007-09-04 10:52:29 PDT
    in /Users/ben/src/svn/openlaszlo/branches/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Add a doc build step to insert a disclaimer

New Features:

Bugs Fixed: LPP-4539 Put in a header in each page of reference guide saying 
"this is an alpha; please look elsewhere(link) for better docs"

Technical Reviewer: ptw
QA Reviewer: mkratt (pending)
Doc Reviewer: sundman (pending)

Documentation:

This change adds a step to the documentation build process to insert a 
disclaimer into every page of the reference manual saying, roughly,
please go use the 3.4 reference. After building the whole docs,
it calls the new ant target "reference.html.disclaimer" which in turn
calls a shell script in $LZ_TOOLS_ROOT which inserts the disclaimer
right after the header in every reference page. 

This change should NOT be merged back to legals; it should ONLY
be in wafflecone for the 4.0.5 release. 

The script invoked by this change is checked in to 
http://svn.openlaszlo.org/tools/trunk/injector/injector.sh

Release Notes:

Details:
    

Tests:
ant doc 
Look at http://localhost:8080/wafflecone/docs/reference/index.html
it should have a big pink disclaimer at the top. 



Modified: openlaszlo/branches/wafflecone/docs/src/build.xml
===================================================================
--- openlaszlo/branches/wafflecone/docs/src/build.xml   2007-09-06 00:00:17 UTC 
(rev 6368)
+++ openlaszlo/branches/wafflecone/docs/src/build.xml   2007-09-06 00:33:40 UTC 
(rev 6369)
@@ -11,6 +11,8 @@
     
   &build_opt;
 
+  <property environment="env"/>
+  
   <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
   <taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask"/>
   
@@ -760,6 +762,14 @@
       </copy>
   </target>
   
+  <target name="reference.html.disclaimer"
+      description="insert a disclaimer into each page of the reference">
+        <exec executable="bash" failonerror="true">
+            <arg value="${env.LZ_TOOLS_ROOT}/injector/injector.sh" />
+            <arg value="${reference.output.dir}" />
+        </exec>      
+  </target>
+  
   <!-- CONTRIBUTORS GUIDE -->
   
   <target name="contribref.dbk.build" 
depends="init,reference.js2doc.build,docbook.catalog.generate"
@@ -1303,7 +1313,7 @@
   -->
 
   <target name="build" description="Make the documentation"
-          depends="users,contributors"
+          depends="users,contributors,reference.html.disclaimer"
           unless="skip.doc"/> 
 
   <target name="clean" description="clean up generated files"


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to