public ISVNOptions getOptions() { if (options == null) { File configDir = this.configDir == null ? null : new File(this.configDir); options = SVNWCUtil.createDefaultOptions(configDir, true); options.setConflictHandler(getConflictHandler()); } return options; }
public ISVNOptions getOptions() { if (myOptions == null) { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); } return myOptions; }
public ISVNOptions getOptions() { if (myOptions == null) { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); } return myOptions; }
public ISVNOptions getOptions() { if (myOptions == null) { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); } return myOptions; }
options.setConflictHandler(null); } else { if (myIsNonInteractive) { options.setConflictHandler(new SVNCommandLineConflictHandler(myResolveAccept, this));
options.setConflictHandler(null); } else { if (myIsNonInteractive) { options.setConflictHandler(new SVNCommandLineConflictHandler(myResolveAccept, this));
private void updateClientManager() { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); myAuthenticationManager = SVNWCUtil.createDefaultAuthenticationManager(configDir, myUserName, myPassword, myOptions.isAuthStorageEnabled()); if (myPrompt != null) { myAuthenticationManager.setAuthenticationProvider(new JavaHLAuthenticationProvider(myPrompt)); } else { myAuthenticationManager.setAuthenticationProvider(null); } if (myAuthenticationManager instanceof DefaultSVNAuthenticationManager) { ((DefaultSVNAuthenticationManager)myAuthenticationManager).setRuntimeStorage(getClientCredentialsStorage()); } if (myClientManager != null) { myClientManager.dispose(); myClientManager.setAuthenticationManager(myAuthenticationManager); myClientManager.setOptions(myOptions); } }
private void updateClientManager() { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); myAuthenticationManager = SVNWCUtil.createDefaultAuthenticationManager(configDir, myUserName, myPassword, myOptions.isAuthStorageEnabled()); if (myPrompt != null) { myAuthenticationManager.setAuthenticationProvider(new JavaHLAuthenticationProvider(myPrompt)); } else { myAuthenticationManager.setAuthenticationProvider(null); } if (myAuthenticationManager instanceof DefaultSVNAuthenticationManager) { ((DefaultSVNAuthenticationManager)myAuthenticationManager).setRuntimeStorage(getClientCredentialsStorage()); } if (myClientManager != null) { myClientManager.dispose(); myClientManager.setAuthenticationManager(myAuthenticationManager); myClientManager.setOptions(myOptions); } }
private void updateClientManager() { File configDir = myConfigDir == null ? null : new File(myConfigDir); myOptions = SVNWCUtil.createDefaultOptions(configDir, true); myOptions.setConflictHandler(getConflictHandler()); myAuthenticationManager = SVNWCUtil.createDefaultAuthenticationManager(configDir, myUserName, myPassword, myOptions.isAuthStorageEnabled()); if (myPrompt != null) { myAuthenticationManager.setAuthenticationProvider(new JavaHLAuthenticationProvider(myPrompt)); } else { myAuthenticationManager.setAuthenticationProvider(null); } if (myAuthenticationManager instanceof DefaultSVNAuthenticationManager) { ((DefaultSVNAuthenticationManager)myAuthenticationManager).setRuntimeStorage(getClientCredentialsStorage()); } if (myClientManager != null) { myClientManager.dispose(); myClientManager.setAuthenticationManager(myAuthenticationManager); myClientManager.setOptions(myOptions); } }
private void updateSvnOperationsFactory() { //TODO: use tunnelAgent File configDir = this.configDir == null ? null : new File(this.configDir); options = SVNWCUtil.createDefaultOptions(configDir, true); options.setConflictHandler(conflictHandler); options.setConfigEventHandler(getConfigEventHandler(configHandler)); authenticationManager = SVNWCUtil.createDefaultAuthenticationManager(configDir, username, password, options.isAuthStorageEnabled()); if (prompt != null) { authenticationManager.setAuthenticationProvider(new JavaHLAuthenticationProvider(prompt)); } else { authenticationManager.setAuthenticationProvider(null); } if (authenticationManager instanceof DefaultSVNAuthenticationManager) { ((DefaultSVNAuthenticationManager) authenticationManager).setRuntimeStorage(getClientCredentialsStorage()); } if (svnOperationFactory != null) { svnOperationFactory.setAuthenticationManager(authenticationManager); svnOperationFactory.setOptions(options); svnOperationFactory.setEventHandler(getEventHandler()); } }
if (opts instanceof DefaultSVNOptions) { conflictHandler[0] = ((DefaultSVNOptions) opts).getConflictResolver(); ((DefaultSVNOptions) opts).setConflictHandler(new ISVNConflictHandler() { public SVNConflictResult handleConflict(SVNConflictDescription conflictDescription) throws SVNException { SVNConflictResult result = conflictHandler[0] == null ? ((DefaultSVNOptions) opts).setConflictHandler(conflictHandler[0]);