Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: cuninghamd on June 18, 2008, 10:25:35 pm

Title: automation of show differences
Post by: cuninghamd on June 18, 2008, 10:25:35 pm
Hi,
   I've had a look on the forums & help file but so far have not had much luck. I'm trying to find a way to to automate the production of the differences xml file that can be produced (i.e. when you do a show differences in the manage baselines dialogue there is an option to log to xml ) so it can be parsed and a more elegant report produced - also I wish to log the differences into a database or spreadsheet to be able to graph the numbers of changes periodically as well.

i.e. a way to programatically select the project-->manage baselines dialogue, set the log to xml and execute the show differences command, pick up the resulting xml file and import it into excel or a database (i can manage that !) to do time based reporting.

Can anyone point me in the right direction ?

Thanks

Dave.
Title: Re: automation of show differences
Post by: «Midnight» on June 18, 2008, 11:22:40 pm
If it is just time-based reporting you are interested in, take a look at the auditing feature of EA. Perhaps that would provide an easier solution.
Title: Re: automation of show differences
Post by: cuninghamd on June 19, 2008, 12:46:30 am
Hi Midnight,
   thatks for the tip - unfortunately the way we have set up EA the auditing function does not suffice - as we are operating without a central daabase. - sharing is done purely via checkin to svn. so the audit logs will remain local on the users workstation.

& I don't want to get messy with exporting the audit from all the workstations !

any other sugestions ?

Thanks,

Dave.
Title: Re: automation of show differences
Post by: Eve on June 19, 2008, 09:00:21 am
Are you wanting Project.DoBaselineCompare()?
Title: Re: automation of show differences
Post by: cuninghamd on June 19, 2008, 08:12:35 pm
Simon,
   That looks just the ticket ! - thanks. Obviously I couldn't see the wood for the trees when searching the help .

Thanks again,
Dave.    :)