IBM InfoSphere Streams Version 4.1.1

Creating applications with the command line

You can use the teda-setup-projects command-line wizard to create Ingest Transform Enrich (ITE) and Lookup Manager applications. This option enables you to create a new project by using a script in the toolkit. This command interactively guides you through the creation of your project.

About this task

  • Script-based application creation supports two kinds of input, interactive and file-based.
  • The teda-setup-projects command is in the $STREAMS_INSTALL/toolkits/com.ibm.streams.teda/bin toolkit path.
  • If you call the script with the -h command-line parameter, the script prints a description of the input parameters, for example:
    teda-create-project -h
    usage:
    <$STREAMS_INSTALL>/toolkits/com.ibm.streams.teda/bin/teda-setup-projects [options]
    options:
    -x --xml    the xml-file collecting setup parameters for 'silent' setup - optional
    -b --backup  If this flag defined then the existing application folder will be copied to <appl-name>_<timestamp> folder as backup. The command stops the processing if application folder exists and neither --backup nor --force set.
    -f --force  Using this flag, the setup process removes the existing folder and creates	 the new application folder. The command stops the processing if application folder exists and neither --backup nor --force set.
Running the script interactively
Interactive mode enables you to run the teda-setup-projects script without specifying any parameters, enabling you to create simple, default applications.
Importing projects into Streams Studio
If you created a project using the teda-create-project command and want to work with that project in Streams Studio, you import it into Studio using either the definition file or the interactive mode.
Creating applications with a definition file
You can create applications with an XML application setup file that describes the location and settings of the applications.