Author Topic: Upload .eap file into a Oracle repository  (Read 1434 times)

V.Wilmet

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Upload .eap file into a Oracle repository
« on: January 30, 2015, 04:10:04 am »
Hi,

Somebody could tell me how to proceed to upload all data from a .eap file into an existing repository ?

I've tried with "Copy package to clipboard" in the .eap file and "Paste package from clipboard" in the rpository. It works well with small or medium .eap files. But with some quite big I've got an ODBC error.

I've tried with export to XML but it does not include images used as appearance of objects.

So I need other suggestions ...

Thanks for your help.
Vincent (from Belgium)
« Last Edit: February 05, 2015, 08:55:22 pm by V.Wilmet »

qwerty

  • EA Guru
  • *****
  • Posts: 10631
  • Karma: +234/-195
  • I'm no guru at all
    • View Profile
Re: Upload .eap file into a Oracle repository
« Reply #1 on: January 30, 2015, 07:16:14 am »
Use Tools/Data Management/Project Transfer or for parts XMI ex-/import

q.

V.Wilmet

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Upload .eap file into a Oracle repository
« Reply #2 on: February 05, 2015, 08:53:10 pm »
Thanks for your answer but...
  • Using Tools/Data Management/Project Transfer will first erase the content of the repository... and I want to add the content of the .eap file to the existing repository.
  • Using Export/Import does not includes images (as I mentionned it in my first post).
So... another idea ???

V.

qwerty

  • EA Guru
  • *****
  • Posts: 10631
  • Karma: +234/-195
  • I'm no guru at all
    • View Profile
Re: Upload .eap file into a Oracle repository
« Reply #3 on: February 05, 2015, 08:59:34 pm »
There is an option (in the XML part IIRC) that allows to include images in the export.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9542
  • Karma: +275/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Upload .eap file into a Oracle repository
« Reply #4 on: February 05, 2015, 09:01:51 pm »
See http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1385089443/4#4

or use the search button with keywords "export image xmi" for more results.

Geert

V.Wilmet

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Upload .eap file into a Oracle repository
« Reply #5 on: February 13, 2015, 09:46:25 pm »
Thanks for your help. [smiley=dankk2.gif]

During import I've got several time a strange error (more than 100 times) :
    Error:
    Code = 0x0
    Source = Line : 0; char : 0
    Error Description = (null)


It's always during the import step : "Add classifier : <Use case name>".

What's the meaning of such error ?
And what incidence on the result could it causes ? Lost of informations, corruptions, ...  

Is somebody knows sth about that ?

Vincent.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9542
  • Karma: +275/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Upload .eap file into a Oracle repository
« Reply #6 on: February 13, 2015, 09:55:05 pm »
Vincent,

Before you start a project transfer you should do a Project Integrity Check and fix the issues.
Probably there are some ClassifierID that point to nowhere, or something similar.

If that doesn't help then you might want to check with Sparx support.

Geert

V.Wilmet

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Upload .eap file into a Oracle repository
« Reply #7 on: February 14, 2015, 03:39:14 am »
Thanks for advices... I will try.