Integration with Other Applications > Integrated Software Management > Software Configuration Management Integrations > Installation and Configuration > Client Installation and Configuration > Subversion Installation and Configuration > Maintenance Procedures > How to Reconfigure a Subversion Remote Adapter
  
How to Reconfigure a Subversion Remote Adapter
Before reconfiguring a Subversion remote adapter, see, Using a Subversion Adapter as a Remote Client to learn the steps required in using a Subversion adapter as a remote client.
Reconfigure the remote Subversion adapter after you have created any new Subversion remote adapters, including the default adapter, in the Adapters Administration utility.
* 
For instructions on how to recreate Subversion adapters, including the default adapter, refer to Creating an Adapter.
1. Access the Software Downloads page from the Windchill Quick Links drop-down list.
2. Copy the svn.zip file for Windchill 10.2 from the PTC software downloads page to the client machine.
3. Copy startSVNAdapter.bat contained in svn.zip to the <ADAPTER_HOME> directory.
Example startSVNAdapter.bat file:
@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. Edit the startSVNAdapter.bat file and specify the following values:
ADAPTER_HOME— specify the directory where all the jar files from svn.zip file were extracted. For example:
set ADAPTER_HOME=D:\SVN-OOP
JAVA_HOME— specify the location of JDK (on the machine where the Subversion adapter resides). JDK version 1.7 should be installed on the client machine.
For example,
set JAVA_HOME=c:\jdk\jdk1.7_0
ADAPTER_NAME— specify the name of the Subversion adapter that created in Windchill.
For example,
set ADAPTER_NAME=$WC.com.ptc.swlink.scm.defaultAdapter$
* 
Also verify that IEPROPFILE and IENAMINGSERVICENAME all have correct values as described in the comments of the startSVNAdapter.bat file.
5. Using the startSVNAdapter.bat file, start the Subversion adapter on the machine where it resides.
6. Once the Subversion adapter is started, start the Windchill server, servlet engine. The adapter should now be successfully configured and running remotely.