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 - Wowbagger

Pages: 1 2 [3] 4 5
General Board / Re: Mac OSX Version?
« on: September 10, 2009, 05:20:30 am »
Would it be possible to have some form of poll, or sticky, or other mechanism so that those of us who are running That Which Is Not Windows can have one place to make our voices heard?

General Board / Re: Destructive XMI Import
« on: September 10, 2009, 04:53:58 am »
How has that been working out? I've been trying to do the same thing, and having no end of bad luck - losing other people's work, losing my own work, scrambling the model.

Trying to merge multiple branches of XMI has been a real challenge for me - I'd love to talk to somebody who has been having good luck.

General Board / Re: Diff model from command line?
« on: September 09, 2009, 11:26:32 pm »
I consider all of this the same thing - I am trying to deal with the fact that I cannot make EA play nice with a version control system that supports the concept of multiple branches with different development going on in each branch.

My project is at a standstill due to this - I *need* to have multiple programmer/analysts working on different aspects and be able to pull their work together, to hit my schedules. However, I have found the EA diff tool to be very unhelpful in actually merging changes like this, as I don't feel the way the data is presented allows me to meaningfully identify what are real changes, and what are noise - when I do a diff I get items being marked as different that, when I inspect them, are not visibly different. EA doesn't handle three way merges at all, so merging the divergent work of multiple analysts into a coherent whole is VERY difficult.

It seems to me that the design model of EA primarily supports a linear model of code evolution - not a branched version. Perhaps that is different with a VCS that EA knows how to talk to.

General Board / Or even canonicalization?
« on: September 09, 2009, 08:41:44 am »
One of the things that is killing me is that the XMI is not consistent from run to run - entities are output in different orders, attributes (UML, not XML) are put out in whatever order EA seems to feel like, and as a result minor document edits are turned into major differences.

If EA would canonicalize the output - ALWAYS output the XML in a predictable and consistent way - then these merges would be much easier to handle.

This could even be handled by an XSLT after the XMI is generated.

General Board / Three way merge?
« on: September 09, 2009, 08:11:12 am »
On the same subject, does EA support a three way merge - that is, given 2 different files A and B, and their common ancestor file C, handle merging the 2 files in a meaningful way to yield D, a combination of A and B.

Really, it seems to me that making EA handle proper version control outside of the limited choices built in is very difficult - if you have one developer and are using version control as a "backup" type system it does OK, but if you have multiple people trying to work together and meaningfully manage their changes it seems to fall apart.

General Board / Re: Diff model from command line?
« on: September 05, 2009, 01:12:07 am »
IF I can script EA in Javascript

AND IF I can hook into the right menus

AND IF I can have EA invoke external programs

THEN I might be able to set a Javascript interface to allow EA to manage the VCS - thus making EA "git aware" - and that would meet my needs.

Are there any good guides I could look at?

General Board / Re: Diff model from command line?
« on: September 02, 2009, 11:21:49 pm »
Yes, but from what that page says it sounds like I would have to have one of my Windows developer write the code to actually do the invocation of EA, load the files, etc.

I was hoping that there might have been a simple set of command line parameters so that I wouldn't have to write a non-trivial program to accomplish this need.

General Board / Diff model from command line?
« on: September 02, 2009, 02:15:59 am »
Is there any way to invoke EA from the command line to have it bring up a package diff?

My situation is this: my VCS can invoke a custom command when a merge needs human intervention, passing 3 file names: the file to be merged into, the file to be merged from, and an output file where the merge is expected to be written. Ideally, I'd like to have that invoke EA, load the "to be merged to" file as a package, do a package diff against the "to merge from" file, and then allow the user to manually merge the files, and when done, export the file to the "merged file" and exit with return code of 0.

Is there any way to make that happen?

General Board / XSLT to strip timestamps?
« on: September 02, 2009, 02:19:45 am »
Does anybody have an already existing XSLT to strip out the various timestamps from exported XMI files? Those timestamps, and a few other items, are causing me no end of grief when merging commits from my developers, as they pretty much guarantee that ANY merge will have conflicts that require manual intervention, as the tool will see those time stamp changes as deltas and won't know they don't really matter.

