The Artima Developer Community
Sponsored Link

Java Buzz Forum
Upload build artefacts to your blog with Ant

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
Upload build artefacts to your blog with Ant Posted: Sep 30, 2004 3:33 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: Upload build artefacts to your blog with Ant
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

I've extended the Pebble Ant tasks (new name, antblog) to include a task that will let you upload a file to your blog using the newMediaObject method on the MetaWeblog API.

    <taskdef
      name="metaWeblog.newMediaObject"
      classname="pebble.ant.metaweblog.NewMediaObjectTask"/>

    <metaWeblog.newMediaObject
      url="http://localhost:8080/blog/xmlrpc"
      blogid="blog"
      username="simon"
      password="password"
      src="${build.dir}/${some.file}"
      dest="files/${some.file}" />

So, in addition to updating a project blog with the build status, you can also upload the end result. This will be in Pebble 1.6 which will be in beta as soon as I finish the docos.

Read: Upload build artefacts to your blog with Ant

Topic: And the Name is&#8230; WS-BPEL 2.0 Previous Topic   Next Topic Topic: [Sep 21, 2004 02:00 PDT] 3 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use