Automating Setup of ATG Content Admin

When setting up ATG Content Admin for the first time one of the first steps to follow is to import a deployment topology and initialize with a first deployment. This is so that you are able to initialize deployments.

Both steps can be automated.

To import a deployment topology automatically we can set importAndInitializeTopologyOnStartup on the /atg/epub/DeploymentServer component to true and then specify deployment topology file on the topologyDefinitionFile property in the same component.

#/atg/epub/DeploymentServer
importAndInitializeTopologyOnStartup=true
topologyDefinitionFile=/atg/epub/deploymentTopology.xml

To automate the initial deployment some custom java code is required using the public methods in the DeploymentServer component.