On 2010-04-18, Raja Nagendra Kumar <nagendra.r...@tejasoft.com> wrote:
> Does ant api has any class, which read ant/java properties files and > allows the iteration in the same order they were present in the > original file. None that I was aware of. > I was looking at org.apache.tools.ant.util.LayoutPreservingProperties > .. but does not seem to expose This is true, but is shouldn't be too difficult to expose an iterator over all Pairs stored in logicalLines (returning Map.Entry instances, probably) and provide a patch for this. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org