From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4c17e6ae73bd8c51 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada and UML Date: Fri, 03 Sep 2010 06:19:16 +0200 Organization: Ada @ Home Message-ID: References: <4c7f5735$0$6766$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: V6yiOtKkG3UlWWkd0HWg+g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13925 Date: 2010-09-03T06:19:16+02:00 List-Id: Le Fri, 03 Sep 2010 01:05:23 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > Short reply for the time: this =E2=80=9CWhat drives your own design de= cisions=E2=80=9D = > 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 en= d = > 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 b= e = > 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. Mmmh= h, = important to notice as it works, this implies a full top-down process, n= ot = sure that's good all the way. And I feel this will not be a peace of cak= e = 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 t= he = 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. merg= e = Eclipse + Acceleo + TopCased all from their own bundle (weight as much 1= G, = 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 (thi= s = 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). -- = =E2=80=9CDual licensing is the Perl's way to disinfect the GNU General P= ublic = Virus!=E2=80=9D (anonymous)