protected void setExtendedViewPath( VariableResolver<String> variableResolver, ClearTool ct, AbstractHistoryAction action) { try { String viewPath = getViewPath(variableResolver); String pwv = ct.pwv(viewPath); if (pwv != null) { if (pwv.contains("/")) { pwv += "/"; } else { pwv += "\\"; } action.setExtendedViewPath(pwv); } } catch (Exception e) { Logger.getLogger(AbstractClearCaseScm.class.getName()) .log(Level.WARNING, "Exception when running 'cleartool pwv'", e); } }