Book a Demo

Author Topic: can't view reverse engineered diagram  (Read 2598 times)

shahbaz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
can't view reverse engineered diagram
« on: September 01, 2004, 06:02:21 pm »
I'm trying import .java files into ea.  I've tried everything the help docs say:  Project->Source Code Engineering->Import Java, do the same by right clicking on Logical Model, etc., etc.

I seems to read through the directories (in fact it spends a lot of time processing).  It even shows the right statistics (right number of packages, java files, etc.), but I don't see anything on screen!  The Logical Model ends up with the right directory structure, but that directory structure doesn't contain any class files.  When I drop in a new class, it shows up on screen as well as in the logical model (the one in Project View).

Any ideas?
Thanks.

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: can't view reverse engineered diagram
« Reply #1 on: September 01, 2004, 08:17:00 pm »
Hello shahbaz,

Your source files probably contain unicode characters.
If you are not using the the Unicode version of EA, please try installing this and re-import.

As of EA build 733 (Unicode version)- an option is available to set the code page for source files under:
Tools | Options | Generation. You may need use this option.

I hope this helps. If there is still a problem importing, please send us a sample file to [email protected] so that we can reproduce the problem.

Regards,
Ben

shahbaz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: can't view reverse engineered diagram
« Reply #2 on: September 06, 2004, 12:39:10 pm »
OK, I dloaded the UC version.  Still no luck.  I even specifically saved one file in UTF8 format, then changed EA's codepage to UTF8, but even that file didn't show up.  I changed the default codepage to us ansi, still nothing shows up.  When I do 'Project->Source Code Engineering->Import Source Directory' and pick my source directory, EA spends several minutes getting the packages and files.  In fact (as noted in previous message) the correct directory structure shows up under Logical View->Logical Model, but I don't see any individual classes.  By the way, in the previous version, I would see actual UML diagrams show up at least while they were being imported, I don't even see that in this version.  Just a blank screen where uml diagrams should be!!!

I'm using windows xp professional.  The source code is actually from axion.tigris.org (open source database) ... direct extract from their cvs tree using eclipse.

Hope someone can help me solve this.  Thanks.

Shahbaz

shahbaz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
update
« Reply #3 on: September 06, 2004, 01:06:26 pm »
Ok, I just changed the codepage to 1252 (ANSI LATIN-1) and then re-imported source directory...now I see a small percentage of diagrams show up...even though all files have the same code page...weird!