Book a Demo

Author Topic: Help with Profile  (Read 11897 times)

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
Re: Help with Profile
« Reply #15 on: June 05, 2008, 08:44:43 am »
There has to be a special secret with the toolboxes. Meanwhile, I have restarted UML profiles and toolbox profiles several times.

I have these two folders and creating my UML profile from the first folder, creating an XML file and then importing it as "UML profile" is no problem at all. I just followed the documentation there, which works very well.

But when I try to create a toolbox profile, the exported XML seems to be defect though it doesnt throw any error. I wish there was an understandable example for a toolbox profile somewhere ... :-(

Thanks so far, Simon !

Greetings
Bernd

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Help with Profile
« Reply #16 on: June 05, 2008, 09:53:15 pm »
That's something I've asked for many times. There just does not seem to be anything available at all.

[Why this is so is a mystery. I accept it as one of the 'imponderables' of life, as thinking about it will almost certainly not make me happy.]

Sigh...
[edit]The "this" I used above meant a full EAP example file with all components of a 'fully worked' profile.[/edit]
« Last Edit: June 05, 2008, 10:58:19 pm by Midnight »
No, you can't have it!

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
Re: Help with Profile
« Reply #17 on: June 05, 2008, 10:35:51 pm »
I think EA is an excellent tool, so I dont want to blame these guys. I really try to look for a solution.

Creating UML Profiles was really easy and straightforward. I used the documentation and went through it step by step. That's ok.

But when it comes to toolboxes, I tried my best, but I dont find the reason for that strange behaviour. I can create a MDG Technology (mts file), I can import it, but the MDG Technology is totally empty ! I even cant see the UML profile in the MDG technology, though it is in the XML. And when I load the UML profile using the resource tab, it is being displayed.

So, I really would like to see a EAP file with working UML profiles and toolboxes, where I could learn from ...

Best wishes
Bernd

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Help with Profile
« Reply #18 on: June 05, 2008, 11:10:12 pm »
Agreed Bernd.

NB: See my edit above, though it does not detract from your observation.

MDG Technologies have to be assembled by hand. In cases beyond very simple constructs the process quickly becomes labor intensive, and very fragile. There is a high probability of simple errors - file overwrites, missed steps, version mismatches, data values out of sync - which quickly overwhelms attempts to build things correctly.

Some (many) of these errors result in some visible failure when the technology is deployed, most being annoyances or things that are obviously wrong. A few problems lead to scenarios where the technology is not completely correct, but the flaws can be subtle and difficult to find immediately; there is a danger that these problems will make it through testing and into deployed products.

Even worse, attempts to correct even minor problems often require that the entire sequence of manual steps be repeated. This essentially resets the counter for simple mistakes, as each step could be done incorrectly this time, even if it had been correct before. It is like retyping an entire document by hand to fix a spelling error. You run the risk of incorrectly spelling any words in the document, including the one you intended to correct, in the new version. All your earlier correct work is now at risk. The larger the document, the smaller the chance that you will get the entire thing correct; it quickly becomes essentially impossible. So too with MDG Technologies.

I have had almost no luck addressing this issue with Sparx. They have resolved several bugs that could corrupt the technology even if the development work was done without error. They have also been excellent at updating specific documentation errors I've pointed out. But they have not as yet been able to address the overall issues.

'nuff said...
No, you can't have it!

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Help with Profile
« Reply #19 on: June 05, 2008, 11:21:26 pm »
Quote
So, I really would like to see a EAP file with working UML profiles and toolboxes, where I could learn from ...

Actually there is no UML prolife working the way you expect it. Either you load it the old way (through the resources tab), then you can see it in the resources window and can synchronize tagged values. But the toolbox profile won't work.

Or you load it the new way (putting it into the default folder, or adding the folder where the xml file resides through the Settings-MDG Technologies dialog. Then it won't be visible in the resources windows and you cannot synchronize tagged values. But the toolbox profile will work.

And more weird things will happen. A new element dragged from one of your toolbox pages will be created not in the diagram's parent package, but in the package selected in the project browser. Sometimes stereotypes will not be visible in the project browser until you select the respective element. Elements will not get the tagged values defined in the profile when you change the stereotype (or when you set the stereotype via automation). Meaning of course that things like association ends will never get the tagged values, no matter what you define in the profile.

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
Re: Help with Profile
« Reply #20 on: June 05, 2008, 11:49:07 pm »
I dont understand how people create extension profiles for BPMN, SysML, Webmodeling and the others.

How could these guys get these results ?

Greetings
Bernd

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Help with Profile
« Reply #21 on: June 06, 2008, 08:53:08 am »
Quote
I can create a MDG Technology (mts file), I can import it, but the MDG Technology is totally empty !
No, don't import technologies - the toolbox profile won't work. Go to "Settings>MDG Technologies" and point to your technology then restart EA.
The Sparx Team
[email protected]

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Help with Profile
« Reply #22 on: June 06, 2008, 09:11:23 am »
Quote
No, don't import technologies - the toolbox profile won't work. Go to "Settings>MDG Technologies" and point to your technology then restart EA.

As documented on

http://www.sparxsystems.com.au/EAUserGuide/index.html?deploying_mdg_technologies.htm
Best Regards, Roy

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
Re: Help with Profile
« Reply #23 on: June 08, 2008, 05:30:18 am »
Hello,

I finally succeeded in creating a MDG technology. The main issues were:

You have to put a "<UIToolboxes ...>" section into the MTS file (manually !!). The wizard does not create this section, so it has to be done by hand.

The MDG Technology menu starts a wizard, which creates a complete technology XML, which includes all assets (toolbox, profiles, images etc.). The wizard uses the MTS file to generate the technology XML.

Finally: After creating the technology.xml, you need to restart EA.

Thanks to everyone who jumped in and helped me !!

Greetings
Bernd