Copy link to clipboard
Copied
Hi,
I have the misfortune that my flex application base package is like "com.foo.frontendview". I didn't choose that package name and I cannot change it. Thus, every import I have in the model, for instance: "com.foo.frontendview.vo.PersonVO" shows a ViewComponentReferencedInModel violation.
Can this rule be changed to a more accurate implementation? Instead of searching for the substring "view" in the whole import sentence (the full qualified class name), you could seach for the "view" substring only in the simple class name (removing the package).
Regards,
Alex
It is fixed against trunk. You will find attached the latest ruleset.jar
Cheers,
Xavier
Copy link to clipboard
Copied
Can you post a enhancement request on JIRA, please?
Xavier
Copy link to clipboard
Copied
+1
did you post a request, if so can you post link so i can vote
Copy link to clipboard
Copied
Here it is: https://bugs.adobe.com/jira/browse/FLEXPMD-122
Copy link to clipboard
Copied
Copy link to clipboard
Copied
How fast! Thanks for the quick fix. I've tested it and it's working fine