Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Aaron B

Pages: 1 ... 55 56 [57] 58 59 60
841
Automation Interface, Add-Ins and Tools / Re: connector.Update() fails
« on: November 15, 2007, 08:59:15 pm »
Can you please specify what type of connector you are creating and what types the source and target elements are?

842
Would assume you could just use the relevant file system API calls for whatever language you are using to copy the EAP file.  Should probably make sure to close the file before copying however if you are accessing it through automation at the time.

843
This information should be available from Connector.MiscData(1).  This field is read-only from automation however.  If you intend to write values back to this field, you would need to make a direct SQL update to [t_connector].[PDATA2].

HTH.

844
Automation Interface, Add-Ins and Tools / Re: anyone for C++ ?
« on: October 23, 2007, 02:52:29 pm »
Have a look in the Sharepoint Services section of the EA User Group website under the "EA Add-Ins" topic.  There is a C++ Addin Framework project there that someone wrote a while back that may be of help to you.
http://www.eausergroup.org/

845
Automation Interface, Add-Ins and Tools / Re: MDG Integration for Eclipse
« on: October 09, 2007, 07:28:04 pm »
Compile-time generation of sequence diagrams is not possible at this time.  You will need to be able to run your application through the runtime debugger in order to record your sequence diagram.

For information on debugging Java Web Servers, see:
http://www.sparxsystems.com.au/EAUserGuide/debugging_java_web_servers.htm

Unfortunately I don't know enough about the subject myself, but hopefully the above link might help point you in the right direction.

846
Unfortunately there is no GetLatest functionality available in the Automation Interface at this time.

There is a Project.LoadControlledPackage(PackageGUID) function, but this is only designed for a single package and only uses package control (not the same as version control).  This function simply re-imports the local copy of the associated xml file into your model.

To perform the equivelent of a GetLatest call, you will need to manually get the latest versions of the xml files from version control, overwriting the copies in your working directory.  After you have the latest version of the xml files on your system, you should be able to call LoadControlledPackage to import these latest versions into your model.

To connect to a dbms repository from automation, you can either pass the full connection string into Repository.OpenFile, or you can create a shortcut eap file containing the connection string, and simply open the eap file (see below for details).

Example:
bSuccess = repository.OpenFile("OraEATest --- DBType=3;Connect=Provider=OraOLEDB.Oracle.1;Password=tiger;Persist Security Info=True;User ID=scott;Data Source=OraEATest")

The easiest way to obtain a copy of the connection string is from the "Open Project" dialog (File | Open Project).  Select the connection from the recent list, then copy the text in the "Project to Open" field.

To Save a shortcut eap file to your repository:
- Open you DBMS repository in EA
- File | Save Project As
- Specify a new filename and Save

HTH.

847
Perhaps try calling Repository.AdviseElementChange(elementID) after making your changes.  This informs EA that it should refresh information for this element in all relevant views.

If that doesn't work, perhaps try calling Repository.RefreshModelView(packageID).  Pass in the ID of the Package containing the element you are dealing with.

HTH

848
To extract a Linked Document from your model, try using the Element.GetLinkedDocument() method in the Automation Interface.
http://www.sparxsystems.com.au/EAUserGuide/element2.htm

849
Automation Interface, Add-Ins and Tools / Re: HTML generation
« on: August 09, 2007, 03:42:52 pm »
There is a Project.RunHTMLReport function in the API, but unfortunately this does still require you to install EA in order to use it.

850
Automation Interface, Add-Ins and Tools / Re: Package.FindObject method
« on: August 07, 2007, 02:26:38 pm »
If you do have any further problems with this, please send an email to support@sparxsystems.com.au with all the relevant details and we can try to look into this further.

851
Automation Interface, Add-Ins and Tools / Re: Package.FindObject method
« on: August 06, 2007, 09:06:31 pm »
Hello Tonu,
What version of EA are you running and what type of repository are you using?  I have tried this using EA 7.0.815 with an EAP file and did not have any problem with this function under VB 6.0.

852
Quote
The sequence position when loading into diagram (affects Z order). The Z-order is one-based and the lowest value is in the foreground.

According to the documentation, the lowest value is in the foreground, so it looks like you need to do your sequence numbering in the opposite direction.  I.e. Start with a higher zorder value and do '--' instead of '++'.

853
Also, make sure it's saved to a local drive (E.g. your C: drive).  Opening chm files over a network will also fail like you describe.
See http://support.microsoft.com/?kbid=896358

854
bittercoder,
EA 6.5 build 801 should be available very soon.  When it is released, please install and see if it resolves your issue.  If the problem continues, please submit a bug report with details on the issue
http://www.sparxsystems.com.au/support/bug_report.html

855
This issue should be fixed in the next build of EA (6.5.801).  If there are any problems after installing 801, please contact us again.

Pages: 1 ... 55 56 [57] 58 59 60