ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: AW: local properties
Date Fri, 15 Oct 2004 15:29:35 GMT
> >Havent got an answer to that proposal:
> >    <local prefix="tmp"/>
> >    <loadproperties prefix="tmp"/>
> 
> I do not see how it would be useful 

You could use all other tasks as they are. Many tasks store 
their result in properties. Some (like loadproperties) in multiple
props.


> or how to implement it. :-)

- Register the "tmp" as temporary prefix on Project
- setNewProperty() (and the other *Propert* methods) check against
  the list of temporary props and allow overriding.
- Project.deleteProperties(String prefix) would unset all properties
  with the registered prefix and deregister that.

Just a quick idea ...


Jan

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