Re: Best way to update gcc-wrapper

Will Partain <[email protected]> Fri, 11 Apr 2003 10:45:14 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
> I finally upgraded to gcc--3.2.2 (from gcc--3.2) and realized that I needed
> to upgrade gcc-wrapper as well.
> 
> I edited my team's package/gcc-wrapper.xml file to show the new version
> number in two places. Then I wondered how to deploy the
> change. [...]
>
> I tried
> 
>   ark-invasive gcc-wrapper
> 
> ... Did I overlook some easier way to update the version number in that file?

I admit that's what I do, too.  It's slow and painful, but
it means only remembering one thing :-)

ark-invasive could easily be considerably improved.  It's
presently just 'ark package uneverything ...' followed by
'ark package deploy ...'.  As you've seen, that's often a
big hammer to crack a nut.

Alternatively, we could add a method (probably to
sidai/ark-vwrapped.xml), something like
'change-version-wrapper-version' that would do the business
directly.

Yell if you think there's some place we should add something
to some documentation...

Will


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com