// Copy all of the nested sysproperty elements into the sysProps
// object
ArrayList taskSysProps = taskSysPropertySet.getList();
HashMap sysProps = new HashMap(taskSysProps.size());
for (int i = 0; i < taskSysProps.size(); i++) {
ConditionalVariable variable = (ConditionalVariable)taskSysProps.get(i);
// Test "if" and "unless" conditions
if (testIfCondition(variable.getIf()) && testUnlessCondition(variable.getUnless()))
sysProps.put(variable.getKey(), variable.getValue());
}
// Copy all of the nested arg elements into the appArgs object
ArrayList taskArgs = taskArgumentSet.getList();
ArrayList appArgs = new ArrayList(taskArgs.size());