Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] regular expression parser


Thanks for this hint - it is exactly what I've been looking for.
Now the parser checks for attribute 'config', and uses its value as
file name:

     <errorparser class="si.isystem.regexerrparser.RegExErrorParser"

This seems more readable to me than the colon syntax. I'll upload the new version shortly.


> Leherbauer, Anton wrote:

regarding the additional parameter, you can do that already:
If you specify the argument as a colon separated suffix to the class
name, like e.g.


and the RegExErrorParser class implements IExecutableExtension, you will
receive the argument
in a call to setInitializationData() when a new instance is created.


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marko Klopcic
Sent: Friday, November 28, 2008 11:27 AM
To: CDT General developers list.
Subject: [cdt-dev] regular expression parser


I've implemented a regular expressions parser plug-in and posted it to newsgroop. (

It was suggested to contribute it to CDT. It is not a problem (it is
licensed under EPL anyway), but I'd like to solve one technical issue
Currently the name of the file containing regular expressions is
hardcoded, which means that only one such parser may exist in the
system. I think it would be better to have a parameter in the
extension point, for example 'config':

<extension id=...
            name="RegEx Error Parser - GCC ARM"
    <errorparser class="si.isystem.regexerrparser.RegExErrorParser"
config="regEx/"/> <-- NEW

Value of the 'config' attribute specifies config file in this example.
Parameter may also be useful for other error parsers.

Should I fill in an enhancement request for this attribute?
Are there any other suggestions?



Marko Klopcic, +386 1 5680695,
Asyst electronic d.o.o. / iSYSTEM AG
Brodisce 18, SI-1236 Trzin, SLOVENIA

cdt-dev mailing list

cdt-dev mailing list

Back to the top