wrong algorithm in _jrubyvars.bat to set the classpath for jruby
----------------------------------------------------------------

                 Key: JRUBY-1347
                 URL: http://jira.codehaus.org/browse/JRUBY-1347
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.1
         Environment: windows
            Reporter: Jerome Dochez
            Assignee: Thomas E Enebo


_jrubyvars.bat  batch is broken on windows, it does not only add the jars in 
jruby/lib directory but all jars located in sub directories. 

this is inconsistent with unix platforms and create issues with glassfish v3 
integration.


if you replace

for /r "%JRUBY_HOME%\lib" %%i in (*.jar) do @call "%~dp0_jrubysetcp" %%i
with
for %%i in ("%JRUBY_HOME%\lib"\*.jar) do @call "%~dp0_jrubysetcp" %%i

in _jrubyvars.bat

it works as expected...


-- 
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