private IAsset convertAsset(IAssetSpecification spec)
{
// AssetType type = spec.getType();
String path = spec.getPath();
Location location = spec.getLocation();
Resource specResource = location.getResource();
// And ugly, ugly kludge. For page and component specifications in the
// context (typically, somewhere under WEB-INF), we evaluate them
// relative the web application root.