TSAM Exporter

The TSAM Exporter tool is used to extract code translations from the LTR database into XML files that will be used by CDA Display Tool.

Building TSAM Exporter

If you wish, you can build the project and use the produced tsamexporter.jar file.

In order to build and include all the dependencies run:

mvn assembly:assembly

This will create a JAR with all required libraries.

Installing TSAM Exporter

First you have to download the TSAM Exporter from Joinup (see the installation manual page, section 3.1), a standalone tool with which you can export the values used in the display tool, that come from value set catalog.

This application is a standalone JAR file that can be placed in a custom location:

/tsam-exporter
	|-- epsos-tsamexporter.jar
	|-- logging.properties
	|-- run.sh
	+-- settings.properties

The required files can be found at the end of this page.
Modify the setting.properties to fit with your database settings:

Setting Properties

database.class.name=com.mysql.jdbc.Driver
database.url=jdbc:mysql://localhost:3306/ltrdb
database.name=ltrdb
database.username=username
database.password=password

Then you have to run

java -Djava.util.logging.config.file=logging.properties -Depsos.ccd.gnomon.tsam.settingfile=settings.properties -jar epsos-tsamexporter.jar

When finished you will have under your epsos config folder ($EPSOS_PROPS_PATH) a new folder named EpsosRepository in which you will find the produced exported XML files.

Required Files

run.sh

settings.properties

logging.properties