[Laszlo-dev] For Review: Change 20071105-ben-M Summary: Add a check to only build doc if it hasn't already been built

Benjamin Shine ben at laszlosystems.com
Mon Nov 5 12:33:17 PST 2007


Change 20071105-ben-M by ben at slim.local on 2007-11-05 10:58:31 PST
     in /Users/ben/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add a check to only build doc if it hasn't already been built

New Features: faster distro build

Bugs Fixed: LPP-3720 Refguide is being built twice on build machines.

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

Documentation:
The dist-one target in build.xml previously built the documentation  
twice,
which slowed down the build by >20 minutes, depending on architecture.
This fix prevents the doc from building twice in the same invocation of
ant, by setting a property doc.build.done after building the docs.

Tests:
Run ant dist-one in the nightly build. Search for docs/reference/ 
index.html
in the output. Before this change, it appeared twice, indicating that  
the
docs had built twice. After this change, it only appears once,  
indicating
that the docs only built once.

Files:
M      build.xml

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071105-ben- 
M.tar


More information about the Laszlo-dev mailing list