Talend Data Mapper comes with a scripting capability
that can be used to create and edit structures and maps directly from a command line. It
is available with any Talend Data Mapper API jar file
The scripting capability works in a workspace and a project designated by the user. It is recommended to use a different workspace from the one used by Talend Studio, as objects created in this way cannot be used directly by the Studio because they do not have the accompanying .properties files, and then import the objects you create into the Studio later.
To import any objects created by the Talend Data Mapper scripting capability into the Studio, you must import the relevant project from your local workspace into the Studio. When you import the project, take care to select the Copy projects into workspace checkbox, or else the project will be linked to the workspace.
For more information on how to import projects, see Talend Studio User Guide.
This table provides some examples of the syntax for the Talend Data Mapper scripting capability.
|Specify which workspace to use|
|Create a project in a workspace|
-help command provides a complete list of all available commands
and their syntax.