String resourceURL = resourceManager().pathURLForResourceNamed("empty",null,NSArray.EmptyArray).toString();
int beginIndex = resourceURL.indexOf("/Applications/");
int endIndex = resourceURL.indexOf(".woa/");
if (beginIndex>-1 && endIndex>-1){
// let's make the adjustment
setFrameworksBaseURL("/WebObjects/" + resourceURL.substring(beginIndex+14, endIndex) + ".woa/Frameworks");
}
}