[Laszlo-dev] For Review: Change 20071127-ben-H Summary: More work to unbreak the build

Benjamin Shine ben at laszlosystems.com
Tue Nov 27 17:42:30 PST 2007


Change 20071127-ben-H by ben at slim.local on 2007-11-27 17:38:51 PST
     in /Users/ben/src/svn/openlaszlo/trunk-work-11-27-07-noon
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: More work to unbreak the build

Bugs Fixed: broken nightly build

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

Documentation:
On the nightly build machines, the working directory is different  
from LPS_HOME.
The doc build task was trying to execute the doc build in the  
directory named
./docs/src.  That works when you invoke "ant doc" from $LPS_HOME, but  
not when
you invoke "ant doc" from another directory. This change explicitly  
sets the
directory in which to invoke the doc build to be $LPS_HOME/docs/src.

Tests:
The next nightly build should work, and build docs.


Files:
M      build.xml



Index: build.xml
===================================================================
--- build.xml   (revision 7396)
+++ build.xml   (working copy)
@@ -616,7 +616,7 @@
              msgTask.setMessage("------- skipping doc build because  
the doc doesn't build well on windows ------- ");
              msgTask.execute();
          } else {
-            var docSourceDir = new java.io.File("docs/src");
+            var docSourceDir = new java.io.File(lps.getProperty 
("basedir") + "/docs/src");
              var docSourcePath = docSourceDir.getAbsolutePath();
              msgTask.setMessage("-------  main build.xml is going to  
call build in " + docSourcePath + "-----" );
              msgTask.execute(); 


More information about the Laszlo-dev mailing list