hudson.scm
Class SubversionWorkspaceSelector

java.lang.Object
  extended by hudson.scm.SubversionWorkspaceSelector
All Implemented Interfaces:
org.tmatesoft.svn.core.internal.wc.admin.ISVNAdminAreaFactorySelector

public class SubversionWorkspaceSelector
extends java.lang.Object
implements org.tmatesoft.svn.core.internal.wc.admin.ISVNAdminAreaFactorySelector

ISVNAdminAreaFactorySelector that uses 1.4 compatible workspace for new check out, but still supports 1.5 workspace, if asked to work with it.

Since there are many tools out there that still don't support Subversion 1.5 (including all the major Unix distributions that haven't bundled Subversion 1.5), using 1.4 as the default would reduce the likelihood of the user running into "this SVN client can't work with this workspace version..." problem when using other SVN tools.

The primary scenario of this is the use of command-line SVN client, either from shell script, Ant, or Maven.

Author:
Kohsuke Kawaguchi

Constructor Summary
SubversionWorkspaceSelector()
           
 
Method Summary
 java.util.Collection getEnabledFactories(java.io.File path, java.util.Collection factories, boolean writeAccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubversionWorkspaceSelector

public SubversionWorkspaceSelector()
Method Detail

getEnabledFactories

public java.util.Collection getEnabledFactories(java.io.File path,
                                                java.util.Collection factories,
                                                boolean writeAccess)
                                         throws org.tmatesoft.svn.core.SVNException
Specified by:
getEnabledFactories in interface org.tmatesoft.svn.core.internal.wc.admin.ISVNAdminAreaFactorySelector
Throws:
org.tmatesoft.svn.core.SVNException


Copyright © 2010. All Rights Reserved.