プロジェクト

全般

プロフィール

Vote #63776

完了

JRuby, Windows and RUBY_PLATFORM

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2008/08/21
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
2
issue_org_id:
1804
author_id:
1894
assigned_to_id:
0
comments:
1
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
5
ステータス-->[Closed]

説明

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.
@#@
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.


journals

Fix committed in r1753 with slight changes and fixes in a few more files (method @Redmine::Platform.mswin?@ added to avoid code duplication).
Thanks for pointing out.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0