🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
创建本地的FSFS文件系统 ``` java package com.ae.version.svn; import java.io.File; import org.tmatesoft.svn.core.SVNException; import org.tmatesoft.svn.core.SVNURL; import org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryFactoryImpl; import org.tmatesoft.svn.core.io.SVNRepositoryFactory; public class helloSvnkit { public static void main(String[] args) throws SVNException { System.out.println("hello svnkit"); try { SVNRepositoryFactoryImpl.setup(); String tgtPath = "E:/repos/svn/test"; SVNURL tgtURL = SVNRepositoryFactory.createLocalRepository( new File( tgtPath ), true , false ); } catch ( SVNException e ) { //handle exception } } } ```