You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/26 03:44:24 UTC

svn commit: r1535907 - /buildr/trunk/lib/buildr/core/console.rb

Author: donaldp
Date: Sat Oct 26 01:44:24 2013
New Revision: 1535907

URL: http://svn.apache.org/r1535907
Log:
Remove usage of the Java constant so that native windows ruby will no raise an exception

Modified:
    buildr/trunk/lib/buildr/core/console.rb

Modified: buildr/trunk/lib/buildr/core/console.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/console.rb?rev=1535907&r1=1535906&r2=1535907&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/console.rb (original)
+++ buildr/trunk/lib/buildr/core/console.rb Sat Oct 26 01:44:24 2013
@@ -194,7 +194,7 @@ module Buildr #nodoc
               require 'Win32/Console/ANSI'
             end
           end
-        rescue Java::JavaLang::IncompatibleClassChangeError
+        rescue
           # Unfortunately we have multiple incompatible jline libraries
           # in the classpath. This is probably because we are using jruby
           # 1.7.5 with a library like scala and both use incompatible jline