Book a Demo

Author Topic: Round Trip Code Engineering ?  (Read 4818 times)

hemmerling

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Dipl.-Ing.(FH) Rolf Hemmerling
    • View Profile
Round Trip Code Engineering ?
« on: August 22, 2006, 09:24:07 am »
Hello,

a) is
Round Trip Code Engineering ( = model, code, changed code changes the model and changing the model changes the code )

just possible with EA with the

*  extra expensive Visual Studio
* ??free??  Eclipse

plugins ? Or is this feature available anyhow, with all EA versions ? How does it work, without the plugins ?

Of course I know that the plugins just work with the professinonal version and higher.

Is there support for all VS .NET languages ( C#,C++,VB.NET, J#), with the round trip engineering ?

b) If there is code generation, what code is supported ?
? Java
? C++
? C#
? VB.NET
? J#

c) Does the Eclipse plugin support the C++ development tool  of Eclipse ?

d) Will there be a LINUX version of the Eclipse plugin ?

« Last Edit: August 22, 2006, 09:50:32 am by hemmerling »
SCADA Expertness - Quality Intensification for IT + Automation

thomaskilian

  • Guest
Re: Round Trip Code Engineering ?
« Reply #1 on: August 22, 2006, 10:15:25 am »
You can simply synch your files being linked with the Filename property used in code generation/roundtripping.
Open Tools/Options. There you'll see the supported languages for roundtripping. Forward engineering is possible for (almost) any language.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Round Trip Code Engineering ?
« Reply #2 on: August 22, 2006, 03:13:19 pm »
EA Professional and Corporate editions (not Desktop) support round trip engineering of code.  No addin is required to do this although the visual studio and eclipse addins may enhance the user experience when using those products.

J# support is included in the Java code engineering.  As Thomas mentioned, EA can generate almost any language if you want to write the code templates yourself.

Sorry, I can't answer your last two questions.
« Last Edit: August 22, 2006, 03:13:43 pm by simonm »

hemmerling

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Dipl.-Ing.(FH) Rolf Hemmerling
    • View Profile
Re: Round Trip Code Engineering ?
« Reply #3 on: August 22, 2006, 10:11:00 pm »
Quote
EA Professional and Corporate editions (not Desktop) support round trip engineering of code.  No addin is required to do this although the visual studio and eclipse addins may enhance the user experience when using those products.

I am a little bit surprised  as I did not realize this difference between Desktop and Pro/Corporate Edition by visiting the website ( without asking the forum).

Ah this is it:
http://www.sparxsystems.com.au/products/ea_purchase.html
Desktop version:
"Supports all the professional features with the exception of code import/export and the ability to share projects".

Quote
J# support is included in the Java code engineering.  As Thomas mentioned, EA can generate almost any language if you want to write the code templates yourself.

Great.
So it will be easy to get adopted templates if something is new with C# or C++ in .NET 3.0 or so.


« Last Edit: August 22, 2006, 10:15:02 pm by hemmerling »
SCADA Expertness - Quality Intensification for IT + Automation

Govinda Padaki

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Round Trip Code Engineering ?
« Reply #4 on: October 11, 2006, 05:20:33 am »
Hi All,

I have a problem with EA RTCE.

* I have some classes modeled in EA
* I generate code
* I add some code into body of some methods
* I also add few attributes / methods
* I reverse engieer the code.
==> The new model reflects the added attributes / methods.

However, now, if I change the properties of any of the attributes / operations (for example, adding a new parameter etc or changing the type of an attribute), and 'synchronize' the code, the code does not change at all.

Where can I be going wrong??  ???

The radio-box Tools-->Options-->Source Code Engineering --> 'Always synchronize with existing file' is selected (I tried with 'Replace (Overwrite) existing source file'. But I lose the modified body of many methods).

Question: Does EA support RTCE only when you have not added any code for the methods? And, once I add code, can't I use RTCE?

Please HELP !!!

Thanks
Govinda Padaki

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Round Trip Code Engineering ?
« Reply #5 on: October 11, 2006, 03:13:42 pm »
The situation you are describing should work.  I can't say why it isn't from your email.

It's probably worth enabling to option to prompt when forward synchronising (Tools | Options | Source Code Engineering | Attribute/Operations | On forward synch, prompt to delete code features not in model) as without it changing a method signature will result in possibly unexpected behaviour.