tool.setWorkingDirectory(StringUtil.replace(value, APPLICATION_HOME_MACRO, appHome));
}</BUG>
}
if (COMMAND.equals(name)) {
<BUG>tool.setProgram(ToolManager.convertString(value));
</BUG>
}
if (PARAMETERS.equals(name)) {
<BUG>tool.setParameters(ToolManager.convertString(value));
</BUG>
}

Element optionElement = (Element)o1;
String name = optionElement.getAttributeValue(ATTRIBUTE_NAME);
String value = optionElement.getAttributeValue(ATTRIBUTE_VALUE);
if (WORKING_DIRECTORY.equals(name)) {
if (value != null) {
final String replace = macroManager.expandPath(value).replace('/', File.separatorChar);
tool.setWorkingDirectory(replace);
}
}
if (COMMAND.equals(name)) {
tool.setProgram(macroManager.expandPath(ToolManager.convertString(value)));
}
if (PARAMETERS.equals(name)) {
tool.setParameters(macroManager.expandPath(ToolManager.convertString(value)));
