Scenario:
- Open the Workflow Designer.
- Create a new workflow element with command-line tool:
- Set name to "Element One". Select a tool.
- Add a new parameter "-version". Make sure it's default value is also "-version".
- On the "Command" page set up the following command:
/usr/bin/java $-version $-version
(use an appropriate path to java).
- Add the created to the WD scene.
- Run the workflow.
- Open the log view.
- Scroll to the element's logging output.
Current result: There is a string that corresponds to the command of the element. The problem is that the first occurrence of the "$-version" is replaced by the default value "-version" but the second occurrence is not.