When trying to build this project:
project_layout = Layout.new
project_layout[:source,:main,:java] = 'src'
project_layout[:source,:test,:java] = 'test'
define 'hausaufgaben', :layout => project_layout do
project.version = '1.0'
package :jar
end
I'm getting this error:
RuntimeError : Unable to download org.apache.ant:ant:jar:1.8.3. No remote repositories defined.
From this message I gather that buildr uses ant internally (strange, I'd have thought it uses Rake for building). The Quickstart doesn't mention this. What's even more annoying is that I already have ant (1.8.2 rather than 1.8.3, but that shouldn't make such a huge difference), and strangely enough there are no complaints as long as buildr doesn't find any java files (tested this by leaving the layout at its default value).
Now to the actual question: Do I have to add a repository where buildr can find ant, or can I do this otherwise?
For the record: I installed buildr with jruby -S gem install buildr
and run it with jruby -S buildr package
.