Tomas Carlsson wrote:
Hi,
Turns out that this is due to spaces in the path to the m2 repository.
buildr/java/jruby.rb uses the deprecated java.io.File.toURL which does
not escape illegal URL characters. Creating an URL via the toURI
method as recommended in the sun javadocs works fine:
Index: lib/buildr/java/jruby.rb
===================================================================
--- lib/buildr/java/jruby.rb (revision 645711)
+++ lib/buildr/java/jruby.rb (arbetskopia)
Now in trunk, thanks a lot!