Book a Demo

Author Topic: changing source code path for reverse engineering  (Read 4434 times)

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
changing source code path for reverse engineering
« on: April 09, 2004, 09:44:20 am »
Hi,

The class diagrams of my project were generated using "Project->Source Code Engineering->Import Directory Structure".  Now I need to update the class diagrams by "Project->Source Code Engineering->Update Package Contents". My source code files are now in a new path (the orinigal path no longer exists). But I got "Error reading file:%filename%" error. Ea keeps looking into the path that the package was imported.  I find the ways to set source code path for generating new code. But I did not find a way to change the source code path of a package for reverse engineering.  Can anybody help?


Thanks a lot!


yun

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: changing source code path for reverse engineer
« Reply #1 on: April 13, 2004, 04:17:42 pm »
Hi yunwang,

The Filename setting under class settings is used for both forward and reverse engineering.

Simon

yunwang

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: changing source code path for reverse engineer
« Reply #2 on: April 14, 2004, 07:54:29 am »
Thanks Simon!

But after adding a new path for a class (and the  package) I tried to update the package content, EA pops up error window. The path mentioned in the error message is the old and no longer exiting path.


---------------------------
EA
---------------------------
Error reading file:C:\install\Tomcat\webapps\my\WEB-INF\src\java\com\my\Test.java
---------------------------
OK  
---------------------------



What else do I need to do?  I am using EA version 3.6.


Thanks,


yun
yun