String resourcePath = RelativePathUtility.get(root.getFileInfoAccessor(), blade.dir(), imageFile);
targetPath = cssResourceContentPathParser.createRequest(CssResourceContentPlugin.BLADE_RESOURCE_REQUEST, bladeset.getName(), blade.getName(), resourcePath);
}
}
else if(assetContainer instanceof Workbench) {
Workbench workbench = (Workbench) assetContainer;
Blade blade = workbench.parent();
Bladeset bladeset = blade.parent();
if (assetLocation instanceof ThemedAssetLocation && assetLocationParentDir.getName().equals("themes")) {
String resourcePath = RelativePathUtility.get(root.getFileInfoAccessor(), assetLocation.file("resources"), imageFile);
targetPath = cssResourceContentPathParser.createRequest(CssResourceContentPlugin.WORKBENCH_RESOURCE_REQUEST, bladeset.getName(), blade.getName(), resourcePath);
} else {
String resourcePath = RelativePathUtility.get(root.getFileInfoAccessor(), workbench.dir(), imageFile);
targetPath = cssResourceContentPathParser.createRequest(CssResourceContentPlugin.WORKBENCH_RESOURCE_REQUEST, bladeset.getName(), blade.getName(), resourcePath);
}
}
else if(assetContainer instanceof JsLib) {
JsLib jsLib = (JsLib) assetContainer;