Platform.IS_OPENVMS is unknown in jorg.jruby.ext.posix.util.Platform 
---------------------------------------------------------------------

                 Key: JRUBY-5943
                 URL: https://jira.codehaus.org/browse/JRUBY-5943
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.3
    Affects Versions: JRuby 1.6.3
         Environment: Adding OpenVMS IA64 servers support. J2SE V6.0. JRuby 
1.6.3
            Reporter: Philippe Vouters
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.6.4


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to