Book a Demo

Author Topic: Java Package Dependencies?  (Read 4931 times)

ukmtk

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Java Package Dependencies?
« on: January 16, 2009, 09:34:54 pm »
Suppose I import a whole load of Java code into EA.
Is there a view that allows me to see dependencies between packages rather than classes?

drjeks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Java Package Dependencies?
« Reply #1 on: January 16, 2009, 10:58:45 pm »
I'm after the same, but for C# assemblies. I've created one manually for part of the system using Reflector (project references not dependable) but it would be great for such a useful overview diagram to be automated. (Sorry Java folks for sneaking into this forum, but this is probably a language agnostic issue  ;) )

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Java Package Dependencies?
« Reply #2 on: January 19, 2009, 08:16:48 am »
EA doesn't create dependencies between packages when reverse engineering.

The easiest way you could do this would be to use automation to loop over the contents of packages looking for links to classes in other packages.  Then add the packages to the diagram  (Package.Element) and add the dependency between them.

drjeks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Java Package Dependencies?
« Reply #3 on: January 19, 2009, 11:35:53 pm »
Thanks Simon, will try that.