comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Ada and UML
Date: Fri, 03 Sep 2010 06:19:16 +0200
Date: 2010-09-03T06:19:16+02:00	[thread overview]
Message-ID: <op.vifvmexfule2fv@garhos> (raw)
In-Reply-To: op.vifg29tnule2fv@garhos

Le Fri, 03 Sep 2010 01:05:23 +0200, Yannick Duchêne (Hibou57)  
<yannick_duchene@yahoo.fr> a écrit:
> Short reply for the time: this “What drives your own design decisions”  
> make me think about something I will have a try with. This is named  
> Acceleo, and seems to be used to apply transformation of a model to end  
> up into text, which to be sources. But unfortunately, when I want to  
> setup a project with this Acceleo, with the hope I could write my own  
> transformation, it complains the project must be a Java project. May be  
> this means there is no way to use this to generate Ada.
No, that is solved. You can do Ada with it, and even anything else. Mmmhh,  
important to notice as it works, this implies a full top-down process, not  
sure that's good all the way. And I feel this will not be a peace of cake  
to have a full generator ; so I rather see a kind of template generation.  
Any way, will have a look for a few days to get an idea.

Hint: if anyone is interested in trying this too, get a fresh Eclipse to  
avoid compatibility troubles, then add Acceleo from a bundle, not from the  
Eclipse Modeling Components menu, or else you will get into troubles  
later. Also drop Papyrus if you ever preferred this one, because it will  
not work anymore, and instead, add TopCased from a bundle too. I.e. merge  
Eclipse + Acceleo + TopCased all from their own bundle (weight as much 1G,  
that is very much, but there is no other way).

I did not found any support for Ada in Eclipse, but don't bother, if you  
want to read Ada generated sources, you will just have to switch to GPS,  
as you (maybe) usually do.

For a quick tutorial about Acceleo and Model To Text transformation (this  
is an OMG standard, not a closed standard), you may have a look here :
http://www.acceleo.org/pages/quickstart/en
This example targets HTML, I know, don't worry, the technique will still  
be the same.

That is funny, you do not even have to do refactoring if ever you change  
the name of a class or of anything else: any renaming is automatically  
propagated every where in the modal (was a side note).

-- 
“Dual licensing is the Perl's way to disinfect the GNU General Public  
Virus!” (anonymous)



  reply	other threads:[~2010-09-03  4:19 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 10:12 Ada and UML Yannick Duchêne (Hibou57)
2010-08-31 11:05 ` Yannick Duchêne (Hibou57)
2010-08-31 11:54   ` Yannick Duchêne (Hibou57)
2010-08-31 16:34     ` Matteo Bordin
2010-08-31 21:20       ` nobody
2010-09-02  0:19         ` Yannick Duchêne (Hibou57)
2010-09-02  6:14           ` Simon Wright
2010-09-02 20:33           ` nobody
2010-08-31 23:14       ` Yannick Duchêne (Hibou57)
2010-08-31 23:31         ` Yannick Duchêne (Hibou57)
2010-09-01  8:20         ` Matteo Bordin
2010-09-01 18:44           ` Simon Wright
2010-09-01 21:56             ` Simon Wright
2010-09-02  1:18             ` Yannick Duchêne (Hibou57)
2010-09-02 10:25               ` Brian Drummond
2010-09-02  0:43           ` Yannick Duchêne (Hibou57)
2010-09-02  7:50             ` Georg Bauhaus
2010-09-02 23:05               ` Yannick Duchêne (Hibou57)
2010-09-03  4:19                 ` Yannick Duchêne (Hibou57) [this message]
2010-09-03  6:54                   ` Matteo Bordin
2010-09-03 10:20                     ` Yannick Duchêne (Hibou57)
2010-09-03 11:33                       ` sjw
2010-09-03 13:18                   ` Hibou57 (Yannick Duchêne)
2010-09-03 16:14                     ` Matteo Bordin
2010-09-04 14:51                       ` Yannick Duchêne (Hibou57)
2010-09-06  9:21                         ` Matteo Bordin
2010-09-07 18:25                         ` Yannick Duchêne (Hibou57)
2010-09-03 16:16                     ` Matteo Bordin
2010-09-03 19:39                       ` Simon Wright
2010-08-31 18:25 ` Martin Krischik
2010-09-01  8:40   ` sjw
2010-09-02  0:22   ` Yannick Duchêne (Hibou57)
2010-09-02  4:48     ` J-P. Rosen
2010-09-02 10:34       ` Brian Drummond
2010-09-02 13:00         ` Robert A Duff
2010-09-02 13:24           ` Yannick Duchêne (Hibou57)
2010-09-10 20:13 ` Yannick Duchêne (Hibou57)
  -- strict thread matches above, loose matches on Subject: below --
2001-08-04  9:55 Paul Foster
2001-07-10 10:54 Death by analogy Part 2 (was Re: is ada dead?) Robert C. Leif, Ph.D.
2001-07-10 16:58 ` Al Christians
2001-07-10 18:39   ` Michael P. Card
2001-07-10 20:39     ` Al Christians
2001-07-10 21:11       ` Michael P. Card
2001-07-11  5:25         ` Ada and UML raj
2001-07-11  9:40           ` David C. Hoos, Sr.
2001-07-13 19:00           ` Nick Williams
2001-07-13 19:46             ` Ted Dennison
2001-07-17  8:25               ` David Humphris
2001-07-16  0:56             ` Ken Garlington
2001-07-17 18:59               ` Simon Wright
2001-07-23 14:38                 ` John Kern
2001-08-04  6:29                   ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox