Class BootstrapLauncher
java.lang.Object
org.jdrupes.builder.startup.AbstractLauncher
org.jdrupes.builder.startup.BootstrapLauncher
- All Implemented Interfaces:
Launcher
A default implementation of a
Launcher. The launcher first builds
the user's JDrupes Builder project, using the JDrupes Builder project
defined by BootstrapRoot and BootstrapBuild. The default action
of BootstrapRoot adds the results from the bootstrap build
to the classpath and launches the actual JDrupes Builder project.-
Field Summary
FieldsFields inherited from class AbstractLauncher
commandLine, jdbldProps -
Constructor Summary
ConstructorsConstructorDescriptionBootstrapLauncher(Class<? extends RootProject> rootPrjCls, String[] args) Instantiates a new bootstrap launcher. -
Method Summary
Methods inherited from class AbstractLauncher
baseOptions, findProjects, unwrapBuildException
-
Field Details
-
log
-
-
Constructor Details
-
BootstrapLauncher
Instantiates a new bootstrap launcher. An instance of the class passed as argument is created and used as root project for the build.
Unless the root project is the only project, the root project must declare dependencies, else the subprojects won't be instantiated.
- Parameters:
rootPrjCls- the root projectargs- the args
-
-
Method Details
-
provide
Description copied from interface:LauncherProvide the requested resources from the root project.- Type Parameters:
T- the requested type- Parameters:
request- the request- Returns:
- the stream
-
main
-