Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | BW 5.x |
unzip command in ExternalCommand activity goes into a sleep state when you have already unzipped the source file/directory and it waits for next action which is of replace. If you kill that sleeping unzip process your ExternalCommand activity will complete & in output it will show below message. ---------------------------------------------- Archive: SampleProject_mod.zip replace SampleProject_mod/JDBCTest/.config? [y]es, [n]o, [A]ll, [N]one, [r]ename: -----------------------------------------------
To overcome this behavior please follow below steps: 1. In ExternalCommand "Configuration" tab, 'command to execute' will be "unzip /home/tibco/<filename>.zip -d /home/tibco/test" 2. In Input tab of ExternalCommand, under CmdInput->input, provide "A". 3. Save the project, run it & check the output. We are passing "A" here to replace all the existing file/directory into the destination folder. This will complete the action & unzip command will not go into sleep state.