If i try to add svn://user:password@svnpublic/repo in portlet.xml, receve this message in Jboss console:
at java.lang.Thread.run(Thread.java:595)
18:54:44,106 INFO [STDOUT] 18:54:44,106 INFO [MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.svn://user:password@svnpublic/repo"...
18:54:44,106 INFO [STDOUT] 18:54:44,106 ERROR [SvnServiceImpl] Unable to process the SVN repo
java.net.MalformedURLException: unknown protocol: svn
at java.net.URL.(URL.java:574)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at hu.midori.kosmos.server.util.UrlUtils.parseUserInfoFromUrl(UrlUtils.j
ava:48)
at hu.midori.kosmos.server.svn.SvnServiceImpl.connect(SvnServiceImpl.jav
a:121)
at hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories(SvnService
Impl.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
........
I have resolved the problem duplicating the class hu.midori.kosmos.server.util.UrlUtils in hu.midori.kosmos.server.util.SVNUrlUtils, replacing the occurrences of java.net.URL, with org.tmatesoft.svn.core.SVNURL end replacing the occurency of hu.midori.kosmos.server.util.UrlUtils in org.tmatesoft.svn.core.SvnServiceImpl with hu.midori.kosmos.server.util.SVNUrlUtils.
This is workaround that it allows to work with "repository" svn.
Oops, this is a serious issue. Thanks for catching it.
Could you post this report to our JIRA?