mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Point checkin.
Reorg to allow sandbox-related constants to be accessed more easily from other compilation units. AVMConstants had become a dumping ground for things that had nothing to do with const values. Therefore, this is now AVMUtil, and sandbox-related constants have been moved to org.alfresco.sandbox.SandboxConstants, which builds in repository. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -189,11 +189,11 @@ public class EditWebsiteWizard extends CreateWebsiteWizard
|
||||
// change/create the root webapp name for the website
|
||||
if (this.webapp != null && this.webapp.length() != 0)
|
||||
{
|
||||
String stagingStore = AVMConstants.buildStagingStoreName(this.dnsName);
|
||||
String webappPath = AVMConstants.buildStoreWebappPath(stagingStore, this.webapp);
|
||||
String stagingStore = AVMUtil.buildStagingStoreName(this.dnsName);
|
||||
String webappPath = AVMUtil.buildStoreWebappPath(stagingStore, this.webapp);
|
||||
if (this.avmService.lookup(-1, webappPath) == null)
|
||||
{
|
||||
this.avmService.createDirectory(AVMConstants.buildSandboxRootPath(stagingStore), this.webapp);
|
||||
this.avmService.createDirectory(AVMUtil.buildSandboxRootPath(stagingStore), this.webapp);
|
||||
}
|
||||
this.nodeService.setProperty(nodeRef, WCMAppModel.PROP_DEFAULTWEBAPP, this.webapp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user