Class RegmergeBuilder

java.lang.Object
org.libreoffice.ide.eclipse.core.builders.RegmergeBuilder

public class RegmergeBuilder extends Object
Builder for the URD files generating the types.rdb registry.

This builder should not be associated directly to a UNO project: the right builder for this is TypesBuilder. This builder doesn't make any difference between full and incremental builds.

  • Field Details

    • TYPE_ROOT_KEY

      public static final String TYPE_ROOT_KEY
      Root of the generated types, used by regmerge and javamaker. UCR is chosen for LibreOffice compatibility
      See Also:
  • Constructor Details

    • RegmergeBuilder

      public RegmergeBuilder()
  • Method Details

    • build

      public static void build(IUnoidlProject unoProject, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
      Computes the full build of all the urd files into a single types.rdb file. This resulting file is given by IUnoidlProject.getTypesPath(). This methods simply launches the RegmergeBuildVisitor on the urd folder.
      Parameters:
      unoProject - the project to build
      monitor - a monitor to watch the build progress
      Throws:
      Exception - is thrown is anything wrong happens