Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Enable a new error parser(in the Property page of a project)
Enable a new error parser [message #893009] Mon, 02 July 2012 09:32 Go to next message
Fabien Bourrel is currently offline Fabien BourrelFriend
Messages: 14
Registered: February 2012
Junior Member

I'm working on a project which contains an error parser.

This parser is creating as an extension of org.eclipse.cdt.core.ErrorParser:

name="My error parser"
name="My error parser">

It works correctly but I have a little problem in the options.
This parser is enabled in the Preferences Page, under C/C++ > Build > Settings
But, it is not enabled in the Property Page of a project (under C/C++ Build > Settings)
So, I have to turn it on for each project I use.

Then, I would like to know if there is a way to always enable it in the Property Page of a project? If this is an option set in the plugin.xml, or in the source code?
Thus, once the plugin is installed, the user does not have to care about the parser and just use it directly.

Hope this is clear for you, and waiting for some helping answers Wink

Re: Enable a new error parser [message #893310 is a reply to message #893009] Tue, 03 July 2012 14:04 Go to previous messageGo to next message
Andrew Gvozdev is currently offline Andrew GvozdevFriend
Messages: 257
Registered: July 2009
Senior Member
For managed projects error parsers are part of toolchain/configuration definition (buildDefinitions extension point). When you define your own project type/configuration/toolchain you assign error parsers to it.

If your projects are unmanaged (Makefile Projects) you can define error parsers for new projects in Preferences -> C/C++ -> New CDT Project Wizard -> Makefile Project -> Error Parsers.

Re: Enable a new error parser [message #900026 is a reply to message #893310] Fri, 03 August 2012 13:45 Go to previous message
camelia valuch is currently offline camelia valuchFriend
Messages: 6
Registered: May 2012
Junior Member
Hei, I also have the same problem ... I think ..

I've created a specific project (with a particular nature, not C nature).
I have some particular tools and I need the error parsers for these tools.

I've create a error parser but it works only for C Projects.
As Fabien said, I don't have C/C++ -> Build -> Setting on my project property pages.
So I only can set my error parser from Preferences Page -> C/C++ Build -> Setting, BUT is not enough.
It seems like the project must be set, not the workspace.

I also read what Andrew said, but I don't have buildDefinitions extension point. Furthermore, I need to set the error parser for my project, not for the entire workspace.

If someone have an advice, I would welcome. Smile
Previous Topic:Empty build configuration list after update to Juno
Next Topic:What is a p2 software repository?
Goto Forum:

Current Time: Tue Jun 19 14:36:00 GMT 2018

Powered by FUDForum. Page generated in 0.01716 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top