| Summary: | Problem with concenating file-field in "Test Plugin RegexErrorParser" | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Andreas Tadic <andreastadic> |
| Component: | cdt-core | Assignee: | Project Inbox <cdt-core-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | Doug Schaefer <cdtdoug> |
| Severity: | minor | ||
| Priority: | P3 | CC: | elaskavaia.cdt |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andreas Tadic
> Compiler warning output: > C:/MyFolder/Subfolder/Animation.inl(27): warning: empty body in an else-statement You got "MyFolder" in your output > Pattern: (.*)/Myfolder/(.*)\((\d+)\): warning: (.*) but you placed "Myfolder" in the pattern. It won't match because of lowercase "f". And should not source lookup mapping be used for that instead? What source lookup mapping? (In reply to comment #1) > > Compiler warning output: > > C:/MyFolder/Subfolder/Animation.inl(27): warning: empty body in an else-statement > You got "MyFolder" in your output > > Pattern: (.*)/Myfolder/(.*)\((\d+)\): warning: (.*) > but you placed "Myfolder" in the pattern. It won't match because of lowercase > "f". Sorry for the typo, but it is in fact just a typo. In the real case, the casing is correct. PS: I'm also interested in what Alena means with source-mapping.. (In reply to comment #4) > (In reply to comment #1) > Sorry for the typo, but it is in fact just a typo. In the real case, the casing > is correct. I tested your patterns and it works fine for me. Note that your file has to be in a eclipse workspace in open project for this to work. Do you get any problem marker at all? If so, what you get in Resource, Path, and Location columns? > PS: I'm also interested in what Alena means with source-mapping.. She meant "Common Source Lookup Path" in Debug in preferences but it is not available for error parsers. There is also bug 295627. Andrew, I didn't realize the source have to be in a eclipse workspace in open project for this to work. That fixed it, sorry for the invoncenience and thank you for your response :) /Andreas |