import org.argeo.api.cms.CmsConstants;
import org.argeo.api.cms.CmsLog;
-import org.argeo.cms.internal.runtime.InitUtils;
-import org.argeo.cms.internal.runtime.KernelConstants;
-import org.argeo.cms.internal.runtime.KernelUtils;
import org.argeo.util.directory.DirectoryConf;
import org.argeo.util.directory.ldap.AttributesDictionary;
import org.argeo.util.directory.ldap.LdifParser;
import org.osgi.service.cm.ConfigurationEvent;
/** Manages the LDIF-based deployment configuration. */
+@Deprecated
public class DeployConfig {
private final CmsLog log = CmsLog.getLog(getClass());
// private final BundleContext bc = FrameworkUtil.getBundle(getClass()).getBundleContext();
- private static Path deployConfigPath = KernelUtils.getOsgiInstancePath(KernelConstants.DEPLOY_CONFIG_PATH);
+ private static Path deployConfigPath;// = KernelUtils.getOsgiInstancePath(KernelConstants.DEPLOY_CONFIG_PATH);
private SortedMap<LdapName, Attributes> deployConfigs = new TreeMap<>();
// private final DataModels dataModels;
Files.createDirectories(deployConfigPath.getParent());
// FirstInit firstInit = new FirstInit();
- InitUtils.prepareFirstInitInstanceArea();
+ //InitUtils.prepareFirstInitInstanceArea();
if (!Files.exists(deployConfigPath))
deployConfigs = new TreeMap<>();