Package org.tmatesoft.svn.core.wc

Examples of org.tmatesoft.svn.core.wc.SVNClientManager.dispose()


        }

        @Override
        public void destroyObject(final PooledObject<SVNClientManager> p) throws Exception {
            final SVNClientManager m = p.getObject();
            m.dispose();
        }

    }

    public static ObjectPool<SVNClientManager> clientManagerPool() {
View Full Code Here


                    changes.append(String.format(" in %d ms new revision: r%d", elapsed, info.getNewRevision()));
                    logger.debug(changes.toString());
                }
            }
        } finally {
            userClientManager.dispose();
        }
    }


    /**
 
View Full Code Here

        Assert.assertNotNull(firstEntry.getDate());
        final MetadataAction lastEntry = metadataActionList.get(metadataActionList.size() - 1);
        Assert.assertEquals('D', lastEntry.getAction());
        Assert.assertEquals("all", lastEntry.getSubject());

        ourClientManager.dispose();
    }

    public void testTitleAdding() throws SVNException, IOException, JDOMException {
        SVNClientManager ourClientManager = SVNClientManager.newInstance();
        // checkout working copy
View Full Code Here

                SVNLogClient svnlc = manager.getLogClient();
                PathContext context = getUrlForPath(workspace.child(l.getLocalDir()), authProvider);
                context.moduleWorkspacePath = l.getLocalDir();
                changelogFileCreated |= buildModule(context, svnlc, logHandler);
            } finally {
                manager.dispose();
            }
        }
        ISVNAuthenticationProvider authProvider =
                CredentialsSVNAuthenticationProviderImpl
                        .createAuthenticationProvider(build.getParent(), scm, null);
View Full Code Here

                PathContext context = getUrlForPath(workspace.child(ext.path), authProvider);
                context.moduleWorkspacePath = ext.path;
                changelogFileCreated |= buildModule(context, svnlc, logHandler);
            }
        } finally {
            manager.dispose();
        }

        if(changelogFileCreated) {
            logHandler.endDocument();
        }
View Full Code Here

            public void handleLogEntry(SVNLogEntry logEntry)
                throws SVNException {
              ret.add(new Commit(project, logEntry));
            }
          });
      clientManager.dispose();
      return ret;
    } catch (SVNException e) {
      log.error("Unable to refresh data from svn: {} {}", e.getClass()
          .getSimpleName(), e.getMessage());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.