Tabnine Logo
SVNXMLLogHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
constructor

Best Java code snippets using org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler.<init> (Showing top 2 results out of 315)

origin: org.jvnet.hudson.plugins/subversion

public boolean run(Collection<SubversionSCM.External> externals, Result changeLog) throws IOException, InterruptedException {
  boolean changelogFileCreated = false;
  final SVNClientManager manager = SubversionSCM.createSvnClientManager(build.getProject());
  try {
    SVNLogClient svnlc = manager.getLogClient();
    TransformerHandler th = createTransformerHandler();
    th.setResult(changeLog);
    SVNXMLLogHandler logHandler = new SVNXMLLogHandler(th);
    // work around for http://svnkit.com/tracker/view.php?id=175
    th.setDocumentLocator(DUMMY_LOCATOR);
    logHandler.startDocument();
    for (ModuleLocation l : scm.getLocations(build)) {
      changelogFileCreated |= buildModule(l.getURL(), svnlc, logHandler);
    }
    for(SubversionSCM.External ext : externals) {
      changelogFileCreated |= buildModule(
          getUrlForPath(build.getWorkspace().child(ext.path)), svnlc, logHandler);
    }
    if(changelogFileCreated) {
      logHandler.endDocument();
    }
    return changelogFileCreated;
  } finally {
    manager.dispose();
  }
}
origin: org.hudsonci.plugins/subversion

public boolean run(Collection<SubversionSCM.External> externals, Result changeLog) throws IOException, InterruptedException {
  boolean changelogFileCreated = false;
  final SVNClientManager manager = SubversionSCM.createSvnClientManager(build.getProject());
  try {
    SVNLogClient svnlc = manager.getLogClient();
    TransformerHandler th = createTransformerHandler();
    th.setResult(changeLog);
    SVNXMLLogHandler logHandler = new SVNXMLLogHandler(th);
    // work around for http://svnkit.com/tracker/view.php?id=175
    th.setDocumentLocator(DUMMY_LOCATOR);
    logHandler.startDocument();
    for (ModuleLocation l : scm.getLocations(build)) {
      changelogFileCreated |= buildModule(l.getURL(), svnlc, logHandler);
    }
    for(SubversionSCM.External ext : externals) {
      changelogFileCreated |= buildModule(
          getUrlForPath(build.getWorkspace().child(ext.path)), svnlc, logHandler);
    }
    if(changelogFileCreated) {
      logHandler.endDocument();
    }
    return changelogFileCreated;
  } finally {
    manager.dispose();
  }
}
org.tmatesoft.svn.core.wc.xmlSVNXMLLogHandler<init>

Javadoc

Creates a new log handler.

Popular methods of SVNXMLLogHandler

  • addAttribute
  • addTag
  • closeTag
  • openTag
  • sendToHandler
  • endDocument
  • startDocument

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JFrame (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now