protected String getTargetPath() { return getRelativePath(myTargetPath); }
public void handleInfo(SVNInfo info) throws SVNException { try { sendToHandler(info); } catch (SAXException e) { e.printStackTrace(); } }
private void sendToHandler(SVNInfo info) throws SAXException { addAttribute(KIND_ATTR, info.getKind().toString()); if (info.getFile() != null) { addAttribute(PATH_ATTR, getRelativePath(info.getFile())); } else if (info.getPath() != null){ addAttribute(PATH_ATTR, info.getPath()); addAttribute(REVISION_ATTR, info.getRevision().toString()); openTag(ENTRY_TAG); if (info.getURL() != null) { addTag(URL_TAG, info.getURL().toString()); openTag(REPOSITORY_TAG); if (rootURL != null) { addTag(ROOT_TAG, rootURL.toString()); addTag(UUID_TAG, uuid); closeTag(REPOSITORY_TAG); openTag(WC_INFO_TAG); String schedule = info.getSchedule(); if (schedule == null || "".equals(schedule)) { schedule = "normal"; addTag(SCHEDULE_TAG, schedule); if (info.getCopyFromURL() != null) { addTag(COPY_FROM_URL_TAG, info.getCopyFromURL().toString()); addTag(COPY_FROM_REVISION_TAG, info.getCopyFromRevision().toString());
/** * Handles info producing corresponding xml. * * @param info info * @throws SVNException */ public void handleInfo(SVNInfo info) throws SVNException { try { sendToHandler(info); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } }
private void sendToHandler(SVNInfo info) throws SAXException { addAttribute(KIND_ATTR, info.getKind().toString()); if (info.getFile() != null) { addAttribute(PATH_ATTR, getRelativePath(info.getFile())); } else if (info.getPath() != null){ addAttribute(PATH_ATTR, info.getPath()); addAttribute(REVISION_ATTR, info.getRevision().toString()); openTag(ENTRY_TAG); if (info.getURL() != null) { addTag(URL_TAG, info.getURL().toString()); openTag(REPOSITORY_TAG); if (rootURL != null) { addTag(ROOT_TAG, rootURL.toString()); addTag(UUID_TAG, uuid); closeTag(REPOSITORY_TAG); openTag(WC_INFO_TAG); String schedule = info.getSchedule(); if (schedule == null || "".equals(schedule)) { schedule = "normal"; addTag(SCHEDULE_TAG, schedule); if (info.getDepth() != null) { addTag(DEPTH_TAG, info.getDepth().getName()); addTag(COPY_FROM_URL_TAG, info.getCopyFromURL().toString());
/** * Handles info producing corresponding xml. * * @param info info * @throws SVNException */ public void handleInfo(SVNInfo info) throws SVNException { try { sendToHandler(info); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } }
private void sendToHandler(SVNInfo info) throws SAXException { addAttribute(KIND_ATTR, info.getKind().toString()); if (info.getFile() != null) { addAttribute(PATH_ATTR, getRelativePath(info.getFile())); } else if (info.getPath() != null){ addAttribute(PATH_ATTR, info.getPath()); addAttribute(REVISION_ATTR, info.getRevision().toString()); openTag(ENTRY_TAG); if (info.getURL() != null) { addTag(URL_TAG, info.getURL().toString()); openTag(REPOSITORY_TAG); if (rootURL != null) { addTag(ROOT_TAG, rootURL.toString()); addTag(UUID_TAG, uuid); closeTag(REPOSITORY_TAG); openTag(WC_INFO_TAG); String schedule = info.getSchedule(); if (schedule == null || "".equals(schedule)) { schedule = "normal"; addTag(SCHEDULE_TAG, schedule); if (info.getDepth() != null) { addTag(DEPTH_TAG, info.getDepth().getName()); addTag(COPY_FROM_URL_TAG, info.getCopyFromURL().toString());
/** * Handles info producing corresponding xml. * * @param info info * @throws SVNException */ public void handleInfo(SVNInfo info) throws SVNException { try { sendToHandler(info); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } }
protected String getTargetPath() { return getRelativePath(myTargetPath); }
private void sendToHandler(SVNInfo info) throws SAXException { addAttribute(KIND_ATTR, info.getKind().toString()); if (info.getFile() != null) { addAttribute(PATH_ATTR, getRelativePath(info.getFile())); } else if (info.getPath() != null){ addAttribute(PATH_ATTR, info.getPath()); addAttribute(REVISION_ATTR, info.getRevision().toString()); openTag(ENTRY_TAG); if (info.getURL() != null) { addTag(URL_TAG, info.getURL().toString()); openTag(REPOSITORY_TAG); if (rootURL != null) { addTag(ROOT_TAG, rootURL.toString()); addTag(UUID_TAG, uuid); closeTag(REPOSITORY_TAG); openTag(WC_INFO_TAG); String schedule = info.getSchedule(); if (schedule == null || "".equals(schedule)) { schedule = "normal"; addTag(SCHEDULE_TAG, schedule); if (info.getDepth() != null) { addTag(DEPTH_TAG, info.getDepth().getName()); addTag(COPY_FROM_URL_TAG, info.getCopyFromURL().toString());
protected String getTargetPath() { return getRelativePath(myTargetPath); }
protected String getTargetPath() { return getRelativePath(myTargetPath); }