You can now grab any previous versions, along with the latest version, from the standard update site:

http://m2eclipse.sonatype.org/update/

The process is now scripted up and with the development work going on with Nexus to manage p2 repositories this will soon be simple.

For anyone who cares it was a few lines of Ruby to merge the old site.xml with the additions created by the new release:

#!/usr/bin/ruby -w

require 'rexml/document'
include REXML

main_sitexml = ARGV[0]
release_sitexml = ARGV[1]
main = Document.new( File.new( main_sitexml ) )
release = Document.new( File.new( release_sitexml ) )
last_main_feature = main.root.elements['//feature[last()]']
release_features = release.root.elements.each('//feature'){}
release_features.reverse_each{ |e| last_main_feature.parent.insert_after( last_main_feature, e ) }
main.write( $stdout, 2 )

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

A language that doesn’t affect the way you think about programming is not worth knowing.

-— Alan Perlis


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to