Analyze Dependency Matrix not working
I'm trying to use the "Analyze -> Analyze Dependency Matrix..." feature and I always get an error message:
No class files files were found.
DSM analysis can't be performed.
Other analysis modules (eg "Analyze Dependencies..") work fine.
Any clue?
I'm on Selena #7323.
请先登录再写评论。
Hello Pierre,
Are you building your code with Ant?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Yes, I am.
Any explanation? Workaround?
Hello Pierre,
Workaround: compile your code with IntelliJ IDEA rather than Ant.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks. Any plan to support analysis from Ant compilation in the future?
Pierre,
I ran into this problem myself while testing the EAP. I have yet to see what this Dependency Matrix is because I haven't gotten around to compiling the project with IDEA. In my company, we have standardized on using the ant build.xml to build the product; We don't want to rely on the IDE.
Dimitry,
I don't know if it is possible, but is it possible to show any better error message than "No class files were found"? Can't you detect that the class files exists but don't have the extra DSM metadata required? Or maybe you can just change the message to say:
"DSM metadata not found. You must run Build->Make Project at least once before DSM analysis can be performed."
I submitted a bug in JIRA about that:
http://www.jetbrains.net/jira/browse/IDEA-15606
Unfortunately, it was immediately set to "Won't fix". Too bad...
Actually, it's been reopened and turned into a "new feature" request for a post-7 release.