comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Software for renaming a whole hierarchy of packages?
Date: Fri, 18 Dec 2009 16:15:58 +0100
Date: 2009-12-18T16:15:58+01:00	[thread overview]
Message-ID: <lb6ggh.ghr.ln@hunter.axlog.fr> (raw)
In-Reply-To: <8629e45a-b954-434d-8251-45f46cf1f6a2@b2g2000yqi.googlegroups.com>

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 from http://www.adalog.fr/compo2.htm#adasubst

It does exactly this, and much more (if you move components inside your
hierarchy, for example).

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



  parent reply	other threads:[~2009-12-18 15:15 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 [this message]
2009-12-18 16:39   ` Anh Vo
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