2

How can I package a jar file (packaged via buildr) and script files into a zip file? The jar file is created as per the buildfile:

define "myapp" do
...
package(:jar)
...
end

I tried Zip Task, but it didn't work.

tmore
  • 693
  • 1
  • 6
  • 6

1 Answers1

1

You can use this:

package(:zip).include(package(:jar), :path => "distrib")

Or you can define a subproject for the distrib, see this example.

Antoine Toulme
  • 937
  • 4
  • 15