Remove usage of the Java constant so that native windows ruby will no raise an exception
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1535907 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/3b21e4f1 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/3b21e4f1 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/3b21e4f1 Branch: refs/heads/master Commit: 3b21e4f1af3ab373268bb404d01e913062257e2f Parents: e1f4441 Author: Peter Donald <[email protected]> Authored: Sat Oct 26 01:44:24 2013 +0000 Committer: Peter Donald <[email protected]> Committed: Sat Oct 26 01:44:24 2013 +0000 ---------------------------------------------------------------------- lib/buildr/core/console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/3b21e4f1/lib/buildr/core/console.rb ---------------------------------------------------------------------- diff --git a/lib/buildr/core/console.rb b/lib/buildr/core/console.rb index 2769e59..a704ec7 100644 --- a/lib/buildr/core/console.rb +++ b/lib/buildr/core/console.rb @@ -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
