Skip to content

Instantly share code, notes, and snippets.

@oc
Created January 10, 2011 16:04
Show Gist options
  • Save oc/772952 to your computer and use it in GitHub Desktop.
Save oc/772952 to your computer and use it in GitHub Desktop.
source :rubygems
# .. dine andre gemmer
gem "ffi", '~> 1.0.0'
Warbler::Config.new do |config|
config.dirs = %w(config lib images) # Mapper som skal bundles inn med warbler
config.war_name = "#{BlaBla::NAME}-#{BlaBla::VERSION}" # Jeg pleier parameterisere dette i f.eks. lib/applikasjon.rb og lib/version.rb, så importerer jeg bare de...)
config.features = %w(executable) # Executable bundler inn winstone i jar-filen, så kan jar-en eksekveres (unødvendig for tomcat-deploy)
config.java_libs += FileList["ext/*.jar"] # Denne bundler f.eks ekstra JFFI-bindings for ulike OS. I mitt tilfelle bygget jeg JFFI 1.0.4 for Solaris.
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment