"Build All" equivalent in Delphi 2007

Hello,

I have been using D2007 for several years and something is very different 
from Delphi 5 which was my previous version.

In D5, Build All from the menu recompiled every unit in my project whether 
it had changed or not.

Delphi 2007 does not do this :-(  I know I have many compiler items that I 
should attend to but Shift_F9 on the Project menu
does not rebuild all units.  Every once in a great while it does in response 
to *something* I have changed but for the life
of me I cannot figure out what I did to cause it to rebuild everything and 
display the long list of warnings.  It seems that
it does that sometimes when I make an edit and the press F9, but of course 
the warnings are gone as soon as I get back to
the IDE.

Does anyone know how to solve this ?

JT
0
John
7/18/2012 6:57:37 PM
embarcadero.delphi.ide 3925 articles. 0 followers. Follow

11 Replies
900 Views

Similar Articles

[PageSpeed] 7
Get it on Google Play
Get it on Apple App Store

John,

> In D5, Build All from the menu recompiled every unit in my project
> whether it had changed or not.
> 
> Delphi 2007 does not do this :-(

Hmmm,... I'm pretty sure my D2007 Architect DOES recompile everything
on a build.

Have you checked your directory structure?  You may be looking at an
"old" folder and new builds are compiling into a different folder.


-- 

   Q

07/18/2012 12:10:23

XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
Quentin
7/18/2012 7:12:26 PM
Quentin,

Using D2007 Professional here.

The unit output directory is a subfolder DCU Folder under the project 
folder.  Even if I delete all the DCU's there, they get rebuilt but
not warnings are output in the message window, nor does the progress dialog 
show any warnings.  The project folder is the output
directory for the .exe and were all the project .dfm's and .pas files 
reside.

The directory structure is pretty much the same as I have always used and 
identical to the Delphi5 project structure.

What specifically should I look for in the structure that might cause a 
problem ? There are not project files (*pas, etc.) in
an other folder on the system

John



"Quentin Correll" <qcorrell@pacNObell.net> wrote in message 
news:486140@forums.embarcadero.com...
> John,
>
>> In D5, Build All from the menu recompiled every unit in my project
>> whether it had changed or not.
>>
>> Delphi 2007 does not do this :-(
>
> Hmmm,... I'm pretty sure my D2007 Architect DOES recompile everything
> on a build.
>
> Have you checked your directory structure?  You may be looking at an
> "old" folder and new builds are compiling into a different folder.
>
>
> -- 
>
>   Q
>
> 07/18/2012 12:10:23
>
> XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
John
7/19/2012 8:07:42 AM
John,

> Even if I delete all the DCU's there, they get rebuilt

Now I'm a bit confused.  (Not unusual. ;-)  I thought you typed that
they did NOT get built using Build All?


-- 

   Q

07/19/2012 10:13:21

XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
Quentin
7/19/2012 5:16:34 PM
Sorry Quentin.

The DCUs get built but I do not see any warnings or anything at all in the 
message window in the IDE after the build is finished.

I *Know* there should be warnings there

John

"Quentin Correll" <qcorrell@pacNObell.net> wrote in message 
news:486381@forums.embarcadero.com...
> John,
>
>> Even if I delete all the DCU's there, they get rebuilt
>
> Now I'm a bit confused.  (Not unusual. ;-)  I thought you typed that
> they did NOT get built using Build All?
>
>
> -- 
>
>   Q
>
> 07/19/2012 10:13:21
>
> XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
John
7/19/2012 5:38:50 PM
John Taylor wrote:

> Sorry Quentin.
> 
> The DCUs get built but I do not see any warnings or anything at all
> in the message window in the IDE after the build is finished.
> 
> I Know there should be warnings there

But have you told the IDE in the project options that you want to see
them?




-- 
Peter Below (TeamB)  
Don't be a vampire (http://slash7.com/pages/vampires), 
use the newsgroup archives :
http://codenewsfast.com
http://groups.google.com
0
Peter
7/19/2012 6:49:12 PM
John,

What Peter typed. <g> 


-- 

   Q

07/19/2012 13:46:16

XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
Quentin
7/19/2012 11:52:19 PM
Quentin Correll wrote:

> What Peter typed. <g> 

Wow!

Bill
0
William
7/20/2012 12:13:31 AM
Peter,

Yes, in Project Options -> Compiler Messages have checked Show Hints and 
Show Warnings and all items in the Warnings
list are checked except 'Platform Symbol'

John

"Peter Below" <none@nomail.please> wrote in message 
news:486408@forums.embarcadero.com...
> John Taylor wrote:
>
>> Sorry Quentin.
>>
>> The DCUs get built but I do not see any warnings or anything at all
>> in the message window in the IDE after the build is finished.
>>
>> I Know there should be warnings there
>
> But have you told the IDE in the project options that you want to see
> them?
>
>
>
>
> -- 
> Peter Below (TeamB)
> Don't be a vampire (http://slash7.com/pages/vampires),
> use the newsgroup archives :
> http://codenewsfast.com
> http://groups.google.com
0
John
7/20/2012 12:07:05 PM
John Taylor wrote:

> Peter,
> 
> Yes, in Project Options -> Compiler Messages have checked Show Hints
> and Show Warnings and all items in the Warnings
> list are checked except 'Platform Symbol'
> 

I don't have a workable D2007 installation anymore, but I think it also
had a setting that allowed you to get much more detailed logging for
the build process. Look in the Tools->Options dialog, on the first page
should be a checkbox "Show compiler progress" or such. A bit beneath
that should be a combobox that you can use to set the detail level of
the report. Set it to diagnostic and do a build. Then examine the
output in the message pane. Perhaps the units you expect to result in
warnings don't get compiled because the compiler finds dcus it can use
but not the source files.

-- 
Peter Below (TeamB)  
Don't be a vampire (http://slash7.com/pages/vampires), 
use the newsgroup archives :
http://codenewsfast.com
http://groups.google.com
0
Peter
7/20/2012 5:31:32 PM
AHA !

Solved.

Some third party component source file had compiler directives set to turn 
hints and warnings off
and not back on at the end of the unit.

So that makes me very afraid of that vendor now ! :-)

I guess I was not being very clear.  Build *was* rebuilding everything but 
just was not outputting any
hint or warning messages in the messages window

thanks to everyone that responded to this thread

JT

"William Meyer" <meyer.wil@nospam.gmail.com> wrote in message 
news:486467@forums.embarcadero.com...
> Quentin Correll wrote:
>
>> What Peter typed. <g>
>
> Wow!
>
> Bill
0
John
7/20/2012 10:16:16 PM
John,

> AHA !
> 
> Solved.
> 
> Some third party component source file had compiler directives set to
> turn hints and warnings off
> and not back on at the end of the unit.

Good sleuthing!!!  


-- 

   Q

07/20/2012 15:41:56

XanaNews Version 1.19.1.278  [Q'sBrokenToolBar]
0
Quentin
7/20/2012 10:42:16 PM
Reply:

Similar Artilces:

Delphi 2007 assert
The assertion message from Delphi 2007 is... "(!"SetThreadContext failed")" in ..\win32src\thread32.cpp at line 412 Any way I can patch this out? CodeGearâ„¢ Delphi® 2007 for Win32® Version 11.0.2902.10471 El 18/01/2014 21:48, Michael Leahy escribió: > The assertion message from Delphi 2007 is... > > "(!"SetThreadContext failed")" in ..\win32src\thread32.cpp at line 412 > > Any way I can patch this out? > > CodeGearâ„¢ Delphi® 2007 for Win32® Version 11.0.2902.10471 > An unofficial fix fo...

Delphi 2010 IDE throws error on "find" and "find in files"
I will greatly appreciate any advice how to cure the suddenly appeared misbehaviour: I just loaded the main project file and then tried to find code snippets fore re-use with "find" and "find in files" the Eurekalog extract is: 2.2 Address : 20EB30B6 2.3 Module Name : vclide140.bpl - (Integrated Development Environment Specific Components) 2.4 Module Version: 14.0.3593.25826 2.5 Type : EOutOfResources 2.6 Message : Unable to insert a line. 2.7 ID : 61FB 2.8 Count : 1 2.9 Status ...

[XE2] "Delphi.Personality" and platform "Win32" missing or unavailable
I'm using Windows Vista Business 32-bit and C++ Builder XE2. When I create a new VCL project, add some Delphi files (.pas) to the project and try to compile, I receive the following error messages: {code} [DCC Fatal Error] Exception Exception: Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable. [DCC Error] Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable. {code} Normally, in C++ Builder XE, when I add some Delphi files to my projects, it compiles without any prob...

[XE2] "Delphi.Personality" and platform "Win32" missing or unavailable
Today I reinstall XE2 with update 1, when I try to run the application, I got following error message, I am sure it used to works fine before rebuilding my PC. [DCC Fatal Error] Exception Exception: Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable. [DCC Error] Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable. so what I can do now to work around it? solved, I removed the environment varible platform(platform=win32) and not get this error message again. > {qu...

NOT SOLVED "Delphi.Personality" and platform "win32" missing or unavailable
Hello, Just installed (21st February 2012) Delphi XE2 Starter. Build 16.0.4276.44006 *Installed Updates* (RAD Studio XE2 Delphi and C++ Builder Update 1) (BTW why can't this info be copied instead of typing from Help>About) Got: *[DCC Error] Compiler for personality "Delphi.Personality" and platform "win32" missing or unavailable* when trying to run 1st Sample VBlock (BTW why there is no standard Hello World to show that IDE works?) *In spite of CASE SOLVED:* Report #: 98901 Status: Closed "Delphi.Personality" and platform "Win32...

[Delphi 2007] "Jpeg.pas" is need.
Hi I have an error,to solving it i need "jpeg.pas". Maybe you want know what is the error that i need this unit source: Im using a captureScreen function to capture a screenshot from screen.im converting my captured bitmap to jpeg, and the i will save it to a stream(first paramater of the function). procedure captureScreen(mem:TMemoryStream;Quality:integer;scale:integer=100); begin ... jp.SaveToStream(mem); //Here i have "Out of Resources" error ! i need "jpeg.pas" to find the problem origin. ... end; Don't forget the error oc...

What is the Delphi equivalent to the Java "&=" operator?
What is the Delphi equivalent to the Java "&=" operator? Speaking of Delphi, now that the Greek govt. is broke, will Embarcadero consider licensing the actual site? Did John Kaster ever "vandalize" that spot with one of the Borland bumper stickers? > {quote:title=Clay Shannon wrote:}{quote} > What is the Delphi equivalent to the Java "&=" operator? 'and'. {code} // Java i &= 0xFFFF; // Delphi i := i and $FFFF; {code} <Clay Shannon> wrote in message news:408722@forums.embarcadero.com... > What is the Del...

"Sneak Preview: Delphi 2011 is Delphi XE"
Today, Delphi's Welcome page showed this: Sneak Preview: Delphi 2011 is Delphi XE http://www.embarcadero.com/rad-studio-xe-preview When trying to watch the video, it gives an error message: Server not found: rtmp://etnastream01.embarcadero.com/vod/ How nice :-( Achim Achim Kalwa wrote: > Sneak Preview: Delphi 2011 is Delphi XE > http://www.embarcadero.com/rad-studio-xe-preview > > When trying to watch the video, it gives an error message: > > Server not found: > rtmp://etnastream01.embarcadero.com/vod/ Works for me on second try (first ...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

"Design Packages" losing my selections (Delphi 2007)
Hi, I have built and installed some bpls simply using the install option on the context menu in the Project Manager. The packages are shown in the "Design Packages" list under "Component -> Install Packages". I select them and click the check box. Everything is fine so far, I can compile and run my project. If I close Delphi and open it again all the selection are gone. The packages are still listed but I have to click the check box again. This happens every time I close the IDE. Can anyone tell me what is wrong? Thanks, Vin > {quote:title=Vincent...

First use of XE7, "Delphi Package Output Directory", "path is too long"
I have been using Delphi 2010, and also had XE2 installed (but never used it). Yesterday I purchased the Delphi XE7 update, and installed it. Upon first launch, I got this dialog: {code} Warning [window title] Your current Delphi Package Output Directory is not part of your system path. In order to use runtime packages that are built into this directory, this directory needs to be on your path. However, it appears that your current system path is too long. Please manually edit your system path to remove unnecessary items and/or include this directory. Directory to be added: c:\User...

Delphi equivalent to PHP hash_hmac("SHA1",$data,$secret)
<div id="jive-html-wrapper-div"> <br /> Hello<br> <br> Can anybody give me some guides, on how can do the following in<br /> delphi? <br> <br> i'm trying to use indy's TIdHMACSHA1, but the results are different.<br> <br> &lt;$php&gt;<br> $t=hash_hmac("sha1",$data_string,$api_secret);<br> <br> <a class="moz-txt-link-freetext" href="http://php.net/manual/en/function.hash-hmac.php">http://php.net/manual/en/function.hash-hmac.php&...

quotes, quotes, quotes...
I am getting this error and I know what is causing it, but I have no idea how to fix it, any help would be great. The script steps through the /var/log/messages file on a linux server and puts The entries into a mysql database. However when it gets to the 'hlt' line in the messages file it just barfs. The single quotes are freaking it out. I know about quotes but not how to use in this situation. Thanks, Paul Error: May 27 17:53:00 localhost kernel: Checking 'hlt' instruction... OK. <----- doesn't like this in the messages file DBD::mysql::st exec...

Web resources about - "Build All" equivalent in Delphi 2007 - embarcadero.delphi.ide

Resources last updated: 12/16/2015 3:03:31 PM