Package org.opencms.setup
Class CmsAutoSetup
java.lang.Object
org.opencms.setup.CmsAutoSetup
A bean to perform a OpenCms setup automatically.
- Since:
- 9.0
-
Constructor Summary
ConstructorDescriptionA bean for a automatically performed setup of OpenCms. -
Method Summary
-
Constructor Details
-
CmsAutoSetup
A bean for a automatically performed setup of OpenCms.- Parameters:
props
- the properties to use
-
-
Method Details
-
main
Main program entry point when started via the command line.- Parameters:
args
- parameters passed to the application via the command line
-
initSetupBean
Initializes the setup bean with the auto setup properties. -
run
Performs the setup.- Throws:
Exception
- in case the setup fails
-
setupDB
Creates DB and tables when necessary.- Throws:
Exception
- in case creating DB or tables fails
-