Creating a Target Deployment Port

Target Deployment Technology

To create a new Target Deployment Port (TDP), the best method is to make a copy of a TDP that is as similar as possible to the platform you are targetting in order to minimize customization efforts.

To create a TDP, you must first save the .xdp file, which contains all the settings of the TDP, and then generate the TDP in a target directory for use by HCL OneTest Embedded tools.

Naming Conventions

By convention, the name of the .xdp file starts with a c for the C and C++ languages, ada for the Ada language or j for Java, followed by the name of the development environment, such as the compiler and target platform.

In the TDP editor, the name of the top-level node can be an explicit description of the TDP. This name is displayed in the HCL OneTest Embedded GUI to identify the TDP in use. To avoid confusion, this name must be unique.

To create a new TDP:

  1. In the TDP Editor, select File > New.
  2. In the Language Selection box, select the language used for this TDP.

The TDP Editor uses this selection to create a template, which already contains most of the information required for the TDP.

  1. Right click the top level node in the tree-view pane, which contains the name of the TDP. Select Rename. and enter a new name for this TDP. This name identifies the TDP in the HCL OneTest Embedded GUI and can be more explicit than the TDP filename (see Naming Conventions).
  1. In the Comment section, to facilitate sharing of the TDP, enter the version of HCL OneTest Embedded for which the TDP is made, contact information such as your name and email address, language and features supported, and environment information. For example:

For v7.0.0.0 Release and later

Support:

Language : C - C++

Features : Component Testing - Code Coverage - Memory Profiling - Performance Profiling - Trace

Tested Against:

Host Machine : Windows

Compiler : Microsoft Visual C++ 2005 or Visual C++ 2005 Express Edition with the Microsoft Platform SDK

Linker : Microsoft Visual C++ 2005

Debugger : Microsoft Visual C++ 2005

OS : Native

Target : Native

  1. Select File > Save xdp As to save the .xdpfile before generating the TDP. Specify a filename for the new .xdp that follows the naming conventions. You can save the .xdp file at any location.
  2. Select File > Save & Generate to generate the TDP in the current target directory.

Note By default, TDPs are located in the targets directory of the HCL OneTest Embedded installation directory. If you want to change the target directory, select File > Save & Generate TDP In. The location of the target directory is reset to the default location each time the TDP Editor runs.

Related Topics

Using the TDP Editor | Configuring target deployment ports | Updating a target deployment port