This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • How to use .jar files stored inside a .zip file
Skip to end of metadata
Go to start of metadata

How to use .jar files stored inside a .zip file

Here is an example were all the .jar files contained in the BIRT .war files are used for compilation.

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

task :unzip_birt => unzip(_("target/birt") => BIRT_WAR) do
  compile.with Dir[_("target/birt/WEB-INF/lib") + "/*.jar"]

task :compile => :unzip_birt

The BIRT .war file is first downloaded (if not available locally), then unzipped and all .jar files contained under the WEB-INF/lib directory are added to the compilation classpath.

  • No labels