I have created an Ant task, wherein i would like to have an property array? First of all, is it possible? Does ant allows us to have a property array?
public class MyTask extends Task {
private String tokens[] = null;
public void setTokens(String[] _tokens) {
//...
}
public void execute() {
// iterator over the conditions
}
}
Now how to set tokens in ant build file?