Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Hello,

i have two questions about the CODAN Framework, maybe someone could help me with them.
First question:
I implemented some checkers to check the file and folder sturcture of a c-project against a given naming convention.
For this, I extended the class "AbstractCheckerWithProblemPreferences" and used the method "processResource()".
Most of the time it's only necessary to check top level folders of the files and folder structure, so it's needless to traverse any of the children.
But when i return "false" in the method "processResource()" the children will still be traversed.
Do I have missed anything?
Second question:
Is there a way to invoke a methode after a checker has done ist work?
For example, I'd like to check if there are files with the same name in a c-project. So I have to store their names in a list or tree and after the checker has traversed the last resource of the file and folder structure, i'd like to compare these names.
Unfortunally I can't find any method, that is invoked at the end of this procedure.
Does anybody know a way?
Best regards
P.S.: I'm using cdt-master 8.0.0 for this.


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.

Diese Nachricht (einschliesslich aller Anlagen) enthaelt vertrauliche Informationen, die für einen bestimmten Empfaenger und Zweck beabsichtigt und gesetzlich geschuetzt sind. Bitte loeschen Sie diese Nachricht, falls Sie nicht der beabsichtigte Empfaenger sein sollten. Die Veroeffentlichung, Vervielfaeltigung oder Verteilung dieser Nachricht sowie die Vornahme von Handlungen aufgrund dieser Nachricht ist strengstens untersagt

Back to the top