When upgrading the Repository Connector to a newer or latest version, it is important to complete the steps outlined in this document for a successful upgrade with no disruption to translation work in progress.
- Stop the previous version.
- To stop the Repository Connector, run from your repo-connector folder:
java -jar repo-connector-1.5.10.jar -stop
- To stop the Repository Connector, run from your repo-connector folder:
- Back-up the current configuration files.
- Copy
repo-connector.conf
,logback.xml
,smartling-config.json
(optional) and store them somewhere you can access for step 5. - By default, these config files are located in
[repository connector directory]/cfg
.
- Copy
- Clean repository connector directory
- Delete all files from [repository connector directory].
- Download a new version.
- Download the Repository Connector package and unpack it into the desired folder.
- Replace the default configuration with the config files from back-up
- Start the new version.
- Replace config files with previously stored and start the Repository Connector via execution:
java -jar repo-connector-1.7.11.jar -start
- If you have saved your configuration files in a folder other than the default
(/cfg)
add the parameter-configuration <folder_name>
to the command.
- Replace config files with previously stored and start the Repository Connector via execution:
Note: The connector will check out all configured repositories and re-upload all files. The connector then automatically syncs with the translation status in Smartling.
Tip: Your updated connector is ready to use.