Book a Demo

Author Topic: Issue with amending the Local File for a Class  (Read 2354 times)

sbarkeruk

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Issue with amending the Local File for a Class
« on: April 06, 2005, 09:19:38 am »
I have reverse engineered a project and if I go to the Class properties dialog then click File then I can see the file listed.

However, I deleted the file then entered a different file to replace it.

I did this for each file in the project (so that I can generate code and compare the orgional code with the newly generated code in the new local files, for the sake of the evaluation).

However, when I click Code Engineering | Generate Source Code the old local file names (that I deleted) are shown under Target File!!

Is this a bug or is there somewhere else I can change this?

I am concerned because I will want to use the product for both forward and reverse engineering options, but there seem to be quite a lot of issues (See my other postings). Despite this I am still hoping that this can be resolved (whether it is my fault, due to inexperience of the product, or a bug), so I await your advice.

Regards,

Simon.

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Issue with amending the Local File for a Class
« Reply #1 on: April 06, 2005, 04:23:35 pm »
Hi Simon,

Please find the filename in the Properties dockable window (View->Properties).  This is the field that is used when generating code.

HTH,

Ash

The Sparx Team
[email protected]

sbarkeruk

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Issue with amending the Local File for a Class
« Reply #2 on: April 07, 2005, 04:02:30 am »
Aha, great! A whole new area that I did not notice existed!

However, one point: Until now I have been right-clicking on the class (in project view) and choosing Properties (instead of using the 'other' properties form that you have just introduced me to).

Is this not a bit confusing having two properties forms that each refer to a class, especially when they are both given the same name (Properties) with nothing to distinguish between them? Would it not be easier having the same options in each?

Just a thought for future changes (with UI Visibility, etc in mind).

Thanks for the help again, but hope that my comments are also useful to you.