Nailgun not supported in Windows bat files
------------------------------------------

                 Key: JRUBY-3867
                 URL: http://jira.codehaus.org/browse/JRUBY-3867
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.3.1
         Environment: JRuby 1.3.1 on Windows XP SP3
            Reporter: Dave Ray
         Attachments: windows-nailgun.patch

The bat files provided with JRuby do not include support for the --ng and 
--ng-server arguments as described here: 
http://blog.headius.com/2009/05/jruby-nailgun-support-in-130.html.

I've attached a patch that, I believe achieves the same semantics as jruby(sh). 
When running --ng-server, I had to add a modification that disables 
-Xbootclasspath. This was somehow interfering with 
getResourceAsStream("com/martiansoftware/nailgun/builtins/builtins.properties") 
in com.martiansoftware.nailgun.AliasManager's constructor. As long as 
-Xbootclasspath was set, this call would return null, and crash the Nailgun 
server. Otherwise, things seem to work as expected.

Note this is my first attempt at a git patch, so let me know if I screwed it up 
:)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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