Getting a minimal workenvironment for CWS handling at OpenOffice.org (Part 2)
There was an interesting posting from Thorsten Bosbach some time ago about setting up a minimal work environment.
In the meantime the configure scripts moved from the subdirectory config_office to the root of the OpenOffice.org source tree, so some minor adoptions need to be done for getting the minimal work environment set up again. Since in subversion there in no chance anymore to have single file under revision control we need to use the "svn export" workaround to get the new top level configure scripts. For a detailed list of files needed to set up the environment please have a look into my script for automating this.
The OpenOffice.org configure script is designed to set up the build environment of all the OpenOffice.org stuff needed for generated to complete product and not all of these settings a currently switchable by the configure script. For Unix, the X11 Development Header (and libraries) still needed to be installed, including such libs as freetype. But if these are available, just the Archive::Zip modules for perl is needed at the moment. For Windows, the situation is worse. There are many prerequisites, e.g. msi tools, macro assembler, platform SDK and many more, which can't be disabled by configure at the moment, so a minimal set up of the build environment is difficult to achieve.
Since the bash now have a new >>& redirection operator, which appends the standard output and standard error to the named file and also the parser now understands `|&' as a synonym for `2>&1 |', which redirects the standard error for a command through a pipe we really should use bash as the default shell to make the "--with-use-shell=bash" switch obsolete.
No surprise, this minimal build environment can't only be used for the testautomation module, but also for all the dictionaries provided as extensions (svn co svn://svn.services.openoffice.org/ooo/trunk/dictionaries; cd dictionaries; build) and the extras modules (example documents and templates).