If you would like to have the default configuration area in a place different from the SVN default one, you should provide a preferred path to the config directory like this:
import org.tmatesoft.svn.core.wc.ISVNOptions; import org.tmatesoft.svn.core.wc.SVNClientManager; ... File defaultConfigDir = new File("way/to/your/config/dir"); ISVNOptions options = SVNWCUtil.createDefaultOptions(defaultConfigDir, true); SVNClientManager clientManager = SVNClientManager.newInstance(options, "name", "password"); ...
Read also this Subversion book chapter on runtime configuration area. @version 1.3 @author TMate Software Ltd. @since 1.2 @see SVNWCUtil @see Examples
If you would like to have the default configuration area in a place different from the SVN default one, you should provide a preferred path to the config directory like this:
import org.tmatesoft.svn.core.wc.ISVNOptions; import org.tmatesoft.svn.core.wc.SVNClientManager; ... File defaultConfigDir = new File("way/to/your/config/dir"); ISVNOptions options = SVNWCUtil.createDefaultOptions(defaultConfigDir, true); SVNClientManager clientManager = SVNClientManager.newInstance(options, "name", "password"); ...
Read also this Subversion book chapter on runtime configuration area. @version 1.3 @author TMate Software Ltd. @since 1.2 @see SVNWCUtil @see Examples
|
|