Hi Everyone, I have been trying to find a way to retrieve all the logs from a specific apache project, for example the JMeter.
I also found that JMeter used to have the path of */jakarta/jmeter* and then it changed to */jmeter/* only. I have been using the following code: *for (String path : paths)* * {* * SvnLog log = svnOperationFactory.createLog();* * // log.setTargetPaths(paths);* * log.addTarget(SvnTarget.fromURL(SVNURL.parseURIEncoded(connector.getRepoUrl()* * + path)));* * log.addRange(SvnRevisionRange.create(SVNRevision.create(dataInicio),* * SVNRevision.create(dataFim)));* * log.setDiscoverChangedPaths(true);* * log.setDepth(SVNDepth.INFINITY);* * log.setUseMergeHistory(true);* * log.run(svnLogEntries);* * }* where path is an array containing the two paths {"jmeter/","jakarta/jmeter"}. The code retrieves all the logs from the path "jmeter/" (which are 2125 logs) however when it tries to get the logs from path "jakarta/jmeter" i get the following exception: *org.tmatesoft.svn.core.SVNException: svn: E160013: '/repos/asf/!svn/bc/1541295/jakarta/jmeter' path not found: 404 Not Found (http://svn.apache.org <http://svn.apache.org>)* * at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)* * at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)* * at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLocationsImpl(DAVRepository.java:1064)* * at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1088)* * at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1516)* * at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:178)* * at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)* * at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:160)* * at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:35)* * at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)* * at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)* * at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)* * at org.tmatesoft.svn.core.wc2.SvnReceivingOperation.run(SvnReceivingOperation.java:112)* * at br.ufrn.backhoe.repminer.miner.ComplexCodeMiner.findCommits(ComplexCodeMiner.java:108)* * at br.ufrn.backhoe.repminer.miner.ComplexCodeMiner.performMining(ComplexCodeMiner.java:77)* * at br.ufrn.backhoe.repminer.miner.Miner.executeMining(Miner.java:27)* * at br.ufrn.backhoe.repminer.ui.ComplexCodeMinerUI.main(ComplexCodeMinerUI.java:49)* I'm sure the that path have already existed, but I'm afraid that retrieving ALL the logs from apache svn repository is the only way to get those logs... Do you have any idea of how to get the logs when the project used to have the path "jakarta/jmeter"? All the best, -- Daniel Alencar da Costa