Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.3
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Ruby 1.9.3
-
Labels:None
-
Environment:Adding OpenVMS IA64 servers support. J2SE V6.0. JRuby 1.6.3
-
Number of attachments :
Description
I am unable to add OpenVMS style file names support in JRuby 1.6.3. I am getting repeated such kind of errors while compiling a modified src/org/jruby/JRubyFile.java:
[apt]
/PHV/PHV/JRUBY_VMS/jruby-1.6.3/src/org/jruby/RubyFile.java:1109: cannot
find symbol
[apt] symbol : variable IS_OPENVMS
[apt] location: class org.jruby.ext.posix.util.Platform
[apt] if (Platform.IS_OPENVMS)
This is because jnr-posix.jar does not include support for OpenVMS.
I did download jruby-jnr-posix-1.1.8-0-g3035acd.tar.gz and
jnr-jnr-constants-0.8.1-0-gd3d4acc.zip but jnr-constants lacks a
build.xml causing jruby-jnr-posix/build.xml to fail.
Can you add those two lines in jnr_posix/src/org/jruby/ext/posix/util/Platfrom.java :
...
private static final String OPENVMS = "openvms";
...
public static final boolean IS_OPENVMS = OS_NAME_LC.equals(OPENVMS);
...
and submit a new jnr-posix.jar ?
Thank you in advance.
Philippe Vouters