FT Tools

Oliver Langer / Version 0.1

Version History

Version	Date	Author	Description
0.1	27.08.06	Oliver Langer	Initial version

Table of Content

1.Version History	2

2.TODO	4

3.About this document	4

4.FTControlCmdLine	4

5.FTExport	4

6.FTImport	5

TODO

Proofreading of this document, removing mistakes

Write a “real” documentation

About this document

Within the directory Tools of the FT source there exists tools used to import, export data and used to run administrative tasks. In the following sections these tools are described.

FTControlCmdLine

This tool is used to

list the available graphs in the database

delete a graph from the database.

It supports the following command lines:

-configFile <FT config file>

FT configuration file

-login <adminlogin>

login account with sufficient rights

-password <passwd>

password of the specified login

[-listGraphIds]

Outputs a list of all available graph identifiers

[-removeGraphWithId <graph-id>]

Rmeove the graph related to the specified identifier

Example call:

FTConrolCmdLine -configFile ftconfig.xml -login altum -password silentium -listGraphIds

listing all available graph identifiers within the system configured/specified by ftconfig.xml.

FTExport

This tool is used to export a complete graph.

It supports the following command lines:

-configFile <FT config file>

FT configuration file

-graphId <graph identifier>

specifies a graph. Assumes that the graph identifier is of
type string

-exportDir <export director>

Specifies the directory where the output files have to be
written to

-baseExportFilename <base filename for export files>

Specifies the base filename for all generated files

-login <adminlogin>

login account for an admin user

-password <passwd>

password of the specified login

A sample call may look as follows:

FTExport -configFile ftconfig.xml -graphId modifyTestGraph -exportDir myExportDir -baseExportFilename myExport -login altum -password silentium

FTImport

This tool is used to import a previously exported graph. It supports the following arguments:

-configFile <server config file>

Configuration file for the server

-sourceGraphName <xml file>

Name of exported graph (physically the name of the directory
where the exported	content relies in. This directory is
relative to <sourceBaseDirectory>

-sourceBaseDirectory <directory>

Base directory from where to start the import

-newGraphname <graphName>

Name of graph to be created during import

-login <adminlogin>

login account with sufficient rights

-password <passwd>

password of the specified login

With respect to the example given with the FTExport call the related import would look as follows:

FTImport -configFile ftconfig.xml -sourceBaseDirectory myExportDir -sourceGraphName myExport -newGraphName importExample -login altum -password silentium

This call imports the previously export graph modifyTestGraph into the system using the new graph name importExample.

2006-01-09T16:06:31