Book a Demo

Author Topic: overall default language  (Read 3069 times)

GaryB

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
overall default language
« on: January 22, 2008, 09:33:09 am »
How can I change the default language for new projects? In older versions of EA there was a tempalte project that I used to choose but how now?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: overall default language
« Reply #1 on: January 22, 2008, 10:36:23 am »
Hi Gary,

You're encountering a side effect of the 'new' way EA starts projects. When you use the File | New Project function, EA makes a copy of the EABase project, then customizes the copy according to your directions.

Unfortunately EABase has a language setting. No matter what you set as your application-level default, each new project has the same project-level setting.

The good news is that there is a workaround. Make a backup copy of EABase.EAP - you'll find it in the directory where you installed EA - and then open the original. Set the default language, and any other global settings you want, then save the project. Now all your new projects will copy over your default language with the rest of EABase.

Of course this does not solve the problem, just moves it around. You will have to go through this whenever you want to change the default language.

It would be nice if we could specify the 'seed' project, perhaps from a user-maintained list. Thus far Sparx has shown little interest in this enhancement.

Another approach is to set up one or more projects, each with a standard configuration you often use. Immediately after you create a new project, use Tools | Data Management | Project transfer to copy one of your standard projects into the new project. This will give you a predictable base configuration. There is a possible disadvantage - you might end up with the same GUIDs for any elements that are copied over. This is best done with empty projects. Perhaps you could create an add-in to improve this by setting a unique GUID for the project root.

HTH, David
« Last Edit: January 22, 2008, 03:48:25 pm by Midnight »
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: overall default language
« Reply #2 on: January 22, 2008, 02:02:50 pm »
Quote
It would be nice if we could specify the 'seed' project, perhaps from a user-maintained list.

That option is there, on the Start Page: "Copy a Base Project..."

HTH,

Neil
The Sparx Team
[email protected]

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: overall default language
« Reply #3 on: January 22, 2008, 03:49:20 pm »
Thank you Neil,

I stand corrected!

And better yet, the Copy Base Project option allows you to reset the GUIDs in the copy to new values. Excellent!

David
No, you can't have it!