Creating a new TDP

In most cases, you will not create a TDP from scratch but rather base your new TDP on an existing TDP template. In this example, you will adapt an existing TDP gccmingw_template.xdp to your own environment.

The TDP file format is .xdp, as in XML Deployment Port. There are file-naming conventions when creating a new TDP:

Therefore, our TDP filename shall be cwingccmingw.

All TDPs are located in the following directory:

<install_dir>/targets/xml/<tdp_name>.xdp

where <install_dir> is the  installation directory, and <tdp_name> is the name of the TDP.

To start the TDP Editor:

  1. In OneTest Embedded, from the Tools menu, select TDP Editor and Start.

or

  1. From the command line, type tdpeditor.

To open a TDP template:

  1. In the TDP Editor, from the File menu, select Open.

  2. In the targets subdirectory, select the gccmingw_template.xdp TDP file.

  3. Right click the Top level node in the tree-view pane: Gnu 2.95.3-5 (mingw).

  4. Select Rename.and enter a new name for this TDP: My_MinGW. This name identifies the TDP in the OneTest Embedded GUI.

  5. In the Comment for the root node section, enter contact information such as your name and email address. This makes things easier when sharing the TDP with other users.

To save the new TDP:

  1. From the File menu, select Save xdp As,

  2. Save your new TDP as cwingccmingw.xdp.

  3. From the File menu, select Save and Generate. The TDP Editor automatically creates a directory named cwingccmingw and all the files required for the TDP in that location.

  4. Move on the next section: Editing a TDP