use of org.apache.tools.ant.taskdefs.MacroDef in project JikesRVM by JikesRVM.
the class ForEachTask method execute.
public void execute() {
validate();
final MacroDef.Attribute attribute = new MacroDef.Attribute();
attribute.setName(property);
macroDef.addConfiguredAttribute(attribute);
final String[] values = list.split(" ");
for (String value : values) {
final MacroInstance i = new MacroInstance();
i.setProject(getProject());
i.setOwningTarget(getOwningTarget());
i.setMacroDef(macroDef);
i.setDynamicAttribute(property, value);
i.execute();
}
}
use of org.apache.tools.ant.taskdefs.MacroDef in project JikesRVM by JikesRVM.
the class ForEachTask method createSequential.
public MacroDef.NestedSequential createSequential() {
macroDef = new MacroDef();
macroDef.setProject(getProject());
return macroDef.createSequential();
}
use of org.apache.tools.ant.taskdefs.MacroDef in project JikesRVM by JikesRVM.
the class IfTask method createSequential.
public MacroDef.NestedSequential createSequential() {
macroDef = new MacroDef();
macroDef.setProject(getProject());
return macroDef.createSequential();
}
Aggregations