Details
Description
When analyzing a flex project, we are able to see correctly the mxml files that are stored at root level, but not files that are stored in a directory.
I added the analysis for mxml as well as for as (by the way it may be good to analyze by default those two extensions to avoid getting questions about that).
I attached a simple project where the file FlexSonarSourceMXML at root level is correctly displayed after the analysis but the file FlexSonarSourceMXML1 located in directory pk1
I also attached a screenshot of sonar analysis where it appears that sonar is considering the second file differently.
Activity
Evgeny Mandrikov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Evgeny Mandrikov [ godin ] |
Evgeny Mandrikov
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Evgeny Mandrikov
made changes -
| Status | In Progress [ 3 ] | Open [ 1 ] |
Evgeny Mandrikov
made changes -
| Assignee | Evgeny Mandrikov [ godin ] |
Eugene Zadyra
made changes -
| Attachment | Fixed_issue__Ability_to_view_source_for_MXML_files___JIRA__SONARPLUGINS-1062.patch [ 57994 ] |
Evgeny Mandrikov
made changes -
| Patch Submitted | Yes [ 10070 ] |
Evgeny Mandrikov
made changes -
| Assignee | Evgeny Mandrikov [ godin ] | |
| Fix Version/s | FLEX-0.5 [ 18265 ] |
Evgeny Mandrikov
made changes -
| Assignee | Evgeny Mandrikov [ godin ] |
Fabrice Bellingard
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Fabrice Bellingard [ fabemn ] | |
| Resolution | Fixed [ 1 ] |
Freddy Mallet
made changes -
| Assignee | Fabrice Bellingard [ fabemn ] | Freddy Mallet [ freddy.mallet ] |
Freddy Mallet
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee | Freddy Mallet [ freddy.mallet ] | Fabrice Bellingard [ fabemn ] |
Hi Stephane,
First of all - I wonder why your code doesn't contain "package" declarations ( http://livedocs.adobe.com/flex/3/html/help.html?content=basic_as_2.html ) ?
Second - do you know about property "sonar.flex.file.suffixes" (Settings -> Flex -> File suffixes) ?