Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger, Exception & minor fixes #90

Merged
merged 12 commits into from
Sep 11, 2017
Merged

Logger, Exception & minor fixes #90

merged 12 commits into from
Sep 11, 2017

Conversation

WaldoFR
Copy link

@WaldoFR WaldoFR commented Sep 10, 2017

Changelog

Omar WALDMANN added 12 commits September 4, 2017 18:16
- Every exceptions thrown by checkers are sending more informative
messages

- Code was improved as defined in cnescatlab#77 with a logger & part of PMD &
checkstyle issues were solved

About the logger, a new class UILogger was made. It runs
org.eclipse.logger logger so all the logs are written directly to /*.log
file of ./metadata of workspace and /configuration of eclipse folder.
To precise the level of log a parameter must be indicated on the launch,
as defined in this page :
(https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html
). So the following argument can be used to define level of the logger
-Declipse.log.level=<level> where level can be INFO, WARNING, or ERROR.

An important change was made on ConfigurationPagePreferences that was
using CheckerTableViewer and MetricsTableViewer in a composite
Container. These class are now extending Composite that contains a
search SWT.label, a SWT.Text (for the search input) and a TableViewer
with Checkers and parameters relatives to them. Old composite containing
these class was replaced by the new CheckerComposite and
MetricsComposite.
… differ.

View displays informations of violations of the same file, rules, and
same line only in the case the message differs, this happens frequently
when message contains variables names. 
However, violations raised by the analysis on the same file on the same
line with the same message willn't be displayed.
+ New columns (language & message)
+ String [--] was removed in Values column when a violation has no value
and replaced by an empty string.
+ information on file are being displayed only when the checker has a
value
+ separator which was [,] was edited to be a tab [\t] as some message
contains commas.
@dupuisa dupuisa merged commit 4506667 into cnescatlab:V3-dev Sep 11, 2017
begarco pushed a commit to begarco/i-CodeCNES that referenced this pull request Jan 25, 2020
Logger, Exception & minor fixes
begarco pushed a commit that referenced this pull request Feb 2, 2020
Logger, Exception & minor fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants