Bug #20

Gendarme task fails with a cryptic message when gendarme is not found

Added by Leszek Ciesielski over 2 years ago. Updated over 2 years ago.

Status:New Start:
Priority:High Due date:
Assigned to:Daniel Nauck % Done:

0%

Category:NauckIT.NAnt Spent time: -
Target version:-

Description

Output:

BUILD FAILED

INTERNAL ERROR

System.FormatException: Nieprawid▒owy format ci▒gu wej▒ciowego.
w System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
w System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
w System.Convert.ToInt32(String value)
w NauckIT.NAnt.Tasks.GendarmeTask.ExecuteTask()
w NAnt.Core.Task.Execute() w d:\Source\nant-20080818T124133Z\src\NAnt.Core\Task.cs:wiersz 186
w NAnt.Core.Target.Execute() w d:\Source\nant-20080818T124133Z\src\NAnt.Core\Target.cs:wiersz 247
w NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) w d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:wiersz 985
w NAnt.Core.Project.Execute() w d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:wiersz 937
w NAnt.Core.Project.Run() w d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:wiersz 1022

[Invalid input string format] It took me a while to figure out that it did not found the gendarme.exe.

History

Updated by Daniel Nauck over 2 years ago

Fixed by Changeset r234

Also available in: Atom PDF