comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Software for renaming a whole hierarchy of packages?
Date: Fri, 18 Dec 2009 08:39:18 -0800 (PST)
Date: 2009-12-18T08:39:18-08:00	[thread overview]
Message-ID: <45b650c0-8b92-42ce-867e-17f45c134663@z3g2000prd.googlegroups.com> (raw)
In-Reply-To: lb6ggh.ghr.ln@hunter.axlog.fr

On Dec 18, 7:15 am, Jean-Pierre Rosen <ro...@adalog.fr> wrote:
> mockturtle a écrit :
>
> > Dear.all,
> > I have the following problem:  I have a (quite large) hierarchy of
> > packages (with package root, say, FOO) that I modified to suit my
> > needs.  Since now the two hierarchies are quite different, I would
> > like to rename the root of the modified version, both to avoid clashes
> > and to give a more meaningful name (say, BOO.  More meaningful, isn't
> > it?:-) to the new one.  This means that I have to change every
> > FOO.<something> into BOO.<something>.  I could do this by hand, but it
> > is boring and error-prone, I could do this with sed, but I could mess
> > everything up.  Are you aware of some tool (maybe ASIS based?) that
> > could help me in this?
>
> Sure ! :-)
>
> Just download AdaSubst fromhttp://www.adalog.fr/compo2.htm#adasubst
>
> It does exactly this, and much more (if you move components inside your
> hierarchy, for example).

There is another option to be considered. GPS (GNAT Programming
Studio) has Refactoring features.

Anh Vo



  reply	other threads:[~2009-12-18 16:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18 14:56 Software for renaming a whole hierarchy of packages? mockturtle
2009-12-18 15:15 ` Ludovic Brenta
2009-12-18 15:15 ` Jean-Pierre Rosen
2009-12-18 16:39   ` Anh Vo [this message]
2009-12-19  8:36     ` mockturtle
2009-12-19 15:51     ` Marc A. Criley
replies disabled

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