The only pure Java Subversion library in the world!
Home Get Library Knowledge Base Licensing

General options

Like the SVN command line client JavaSVN Working Copy managment classes (org.tmatesoft.svn.core.wc) use global run-time configuration options. ISVNOptions is the interface of an options driver used to manage those options.

Providing an options driver

An ISVNOptions object is provided to either an SVN*Client's constructor or, when using a single SVNClientManager, to the client manager's newInstance() method.

Default Options

If you haven't special needs to implement a custom run-time config options driver you can use a default one. Use the SVNWCUtil class to get a default options driver (read javadoc).

In short: if you are getting a default options driver not providing a run-time config directory, the driver uses the SVN's default run-time configuration area (settings are taken from and stored in the config file). Otherwise you may provide a preferred config directory, and a default driver will first try to seek for all necessary config files (config, servers) in that directory. If any one of them does not exist the driver will create a new one.



If you have any questions regarding JavaSVN, would like to report a bug or contribute a patch, please write to support@tmatesoft.com