code: private void createAndLockDescriptorFile() throws CmsException {
  
          String sitePath = m_sitepath + m_basename + CmsMessageBundleEditorTypes.Descriptor.POSTFIX;
          m_desc = m_cms.createResource(
              sitePath,
              OpenCms.getResourceManager().getResourceType(CmsMessageBundleEditorTypes.BundleType.DESCRIPTOR.toString()));
          m_descFile = LockedFile.lockResource(m_cms, m_desc);
          m_descFile.setCreated(true);
      }
docs: Creates a descriptor for the bundle in the same folder where the bundle files are located.
  @throws CmsException thrown if creation fails.