buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: Quick Start Documentation
Date Wed, 29 Jul 2009 22:26:25 GMT
For what it's worth, I've done a similar "download, unzip, find the jars,
compile with the jars" job in a project last year...  I didn't feel like
creating artifacts for all the jars included in Eclipse BIRT... and it
looked like:

BIRT_WAR = artifact("org.eclipse.birt:birt-webapp:war:2.3.0")

def unzip_birt_libs
  unless File.exist?(BIRT_TARGET)
    p "Unzipping BIRT libraries..."
    unzip(BIRT_TARGET => BIRT_WAR).extract
  Dir["#{File.join(BIRT_TARGET, "WEB-INF", "lib")}/*.jar"].map { |jar|
file(jar) }

and later,

compile.with unzip_birt_libs



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message