/* */
/* 598 */ VirtualFile root = this.activeProfile.getRootFile(phase);
/* 599 */ if (log.isTraceEnabled())
/* 600 */ log.trace("applyTemplate, profile=" + this.activeProfile + ", deploymentBaseName=" + deploymentBaseName + ", phase=" + phase + ", info=" + info);
/* 601 */ VirtualFile vf = template.applyTemplate(root, deploymentBaseName, info);
/* 602 */ VFSDeployment ctx = this.deploymentFactory.createVFSDeployment(vf);
/* 603 */ this.activeProfile.addDeployment(ctx, phase);
/* 604 */ this.mainDeployer.addDeployment(ctx);
/* 605 */ template.updateTemplateDeployment(ctx, info);
/* 606 */ this.mainDeployer.process();
/* */
/* 609 */ Map mos = this.mainDeployer.getManagedObjects(ctx.getName());
/* 610 */ log.debug("applyTemplate, profile=" + this.activeProfile + ", deploymentBaseName=" + deploymentBaseName + ", phase=" + phase + ", :" + mos);
/* 611 */ for (ManagedProperty prop : info.getProperties().values())
/* */ {
/* 614 */ if (prop.getValue() == null) {
/* */ continue;