Application setup does not create application structures

If your application structures are not created, set either the -b or -f parameters when you call the setup command.

Symptoms

You see an error message similar to the following:

teda-create-projects -x /home/streamsadmin/etc/templates/
TelcoFrameworkSample.xml
etc/templates/TelcoFrameworkSample.xml validates
Selected job type: LookupMgr
Selected job type: ITEMain
Selected variant: Context processing with split based on file name in File Ingestion
( default)

EXIT: Error: /home/streamsadmin/teda_applications/lookupmgr already exists. To continue
use '-b' for backup or '-f' force remove

Causes

The path to the TEDA application (/home/streamsadmin/teda_applications/lookupmgr in the previous example) is defined in the setup definition file (/home/streamsadmin/etc/templates/TelcoFrameworkSample.xml in the previous example), but you have not defined how to handle the application path.

Resolving the problem

Set either the -b (backup) or -f (force remove) parameters when you call the setup command.