// project.
project = context.getCurrentProject();
}
}
RuntimePolicyReference reference =
referenceFactory.createLazyNormalizedReference(
project,
new MarinerURL(sAsset.getName()),
assetGroupName,
PolicyType.BASE_URL);
Policy policy = policyFetcher.fetchPolicy(reference);
AssetGroup group = null;
if (policy == null) {
logger.warn("asset-group-not-found",
new Object[]{reference.getName(), asset.getName()});
} else {
ActivatedBaseURLPolicy baseURL = (ActivatedBaseURLPolicy) policy;
group = new AssetGroup();
group.setProject(baseURL.getActualProject());