ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Adding tasks
Date Mon, 30 Apr 2001 22:57:49 GMT

Is it possible to do something like this when defining my own task?  If 
so, anyone care to point me in the right direction?

<mytask myAttr="foo" myAttr="bar" myAttr="blee">

This gives me an error about "myAttr" already appearing in this tag.  
I'd like to be able to append all these attributes together like this.

public void getAttr(String attr) {
   if (this.attr == null)
      this.attr = "";
   this.attr += attr;

Any thoughts, suggestions, places to look, et cetera, would be much 


  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message