Book a Demo

Author Topic: Generated delphi filename  (Read 3076 times)

Jeanluc

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generated delphi filename
« on: April 05, 2005, 07:37:29 am »
Hi,

I create a class TMyClass and I ask to generate delphi code. The created filename is uTMyClass.pas.
I need to get MyClass.pas. So, is it possible to configure EA to create a filename with first letter removed ?

Regards,

Jean-Luc (France)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Generated delphi filename
« Reply #1 on: April 05, 2005, 03:58:50 pm »
I'm afraid it isn't possible at this stage other than manually removing the u from each file before generating it.

Simon

Ettienne

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Generated delphi filename
« Reply #2 on: August 08, 2006, 06:20:23 am »
Hi,

I'm a complete newbie on EA (having moved across from Rational Rose). So far I like what I see, but I have this exact same issue (but in C++, not Delphi)

In Visual C++ (at least in v6.0 that I'm using) an MFC based class will be CMyClass, but saved by the IDE in MyClass.cpp/h. In Borland C++ Builder a VCL based class will be TMyClass, but equally saved in MyClass.cpp/h.

Granted, in both IDEs you can change the target file name but, since the convention does seem somewhat of a standard by now, I would prefer not to.

Simon's response was from more than a year ago. Is this limitation still the case?

Regards,
Ettienne

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Generated delphi filename
« Reply #3 on: August 08, 2006, 03:03:13 pm »
Yes it is.