I tryed latest jar, but exception comes again. I check source and found that simple code
:
| try {
| SVNRepository repository =
connect("http://anonsvn.labs.jboss.com/labs/jbossrules/trunk");
| System.out.println(repository.getLocation().toString());
| Collection logEntries = repository.log(new String[] {
| ""
| }, null, 0L, repository.getLatestRevision(), true, false);
| }
| catch (Exception ex) {
| ex.printStackTrace();
| }
|
throws that exception
| org.tmatesoft.svn.core.SVNException: svn: REPORT of
'/!svn/bc/7012/labs/jbossrules/trunk': 400 Bad Request
(
http://anonsvn.labs.jboss.com)
| at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:43)
| at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.log(DAVRepository.java:487)
| at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:629)
| at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:919)
| at main.main(main.java:24)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
|
Exception throws
| Collection logEntries = repository.log(new String[] {
| ""
| }, null, 0L, repository.getLatestRevision(), true, false);
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979942#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...