Book a Demo

Author Topic: how to create an empty project?  (Read 5673 times)

chrvi

  • EA User
  • **
  • Posts: 75
  • Karma: +0/-0
  • There are so many hidden features...
    • View Profile
how to create an empty project?
« on: September 19, 2007, 02:28:28 pm »
Hi there,

I've always worked through Java API with an existing .eap file but how can I create new such a file (containing let's say one class view model)?

I bet I've seen it discussed somewhere but...

All your hints are welcome.

Radek
« Last Edit: September 19, 2007, 02:29:20 pm by chrvi »
Radek

thomaskilian

  • Guest
Re: how to create an empty project?
« Reply #1 on: September 21, 2007, 01:25:55 am »
File/New ?

If you are talkig about DB repository: chose the above to create an empty EAP. The create a new DB as usual and transfer the empty EAP into that.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: how to create an empty project?
« Reply #2 on: September 21, 2007, 03:24:14 am »
Or actually create an empty template project, stored someplace predictable. Through your API copy the template to your target location and name. Then open it as usual.
No, you can't have it!

chrvi

  • EA User
  • **
  • Posts: 75
  • Karma: +0/-0
  • There are so many hidden features...
    • View Profile
Re: how to create an empty project?
« Reply #3 on: September 21, 2007, 03:41:44 am »
Well, actually I'd like to create a brand new .eap via automation interface without any prepared existing .eap files somewhere.
I do not want to be dependent on some storage with an empty .eap file.
It'd be fine for me to create it on the fly...
Radek

thomaskilian

  • Guest
Re: how to create an empty project?
« Reply #4 on: September 21, 2007, 03:43:52 am »
Then why not use the good old COPY? Create an empty EAP manually, then copy it...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: how to create an empty project?
« Reply #5 on: September 24, 2007, 01:14:52 pm »
Quote
Well, actually I'd like to create a brand new .eap via automation interface without any prepared existing .eap files somewhere.
I do not want to be dependent on some storage with an empty .eap file.

Even EA can't do this.  It relies on EABase.eap being in the same directory as the executable.

bmioch

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: how to create an empty project?
« Reply #6 on: September 24, 2007, 07:08:18 pm »
chrvi, when EA creates a new project, it copies the EABase.eap file from the install directory of EA.

chrvi

  • EA User
  • **
  • Posts: 75
  • Karma: +0/-0
  • There are so many hidden features...
    • View Profile
Re: how to create an empty project?
« Reply #7 on: October 01, 2007, 10:43:43 pm »
I see... OK.

Thanks, guys.
Radek