Archive

Archive for the ‘Uncategorized’ Category

apache ant http task 1.1.2 released

July 22, 2011 2 comments

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!

Thanks

apache ant http task 1.1 released

March 29, 2011 5 comments

Due to a glaring feature omission from version 1.0, the ability to write the response entity to file, I’ve added a new attribute to the ant task to support this and moved the project to version 1.1.

The new version with updated documentation, samples and downloads can be found on the google code site http://code.google.com/p/missing-link/.

Sample usage to write an entity to file:

<?xml version="1.0" encoding="UTF-8"?>
<project name="ml-ant-http" basedir="." default="http-get">

<property name="ml-ant-http.jar" value="ml-ant-http-1.1.jar"/>

<fileset id="runtime.libs" dir=".">
<include name="${ml-ant-http.jar}"/>
</fileset>

<path id="runtime.classpath">
<fileset refid="runtime.libs"/>
</path>

<taskdef name="http" classname="org.missinglink.ant.task.http.HttpClientTask">
<classpath refid="runtime.classpath"/>
</taskdef>

<target name="http-get">
<http url="http://www.google.com/images/logos/ps_logo2.png" method="GET" outfile="google.png"/>
</target>
</project>
Categories: Uncategorized