Class LauncherBase

java.lang.Object
org.jdrupes.builder.core.LauncherBase
Direct Known Subclasses:
AbstractLauncher

public class LauncherBase extends Object
The Class LauncherBase.
  • Field Details

  • Constructor Details

    • LauncherBase

      public LauncherBase()
      Initializes a new launcher base.
  • Method Details

    • context

      public static DefaultBuildContext context()
      Returns the context.
      Returns:
      the optional
    • createProjects

      protected static AbstractRootProject createProjects(Path buildRoot, Class<? extends RootProject> rootProject, List<Class<? extends Project>> subprojects, Properties jdbldProps, org.apache.commons.cli.CommandLine commandLine)
      Creates and initializes the root project and the sub projects. Adds the sub projects to the root project automatically. This method should be used if the launcher detects the sub projects e.g. by reflection and the root project does not add its sub projects itself.
      Parameters:
      buildRoot - the build root
      rootProject - the root project
      subprojects - the sub projects
      jdbldProps - the builder properties
      commandLine - the command line
      Returns:
      the root project