Book a Demo

Author Topic: Synchronization Not Supported?  (Read 2701 times)

tclose

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Synchronization Not Supported?
« on: February 26, 2009, 08:42:57 am »
My reviewer of EA reports that synchronization isn't supported for custom languages.  I want to confirm within this forum.  He says "synchronization", but that's not really what I want...I just don't want to lose my manual edits.

Here's what I'd like to do:

Step 1: Develop a set of MDA transformations with many languages.  One language being a custom text only language.  

Step 2: Use EA to define a Class Model.

Step 3: Perform the MDA Transformation and Code Generation for multiple langauges at once, including my custom textual language.

Step 4: Manually add new content to my generated textual custom language file(s).

Step 5: Update my model in EA with unrelated changes.  

Step 6: Re-run the MDA Transform and Code Generation.

Step 7: Verify that my manual updates from Step 4 still exist in the generated custom language text file (along with new generated content from the model revisions within EA).


Is it possible to keep my manual edits from Step 4 after I re-do the MDA transform with a custom language?

(I don't need to bring my manual edits into the model...they are not related to the model)


Best Regards.  -T
« Last Edit: February 26, 2009, 08:45:26 am by tclose »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Synchronization Not Supported?
« Reply #1 on: February 26, 2009, 09:01:45 am »
It won't work, because EA doesn't allow you to specify how to parse a file, and therefore it can't recognize what parts it needs to replace.  As a result, it needs to replace the entire file.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Synchronization Not Supported?
« Reply #2 on: February 27, 2009, 12:27:46 am »
Hi T,

[I'd like to see this capability added. See below.]

No, you cannot do this, at least not now. However...

Since you are new to EA and the forum, please bear with me a bit.

While EA does not allow you to specify how to parse a file, Sparx (i.e. the company, not the product) does allow you to request new features. You can ask for this, and they will consider it. You don't have to be a registered user to make such requests. If you have enough interest in the product to try it out, then Sparx has enough interest to read your request.

Making a feature request is not guaranteed to result in a change, but it will be looked at. After all, if nobody expresses an interest in a feature why bother with it, but if some users ask for it, then perhaps it is worth the devoting resources to the development effort.

Something like the issue you bring up here would (almost certainly) not show up between EA versions, it is just too big a change. But perhaps it would be a candidate for EA 8.0. [If things follow the usual path then 8.0 could be the next version change. Usually the x.5 version precedes a major version change.]

If you can make due with the 'long' process (replacing the entire file, as Simon describes) for now, then why make the request. You'll find a Feature Request link beneath the Support link near the bottom of any forum page. Click that link to get to the correct place. But first...

A 'local best practice' we (the forum crowd) use for feature requests (and some bug reports) is to first start a thread to describe what's wanted. This thread would do fine for your situation - it does not need to be in the Suggestions section of the forum, it is fine where it is. Copy the URL of this thread, and when you make the request paste it in at the end of the problem description. This will point any Sparxians who consider the request to ongoing forum discussion. Perhaps other users will express support (as have I). The Sparxians are also active forum participants, and they might chime in. And you never know, perhaps someone has (or will) come up with a workaround, and you could see it here.

HTH, David
No, you can't have it!