Good eye, Hoss!
I meant to mention the <foreach> task, but my Ant committership would
have been revoked :) (just kidding, but it is controversial and this
is why it doesn't exist in Ant itself).
And you can, of course, always <exec> to curl or to Solr's example
post.sh.
Erik
On Feb 1, 2007, at 12:38 AM, Chris Hostetter wrote:
: I wondered about that file attribute too, but I think it's
supposed to
: call up a java properties file to set name-value pairs. And
anyway it's
the site you're looking at seems to have an older version of the
ant-contrib modules ... if you look at the primary documentation it
mentions a "rawFile" option to do exactly what you want...
http://ant-contrib.sourceforge.net/tasks/tasks/post_task.html
: only a single file rather than a fileset.
take a look at the foreach task from the same package...
http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html
-Hoss