Home > ant task, apache ant, http, java, Uncategorized, web services, xml > apache ant http task 1.1.2 released

apache ant http task 1.1.2 released

I’ve released the missing link apache ant http task version 1.1.2.  This is mainly a bugfix release.

I would like to thank everyone who contributed by logging issues on the google code project!  I utilized most of the patches that people have submitted.

I must apologize in the delay for applying these patches, I’ve simply been swamped with work; but rest assured I have no intentions of letting this project go away anytime soon.  We use it every day at my workplace in our automated build processes.

The issues fixed for 1.1.2 can be seen here, which include the following:

  • Support binary entities (user submitted patch)
  • Failures do not print the requested URL (user submitted patch)
  • Added attribute to optionally print the user credentials (defaults to false)
  • The URI builder was parsing the URL with a custom regex which did not properly match with periods in URL (user submitted patch)
  • Fixed the included sample file to have the correct jar reference (now automated at build time)
  • Fixed an inconsistent name on the generated api docs zip

Again, I would like to thank everyone for their feedback and patch submissions.

Please give me any other feedback, bug reports and or feature requests that you may have!


  1. July 24, 2011 at 2:46 am

    Good stuff Alex!

  2. August 3, 2011 at 2:57 pm

    Alex, this is a very handy Ant task – thanks!

    Two questions:
    1) Is there a way – even via a workaround using a temporary file or otherwise – to submit an entity on a POST that contains Ant properties that will be replaced by their values prior to submission; e.g. some text ${somepropertyname}?

    2) What is the best way to capture the Cookie from a previous request and submit it in subsequent requests? Have looked into extracting the value of the Set-Cookie header from the response, but haven’t found a way to capture the headers in the response; just the entity body can be saved to ‘outfile’.


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: