Book a Demo

Author Topic: How to reverse engineer  (Read 3281 times)

rjawanda

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to reverse engineer
« on: September 08, 2003, 10:37:14 am »
I am reverse engineering java code and I import a directory of java files. I see the class diagram being displayed on the screen (temporarily) and then it completely dissapears. The java code is imported but I want a Class diagram to be displayed.
If I drag the java code over into a class diagram all the relationships don't exist. When I see it (temporarily) during the second pass of the reverse it has relationships etc ( the whole ball of wax). Does anyone have an idea as to what I am doing wrong.
ie: I want to reverse engineeer java code and display the class diagram. V 3.60

jkorman

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: How to reverse engineer
« Reply #1 on: September 08, 2003, 08:09:24 pm »
Not sure what you're problem may be. Just to make sure I tried a several directory
package structure and everything reversed and the diagrams built as expected.

How are you importing your code? I use the following method [using v3.60.639]:

Right Click on Logical view:
  Select Code Engineering:
     Select Import Source Directory...
         Select Recursive (If needed) and Create Diagrams

Should do the job.

Jim

rjawanda

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to reverse engineer
« Reply #2 on: September 09, 2003, 03:38:05 pm »
Thanks,
I figured it out. The confusing part was that after I reverse engineer I didn't know what to do to see the class diagram. I had to pick the package name (mine is ca.husky.imanrmi) and then right select on the name imanrmi under the ca.husky.imanrmi and pick Open. This is how I was able to actually see the classes diagram. I am sure this was described somewhere in the docs but I read through the whole thing and couldn't find it.
Anyway... Thanks for your help.
Ron