serverDeployments = mcserver.getDeployments();
ManagedDeployment firstDeployment = null;
for(KernelDeployment kd : serverDeployments.values())
{
BootstrapDeployment deploymentUnit = new BootstrapDeployment(kd);
KernelDeploymentVisitor visitor = new KernelDeploymentVisitor();
try
{
visitor.deploy(deploymentUnit, kd);
}
catch(DeploymentException e)
{
log.debug("Failed to build ManagedDeployment for: "+kd, e);
continue;