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.

0
Avatar
Permanently deleted user

Hello Pierre,

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?


Are you building your code with Ant?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Yes, I am.

0
Avatar
Permanently deleted user

Any explanation? Workaround?

0
Avatar
Permanently deleted user

Hello Pierre,

Any explanation? Workaround?


Workaround: compile your code with IntelliJ IDEA rather than Ant.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Thanks. Any plan to support analysis from Ant compilation in the future?

0
Avatar
Permanently deleted user

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."

0
Avatar
Permanently deleted user

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...

0
Avatar
Permanently deleted user

Actually, it's been reopened and turned into a "new feature" request for a post-7 release.

0

请先登录再写评论。