ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scabbage <>
Subject Question about simple nested text elements
Date Thu, 04 Feb 2010 21:40:40 GMT

I'm trying to create my own customized task in Ant 1.7.1. I would like to use
my task this way:

<mytask a="blah" b="foo">

My class looks like:

public class MyTask extends Task {
   private String a;
   private String b;
   private List<String> things = new ArrayList<String>();

   // setting and gettings for a and b ...

   public void execute() {
      // loop through things


Now can anyone tell me how I should right the setter for "things"? The Ant
doc is very vague about simple nested text elements.


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message