Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Cannot load ErrorParser extension ARMErrorParser

Hi,

2010/3/3 欣 赵 <josieenfrance@xxxxxxxxxxx>
hello every one, I have a problem about the errorParser that I defined,
In the configuration ProjectType, I entered the ID of errorParser ARMErrorParser, with extension org.eclipse.cdt.core.ErrorParser I add the errorParser but with no class defined myself, I added a pattern to this ARMErrorParser.

"ICU_Example.c", line 69: Error:  #65: expected a ";"
    printf("---------------\n\n");
    ^
My pattern:
severity: Error
eat-processed-line: true
regex: [a-zA-Z0-9._]+)", line ([0-9]+): Error: (.*)
file-expr: $1
line-expr: $2
description-expr: Error: $1
> did you missed "( in the begging of regex when cut & paste or it was not there? Because it should be there 
Also, your description-expr should be $3

Are you trying to develop error parser extension? I'd suggest to add and set up your new error parser and patterns first in preferences C/C++>Build settings. Then test them with your build output. After that you can copy your parser definition from .metadata/.plugins/org.eclipse.cdt.core/model.extensions.xml and paste directly into plugin.xml.

Thanks,
Andrew

Many thanks to the help!! 


Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top