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

Pattern 'filename\\.xml' at the root of the workspace is not found #35

Closed
sirde opened this issue Mar 2, 2017 · 2 comments
Closed

Pattern 'filename\\.xml' at the root of the workspace is not found #35

sirde opened this issue Mar 2, 2017 · 2 comments

Comments

@sirde
Copy link

sirde commented Mar 2, 2017

When generating the cppcheck.xml file at the root of the workspace and setting the pattern to 'cppcheck\.xml' the plugin did not find the file. I had to set the pattern to '.*/*cppcheck\.xml$' to find it which took me some time.

Is it possible to change it or document it ?

Also for diagnostic it would help to log the name (or number) of file found as the log "Found 0 violations from ViolationConfig [reporter=CPPCHECK..." doesn't indicate if there was an empty file or if no file was found.

Thanks for the great plugin !

@tomasbjerre
Copy link
Contributor

@sirde
Copy link
Author

sirde commented Mar 3, 2017

Thanks for the feedback.
Yes I did notice this text, but assumed that the initial ".*/" was for the "anywhere" condition and was not needed for a file located at root.

Good to know for the "fine" logs.

Anyway that's working nice for me now that it's configured correctly, adding those info in the doc could help some others ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants