Article View: borland.public.delphi.commandlinetools
Article #111Re: Building program groups from command line (D2006)
From: Mikhail Terekhov
Date: Mon, 30 Jan 2006 15:35
Date: Mon, 30 Jan 2006 15:35
37 lines
2695 bytes
2695 bytes
jesper hogstrom wrote: > Mikhail Terekhov wrote: > >> This command starts IDE, compiles all projects in the group and then >> exits from the IDE. Is it possible to suppress somehow the IDE GUI >> opening? It is annoying during automated builds and probably >> slows things down somewhat. > > Don't know about that, but why not use dcc32/dccil? If you have already > reached enlightenment by using automated builds, go for make, > finalbuilder, nant or similar. A bit of work to get started, but very > rewarding in the end. > You are preaching to a priest ;). Yes we use the make utility for automated builds, but it is a pain to keep BDS and dcc32 configurations in sync. The main obstacle here is the Delphi's inconsistency. First, BDS and dcc32 use different configuration files (*.bdsproj and *.cfg) and there is no straightforward way to keep them in sync. Second, the project groups are very useful and convenient in BDS, but they should be manually converted into something useful for use with dcc32 on every change. BDS has an ability to make or build projects or project groups from the command line, so I hoped to eliminate *.cfg files and use BDS instead of dcc32. The only problem is that opening GUI on every invocation is very annoying and time consuming. Definitely lack of out of the box automated build solution as well as the *.bdsproj and *.cfg files inconsistency are major warts in Delphi. It is pity that Borland can't teach dcc32 to understand *.bdsproj and *.bdsgroup files. That would make the automation process very simple and make Delphi ready for big enterprise projects out of the box. May be it is worth to put such a request into QC? Thanks, Mikhail
Technical Details
Message-ID:
<43de3196$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43d94f0b$1@newsgroups.borland.com> <43dbc655@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,1890a5ef143a7e68 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 30 Jan 2006 10:35:53 -0500 From: Mikhail Terekhov <terekhov@emc.com> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.delphi.commandlinetools Subject: Re: Building program groups from command line (D2006) References: <43d94f0b$1@newsgroups.borland.com> <43dbc655@newsgroups.borland.com> In-Reply-To: <43dbc655@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 168.159.213.131 Message-ID: <43de3196$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1138635158 168.159.213.131 (30 Jan 2006 07:32:38 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail