For diagnostic purposes, use ant -debug. Otherwise it's about a 10 line custom Task, so you may want to consider writing it for your project.
Paul class MyTask extends Task { public void execute throws BuildException { Enumeration keys = project.getProperties().keys(); String key; while (keys.hasMoreElements()) { key = keys.nextElement(); doSomething(key, project.getProperty(key)); } } } > -----Original Message----- > From: Gordon Rose [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 22, 2002 9:26 AM > To: Ant Users List > Subject: Iterating through properties > > > Hi, > > Anyone know of a way to, for diagnostic purposes, iterate > through all properties in ant -- a for each, essentially. > I've seen iteration/for each solutions in the group. Anyone > apply these ideas to properties? Thanks much, > > Gordon > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>