How to setup output parser for NAnt C#

Discussion Forums discussion How to setup output parser for NAnt C#

This topic contains 0 voices and has 3 replies.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
January 18, 2006 at 2:35 pm #11

etasoft
Member

I am trying to setup error parser pattern without any luck for NAnt running C# compiler.

Build-in parser used to work with older version of NAnt but after I upgraded NAnt, its output slightly changed and there I am.

I have tried this [csc] %f(%l,%c):

Actual output from NAnt is:

[csc] d:xtranssrcetasoftConnector.cs(132,23): error CS1519: Invalid token ‘;’ in class, struct, or interface member declaration

January 18, 2006 at 4:18 pm #14777

etasoft
Member

I found an answer this is RegEx that matches new NAnt output:

www] %f[(]%l,%c

January 19, 2006 at 9:40 pm #14778

simon
Key Master

You can simplify that to:

w{3}] %f(%l,%c

or even:

w+] %f(%l,%c

January 20, 2006 at 1:11 am #14779

etasoft
Member

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.