Hello,
You'll need to set ISVNEventHandler instance on SVNUpdateClient or on
the SVNClientManager:
SVNClientManager cm = SVNClientManager.newInstance();
cm.setEventHandler(new ISVNEventHandler() {
public void handleEvent(SVNEvent event, double progress)
throws SVNException {
System.out.println(event.getFile());
}
public void checkCancelled() throws SVNCancelException {
// throw SVNCancelException exception from here if user
// have decided to cancel an operation.
}
});
cm.getUpdateClient().doExport(...);
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!
On 10 October 2011 13:23, rapidrelease <[email protected]> wrote:
>
> Hi!
>
> I am using the SVNUpdateClient.doExport() method to export big svn
> repositories.
>
> I now have to display which files have been written to to harddrive, while
> the exporting is still ongoing. (just like it is displayed during an export
> when using tortoisesvn).
>
> I need this so that the users see that something (the correct thing) is
> happening when they are exporting large repositories.
>
> How would i do this?
>
> Thanks!
>
> --
> View this message in context:
> http://old.nabble.com/SVNUpdateClient.doExport%28%29-...-status-feedback-during-operation--tp32622820p32622820.html
> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>
>
>