Bugs: Browse | Submit New | Admin

[#27814] RUBY_PLATFORM == 'java' fails for Windows

Date:
2010-02-11 10:11
Priority:
3
Submitted By:
Claudius Hofbauer (claud)
Assigned To:
Caleb Powell (kman)
Category:
None
State:
Open
Summary:
RUBY_PLATFORM == 'java' fails for Windows

Detailed description
Antwrap_utilities.rb line 31

"if RUBY_PLATFORM == 'java'" don't work for "java mswin" (Microsoft Windows).

Please change it to:

if(RUBY_PLATFORM =~ /java/)

Best wishes
Claudius

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-07-19 19:10
Sender: Antoine Toulme

I fixed this problem on my fork of Antwrap here:
http://github.com/atoulme/Antwrap
Date: 2010-02-15 10:22
Sender: Daniel Harrington

Added a patch for this problem:
http://rubyforge.org/tracker/index.php?func=detail&aid=27828&
amp;group_id=2821&atid=10897

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2010-02-11 10:11claud