Author Topic: How to create a BLANK EA model?  (Read 5652 times)

Kopi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
How to create a BLANK EA model?
« on: March 30, 2004, 01:42:43 pm »
Hi!

How may I able to create a blank EA model?

No base types, no packages, nothing...just a blank database...

Thanks,
Attila

thomaskilian

  • Guest
Re: How to create a BLANK EA model?
« Reply #1 on: March 31, 2004, 12:14:20 am »
Take the EABase.EAP, strip it off, save as EABlank.EAP. You're done.

Cheers,

Thomas

Kopi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How to create a BLANK EA model?
« Reply #2 on: March 31, 2004, 12:22:55 am »
Yes, I figured this out....but it is a "hack", and not EA supported....

I check out the database (the EAP file), and there are some data which should be included in a "blank" EAP file like datatypes.

EA should have an "internal" database which contains only this tables, and have an automation method like NewModel, because now you can get a Repository, and you must call LoadFile or LoadFile2 to begin your work.

If you develop an external tool then you can't depend on an external file if you like to build a model from scratch.

I hope Geoffrey will read this  ;D and will make the neccessary steps :-)

Thanks,
Attila

Stephen

  • EA User
  • **
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: How to create a BLANK EA model?
« Reply #3 on: March 31, 2004, 12:33:37 am »
You could always base everything on a completely empty database - from the server script file.

Then add all your metadata from a corporate profile.... Then you could control all datatypes, stereotypes etc.

Or, start from the base script and add all metadata through the automation interface, to again create your own corporate standard.

Might be quicker to strip out the base.eap file though!

Kopi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How to create a BLANK EA model?
« Reply #4 on: March 31, 2004, 02:58:54 am »
What about if I'm using EAP files and not SQL?

What do you mean under corporate profile?

Thanks,
Attila

Stephen

  • EA User
  • **
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: How to create a BLANK EA model?
« Reply #5 on: March 31, 2004, 03:10:07 am »
Hi there,

I was highlighting the SQL script as the only "supported" or "official" data repository without any metadata.

You can set up your own profiles to determine your own, unique, set of stereotypes and custom extensions etc. So this route would provide a (version) indepedent way to manage your own model artifacts.

The "best" way forward is still likely to be to create your own base model. Sparx are very likely to support upgrading models across version changes - as we've just seen with the move to EA4. So your in-house empty model will just be upgraded by the system won't it?

The simplest thing is likely to be the best (and I find that intensely irritating most of the time too!)

Stephen


Kopi

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How to create a BLANK EA model?
« Reply #6 on: March 31, 2004, 03:28:47 am »
Hi!

Now it's clear what did you mean! :-)

So from this:

- From a programmer's perspective there should be a program setting that which one is you default base model (which can be customized for company profiles :-))
- If the previous setting exists there is a real cause for the New () method in the UI and in the automation model too :-)

Thanks,
Attila