I’m new to buildr, so I might be missing something obvious.
According to this page, it should be fairly simple:
- Download explode.rb
At the top of your buildfile, add the following:
require 'explode.rb'Define explode task on your web application:
package(:war).explode :target => "jetty/webapps/myApplication"Run the task
buildr myApp:explode
However, but I can’t get it to work. If I just go through the steps in that article, I get the following error:
RuntimeError : Don't know how to build task 'myApp:explode'
I tried all sorts of combinations, but nothing worked.
Turns out the instructions were 100% correct. My problem was that
myAppwas a sub-project, and I needed the fully qualified name when running the task, i.e.:I was confused because just running
buildr myAppworked fine.