Article View: borland.public.delphi.commandlinetools
Article #283Re: Automatically update build number in Delphi 7?
From: Stephan
Date: Thu, 10 Feb 2005 11:30
Date: Thu, 10 Feb 2005 11:30
19 lines
1639 bytes
1639 bytes
Hi, > I have written my own tool that extracts information from the .dof file > (simple, it's an INI file) and generates a resource script from it, > optionally incrementing the build number. This resource script is then > compiled to a resource file using brcc32. I had my little perl script for exactly this purpose too for D5-D7. But now, with D2005, what used to be the .dof file is now the .bdsproj file. This is basically an XML file with some strange characters (magic bytes?) at the begining of the first line. Does anybody know how to best handle those via a command line tool? All the best, Stephan
Technical Details
Message-ID:
<420b42ad@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<42009786@newsgroups.borland.com> <d208d2-4d3.ln1@work.home.lan>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,623b9bf28535a2e0 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 10 Feb 2005 12:30:29 +0100 From: Stephan <cyber.mail0605.5.spasp@xoxy.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en, ja, ko MIME-Version: 1.0 Newsgroups: borland.public.delphi.commandlinetools Subject: Re: Automatically update build number in Delphi 7? References: <42009786@newsgroups.borland.com> <d208d2-4d3.ln1@work.home.lan> In-Reply-To: <d208d2-4d3.ln1@work.home.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.117.69.197 Message-ID: <420b42ad@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108034221 212.117.69.197 (10 Feb 2005 03:17:01 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail