https://issues.apache.org/ooo/show_bug.cgi?id=123892

            Bug ID: 123892
        Issue Type: DEFECT
           Summary: Add script to simplify building OpenOffice from within
                    an IDE or editor
           Product: Build Tools
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to