Integrazione con altre applicazioni > Gestione di software integrato > Integrazione dei componenti aggiuntivi per la gestione della configurazione del software > Installazione e configurazione > Installazione e configurazione del client > Installazione e configurazione di Subversion > Procedure di manutenzione > Come riconfigurare un adattatore remoto Subversion
  
Come riconfigurare un adattatore remoto Subversion
Prima di riconfigurare un adattatore remoto Subversion, vedere Utilizzo di un adattatore come client remoto per imparare a utilizzare un adattatore Subversion come client remoto.
Riconfigurare l'adattatore remoto Subversion al termine della creazione di tutti i nuovi adattatori remoti Subversion, incluso l'adattatore di default, nell'utilità Amministrazione adattatori.
* 
Per istruzioni su come ricreare gli adattatori Subversion, incluso l'adattatore di default, fare riferimento a Creazione di un adattatore.
1. Accedere alla pagina Software scaricabile dall'elenco a discesa Link rapidi di Windchill.
2. Copiare il file svn.zip per Windchill 10.2 dalla pagina dei download software di PTC nel computer client.
3. Copiare il file startSVNAdapter.bat disponibile nell'archivio svn.zip nella directory < ADAPTER_HOME >.
File startSVNAdapter.bat di esempio:
@echo off
rem Start up script for Windchill Integrations for
rem Embedded Software Subversion Adapter

rem *****************************************
rem User configured properties
rem set JAVA_HOME to the install location of the JDK
set JAVA_HOME=
rem set ADAPTER_HOME to the directory where the file svn.zip was extracted
set ADAPTER_HOME=
rem ADAPTER_NAME should be the set to the name of Subversion adapter you created
rem in Windchill Integrations for Embedded Software.
set ADAPTER_NAME=$WC.com.ptc.swlink.scm.defaultAdapter$
rem *****************************************

rem IEPROPFILE should look like..
rem ldap://cn=manager:manager@test.ptc.com/dc=IeProps,dc=test...
rem and should be the same as 'seeAlso' value seen in the file
rem WT_HOME\codebase\WEB-INF\ie.properties
set IEPROPFILE=$WC.com.ptc.swlink.scm.iepropfile$
rem IENAMINGSERVICENAME should be the same as the value of
rem wt.federation.ie.namingService
rem in WT_HOME\codebase\wt.properties
set IENAMINGSERVICENAME=$WC.com.ptc.swlink.scm.ccConfig.host2$.namingService
set SCM_HOME=%ADAPTER_HOME%
set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\servlet.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\ie3rdpartylibs.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\ieWeb.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\jmxcoreWeb.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\wc3rdpartylibs.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\CommonCore.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\MetaSpecCommon.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\svn.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\install.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%;%CLASSPATH%
title SCM Adapter
echo -------------------------------------------------------------------------------
echo Starting SCM Adapter
echo.
echo JAVA_HOME = %JAVA_HOME%
echo ADAPTER_HOME = %ADAPTER_HOME%
echo ADAPTER_NAME = %ADAPTER_NAME%
echo.
echo CLASSPATH = %CLASSPATH%
echo.
if not exist %JAVA_HOME%\bin\java.exe (
echo ERROR: Cannot find Java command - check JAVA_HOME value
echo.
pause
exit
)
if not exist %ADAPTER_HOME% (
echo ERROR: %ADAPTER_HOME% does not exist - check ADAPTER_HOME value
echo.
pause
exit
)
rem The following line starts the scm adapter as a standalone process
%JAVA_HOME%\bin\java.exe -cp "%CLASSPATH%" -DpropFile="%IEPROPFILE%"
-DruntimeServiceName="%ADAPTER_NAME%" -DserviceName="%ADAPTER_NAME%"
-DnamingServiceName="%IENAMINGSERVICENAME%" -Dwt.home="%SCM_HOME%"
com.ptc.swlink.scm.adapter.clearcase.CcMultithreadedAdapter
pause
4. Modificare il file startSVNAdapter.bat e specificare i seguenti valori:
ADAPTER_HOME: specificare la directory in cui sono stati estratti tutti i file jar dall'archivio svn.zip. Ad esempio:
set ADAPTER_HOME=D:\SVN-OOP
JAVA_HOME: specificare la posizione di JDK sul computer in cui risiede l'adattatore Subversion. Sul computer client deve essere installato JDK versione 1.7.
Ad esempio:
set JAVA_HOME=c:\jdk\jdk1.7_0
ADAPTER_NAME: specificare il nome dell'adattatore Subversion creato in Windchill.
Ad esempio:
set ADAPTER_NAME=$WC.com.ptc.swlink.scm.defaultAdapter$
* 
Verificare inoltre che IEPROPFILE e IENAMINGSERVICENAME dispongano di valori corretti come descritto nei commenti del file startSVNAdapter.bat.
5. Utilizzando il file startSVNAdapter.bat, avviare l'adattatore Subversion sul computer in cui risiede.
6. Dopo l'avvio dell'adattatore Subversion, avviare il server Windchill, motore servlet. L'adattatore sarà stato configurato correttamente e in esecuzione in modalità remota.