Author Topic: Project.ProjectTransfer does not support transfer to .qea file  (Read 1506 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12666
  • Karma: +525/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Project.ProjectTransfer does not support transfer to .qea file
« on: November 30, 2022, 10:21:39 pm »
In v16.1 the new default file format is .qea.

Unfortunately, when using the API to automate project transfer, it doesn't work if you specify a .qea target file.
It works fine when specifying a .eapx target file.


Steps to Reproduce:
Execute code

Code: [Select]
dim transferCompleted
transferCompleted = projectInterface.ProjectTransfer(eapString, "C:\temp\export.qea", logfilePath)

with a valid connectionstrign in eapString, and a valid path to the logfile in logfilePath

Reported

Geert
« Last Edit: December 02, 2022, 04:05:51 am by Geert Bellekens »

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1266
  • Karma: +114/-10
  • Its the results that count
    • View Profile
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #1 on: December 01, 2022, 07:36:05 pm »
In the words of John McEnroe the American tennis player.
"You cannot be serious"

Happy to help
:)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12666
  • Karma: +525/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #2 on: December 05, 2022, 07:03:49 pm »
Received confirmation from Sparx that this is indeed not supported.

They have logged a feature request on my behalf.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8483
  • Karma: +246/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #3 on: May 02, 2023, 03:08:05 pm »
Received confirmation from Sparx that this is indeed not supported.

They have logged a feature request on my behalf.

Geert
As of April 2023, v16.1.1625, we have been able to transfer to .qea files from our main SQL Server Repository using Project.ProjectTransfer (the file names are variables - not literals).

However, the transfers are very slow!  Whereas before using .eapx files as the target, the transfers took 15-20 mins (for a nearly 2GB .eapx file), it now takes 2 hours (for a 2.25Gb .qea target file)!

Is this to be expected?  Is there any known reason why it takes so much longer?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1266
  • Karma: +114/-10
  • Its the results that count
    • View Profile
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #4 on: May 02, 2023, 05:18:50 pm »
Interesting we have a SQL Server central repository and when I do a project transfer to qea file it takes around 15 min for 1.7GB.
Happy to help
:)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8483
  • Karma: +246/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #5 on: May 02, 2023, 07:46:08 pm »
Interesting we have a SQL Server central repository, and when I do a project transfer to the qea file it takes around 15 min for 1.7GB.
Hi Sunshine,
Is that an API call or a manual transfer?  I might try a manual transfer and see if I get a different result.

Paolo

[Edit: It made no difference - manual transfer also 2 hours]
« Last Edit: May 02, 2023, 10:33:55 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1266
  • Karma: +114/-10
  • Its the results that count
    • View Profile
Re: Project.ProjectTransfer does not support transfer to .qea file
« Reply #6 on: May 05, 2023, 05:31:31 pm »
I kick it off via the user interface
Happy to help
:)