return lookupAbsolutePath(component, new Reference(attribute), defval, baseDir, mandatory, platform);
Object pathAttr = component.sfResolve(attribute, mandatory); if (pathAttr == null) {  return defval; } if (pathAttr instanceof FileIntf) {    Prim fileAsPrim = (Prim) pathAttr; String path = fileAsPrim.sfResolve(FileUsingComponent.ATTR_ABSOLUTE_PATH, (String) null, true); return path; } if (pathAttr instanceof String) {    String filename = (String) pathAttr; if (platform == null) { platform = PlatformHelper.getLocalPlatform(); } filename = platform.convertFilename(filename); File newfile;  if (baseDir != null) { newfile = new File(baseDir, filename); } else { newfile = new File(filename); } String path = newfile.getAbsolutePath(); return path; }      Reference owner; owner = ComponentHelper.completeNameSafe(component); if (pathAttr instanceof ComponentDescription) { ComponentDescription cd = (ComponentDescription) pathAttr; throw new SmartFrogResolutionException(ERROR_UNDEPLOYED_CD + cd); }  throw new SmartFrogResolutionException(attribute, owner, MessageUtil.formatMessage(SmartFrogResolutionException.MSG_ILLEGAL_CLASS_TYPE) + " : " + pathAttr.getClass().toString() + " - " + pathAttr);
    public static String lookupAbsolutePath(Prim component,                                            String attribute,                                            String defval,                                            File baseDir,                                            boolean mandatory,                                            PlatformHelper platform)            throws SmartFrogResolutionException, RemoteException {        return lookupAbsolutePath(component,                new Reference(attribute),                defval,                baseDir,                mandatory,                platform);    }