Project

General

Profile

Actions

Defect #1804

closed

JRuby, Windows and RUBY_PLATFORM

Added by Babar O'Cap over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-08-21
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hi,
There is a bug with Redmine on JRuby (v.1.1.3) and Windows (XP SP2).
When i want to see my Subversion repository, there is an error.
#<REXML::ParseException: No close tag for ["lists", "list"]>
I've found the problem :
In this file REDMINE_ROOT\lib\redmine\scm\adapters\abstract_adapter.rb at line 141
if RUBY_PLATFORM =~ /mswin/
RUBY_PLATFORM return java the condition result is false but i'm under Windows!
And the generated svn command is
svn list --xml 'svn://hostname/svn_repos//'@HEAD
instead of
svn list --xml "svn://hostname/svn_repos//"@HEAD

Maybe that problem is in other files of Redmine.

PS: Sorry for my bad English, I'm French.


Files

abstract_adapter.patch (734 Bytes) abstract_adapter.patch Babar O'Cap, 2008-08-21 15:28
Actions

Also available in: Atom PDF