1
Automation Interface, Add-Ins and Tools / Re: Automated backup from a database source
« on: April 02, 2016, 12:57:24 am »We tried to use the API provided by Sparx, but the "ProjectTransfer()" method is the only method that is not accessible from the outside, it seems private. We are thinking about re-compiling Sparx' dll....
Anyone ever used the ProjectTransfer() method with Java ?
Please confirm that you have EA 12 or higher installed. The Java API was updated in EA 12 to add several methods and attributes that had previously been missing, including ProjectTransfer(). If possible, please update to the latest build of EA, then make sure to use the latest eaapi.jar and SSJavaCOM.dll files from that version.
Hi Aaron,
You were right, the version of the Java API was incomplete in version 9. We got the same answer for Sparx support.
But they wrote us that in the scripting interface, the ProjectTransfer function was fine in version 9 !
We ran the script using EA 12 and got no errors !!

So our problem is now solved.
What a waste of time !