Ideally, I'd like to strip ANYTHING that amounts to a "change that isn't a change" - timestamps, file path info, etc.

General Board / Re: Exporting, importing and merging XMI files
« on: August 26, 2009, 11:04:10 pm »
As long as you go with the exclusive checkout you should be fine (no need to merge things)
The bad thing is that I have reasons to have multiple people working on the elements within the project, which is why I am using a distributed VCS (git).
The Compare utility in EA works fine, but it still requires a lot of manual work sifting to the myriads of changes.
I'll look into that.
You might want to look into the controlled packages feature.
That is what I am doing: each sub-section of the project is a controlled XMI file.

The problem seems to be that when the XMI files are regenerated from the package, the XMI file is being changed in ways above and beyond the actual changes in the model: in other words, if Programmer A adds a requirement, and Programmer B adds a use case, rather than the XMI files being changed only to the extent needed to represent those changes, the files are being changed all over the place, preventing GIT from being able to merge what ought to be two orthogonal changes.

General Board / Exporting, importing and merging XMI files
« on: August 26, 2009, 07:02:48 am »
Since EA doesn't understand GIT, and that's how we store things, I am trying to see if I can make it work manually I'd appreciate any help anyone can give.

What I am doing is:
1) Create model in EA.
2) Export package(s) to a working directory as XMI.
3) add those packages to the Git repository.
4) Other architects then check out that directory from the repo.
5) Other architects import the XMI files into EA.
6) Other architects modify the models.
7) Other architects export the models back to the XMI files.
8) Other architects commit their files to GIT.
9) I pull their changes from the GIT repo into the XMI files
10) I import the XMI back into my EA model.

Lather, rise repeat.

However, things blow up at step 9 when I have local changes and they have changes: due to the way the XMI files are written Git is unable to resolve and merge the changes, and I am left with an XMI file full have conflicts.

My questions are:
1) Is there a better way to get EA to play nice with GIT?
2) If not, is there a better way to export the models to make merging easier?
3) If not, is there a better way to have EA handle merging the XMI files?

General Board / Re: Speeding EA up, esp. under Wine
« on: August 24, 2009, 11:57:22 pm »
What Linux distro are you using?
What crossover Version?
What are you doing when it slows down? (Viewing a Diagram?, Adding an element?)
Debian Lenny, with Crossover Professional 7.1.0.

It's hard to pin down exactly WHAT is going on. There are times I've seen EA and wineserver fighting for CPU, sometimes it's EA and Xorg.
If you are using Ubunutu 9.04, it has a issue when drawing diagrams using the "Enhanced-1" renderer. (set it to Basic from
Menu Tools -> Options -> Diagram -> Apperance )
I will try that and see what happens.

General Board / Speeding EA up, esp. under Wine
« on: August 21, 2009, 05:54:21 am »
I'm running EA under Crossover Wine, and notice that there are some times the program gets really slow. Looking at a top session shows one core being split between wineserver and EA - and the other core doing nothing.

I was wondering if setting up a dedicated, local database server - PostGress, MySQL, etc. - and telling EA to use that would help things out at all?

Generalizing the question away from Wine - do any Windows users have any insight on whether a separate database engine helps speed EA up or not?

General Board / Re: Using GIT as a verson control solution?
« on: August 10, 2009, 11:41:02 pm »
You'll need to find an scc client I suspect.

Given that SCC is a MS only protocol that requires and NDA to implement, I seriously doubt we'll be seeing a SCC bridge to GIT any time soon, unfortunately.

General Board / Using GIT as a verson control solution?
« on: August 04, 2009, 01:53:03 am »
I am looking at trying to do a very distributed design effort, and we are planning on source code being managed by GIT, for all the normal reasons you'd choose GIT vs. the other solutions - especially since we are wanting to be able to farm out work to contractors without having to provide them with access to our internal servers any more than needed.

Ideally, I'd like to use GIT to manage the UML models as well, to allow releases to track different versions of the model, and to help merging model changes that happen across sites, including contractor sites - which is why I'd rather NOT use a shared database (plus the issues of accessing various versions of the model and tracking changes).

Does anybody have any experience in tying EA into GIT?

Pages: 1 2 [3] 4 5