Apache OpenOffice (AOO) Bugzilla – Issue 123892
Add script to simplify building OpenOffice from within an IDE or editor
Last modified: 2013-12-20 12:40:48 UTC
Building OpenOffice requires several preconditions that are not trivial to fulfill from inside an editor or IDE. These precondiations are: - cd to the toplevel directory of a module - load the OpenOffice environment as defined in main/*[sS]et[eE]nv.sh - execute the 'build' alias defined in the same .sh file These steps can be done by one new script that can easily be called from an external application. One such call could look like: /usr/bin/bash -c <source-root-path>/main/solenv/bin/build-wrapper.sh <path-to-source-file-directory> build deploy run-office where main/solenv/bin/build-wrapper.sh would be the name of the new script, <path-to-source-file-directory> is the path to the currently edited file from which the name of the eclosing module is derived and build, deploy, and run-office are command names: build - run the 'build' alias deploy - run a yet-to-be written script that deploys updated libraries and resource files to an installed office run-office - start the installed office