buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hugo Borja <vic.bo...@gmail.com>
Subject Re: running JUnit tests fails with buildr trunk and JRuby
Date Mon, 07 Apr 2008 22:45:03 GMT
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!

Mime
View raw message