On 2010-06-04, Jon Stevens wrote: > What I'd like to do is be able to add a couple of attributes to the > <file> element that lives in a <filelist> and then get access to those > attributes in my Task.
I've seen you've already taken on Matt's Resource advice. You may want to look into org.apache.tools.ant.types.resources.ResourceDecorator which wraps itself around a different Resource (specified as a nested element inside a build file) and forwards all "normal" methods to the wrapped Resource. You'd only need to implement setters for your additional attributes and should be done. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org