assetLocation.root().logger(this.getClass()).debug("creating new asset for the path '%s'",
createdAsset.getAssetPath());
String assetPrimaryRequirePath = createdAsset.getPrimaryRequirePath();
if (createdAsset instanceof SourceModule && createdAsset.assetLocation().assetContainer().isNamespaceEnforced()) {
String relativePathFromAssetContainer = RelativePathUtility.get(assetLocation.root().getFileInfoAccessor(), createdAsset.assetLocation().assetContainer().dir(), createdAsset.dir());
String relativeRequirePathPathFromAssetContainer = StringUtils.substringAfter(relativePathFromAssetContainer, "/"); // strip of 'src/' at the start of the relative path
String appRequirePrefix = assetLocation.assetContainer().app().getRequirePrefix();
String createdAssetContainerRequirePrefix = createdAsset.assetLocation().assetContainer().requirePrefix();
if (relativeRequirePathPathFromAssetContainer.startsWith(appRequirePrefix) && !relativeRequirePathPathFromAssetContainer.startsWith(createdAssetContainerRequirePrefix)) {
InvalidRequirePathException wrappedRequirePathException = new InvalidRequirePathException(