In PB5.0 IDE we perform incremental builds of our workspace by

1. rightclicking the %_targetplatroot% folder (FileView-tab)
2. selecting the 'Build and Sysgen' option.

This works fine and fast almost everytime. However, when I switch from
one workspace to another and perform the same operation, PB starts
performing a clean build in the %_targetplatroot% folder! Can someone
explain me the logic of this and maybe tell me how to bypass this?

Thanks,

Wesley

Following is the PB output:

Sysgening platform C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not "" == "" goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>set
___OAKROOT=C:\WINCE500\platform\MYPLATFORM\oak

C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\oak\oakver.bat goto endif_20
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\dirs goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "public" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "private" C:

C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "platform" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>cd C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=
C:\WINCE500\PLATFORM\MYPLATFORM>if not "platform" == "platform" goto
endif_11

C:\WINCE500\PLATFORM\MYPLATFORM>if exist
C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif goto endif_13
C:\WINCE500\PLATFORM\MYPLATFORM>del
C:\WINCE500\platform\MYPLATFORM\*.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo current
1>C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building platform clean
due to change of project
CEBUILD: Building platform clean due to change of project
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=-c
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building -c
(C:\WINCE500\platform\MYPLATFORM)
CEBUILD: Building -c (C:\WINCE500\platform\MYPLATFORM)

C:\WINCE500\PLATFORM\MYPLATFORM>build -c
....

Re: Incremental platform builds by Yannick

Yannick
Wed Oct 25 11:09:09 CDT 2006

Hi Wesley,

When you switch from a workspace to another which are using the same
platform, your Build Information File is regenerated (.bif file in the
%_targetplatroot% folder) . As this file contains the environment variables
used in the process of building your platform for the specified workspace, a
clean is performed at each switch.

Yannick BALERE

______________________________________
THEORIS www.theoris.fr
1, Avenue des Béguines - BP 8326 Cergy
95 803 Cergy-Pontoise Cedex
Tél : +33 (0) 1 34 24 89 91
Gsm : +33 (0) 6 32 63 27 60
Fax : +33 (0) 1 34 24 03 26
[mailto:yannick DOT balere AT theoris DOT fr]


"Pretissimo2002" <pretissimo2002@yahoo.fr> a écrit dans le message de news:
1161791481.581158.294970@m7g2000cwm.googlegroups.com...
> In PB5.0 IDE we perform incremental builds of our workspace by
>
> 1. rightclicking the %_targetplatroot% folder (FileView-tab)
> 2. selecting the 'Build and Sysgen' option.
>
> This works fine and fast almost everytime. However, when I switch from
> one workspace to another and perform the same operation, PB starts
> performing a clean build in the %_targetplatroot% folder! Can someone
> explain me the logic of this and maybe tell me how to bypass this?
>
> Thanks,
>
> Wesley
>
> Following is the PB output:
>
> Sysgening platform C:\WINCE500\platform\MYPLATFORM
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not "" == "" goto done
> C:\WINCE500\PBWorkspaces\MPA1_5.0>set
> ___OAKROOT=C:\WINCE500\platform\MYPLATFORM\oak
>
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
> C:\WINCE500\platform\MYPLATFORM\oak\oakver.bat goto endif_20
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
> C:\WINCE500\platform\MYPLATFORM\dirs goto done
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "public" C:
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "private" C:
>
> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "platform" C:
> C:\WINCE500\PBWorkspaces\MPA1_5.0>cd C:\WINCE500\platform\MYPLATFORM
> C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=
> C:\WINCE500\PLATFORM\MYPLATFORM>if not "platform" == "platform" goto
> endif_11
>
> C:\WINCE500\PLATFORM\MYPLATFORM>if exist
> C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif goto endif_13
> C:\WINCE500\PLATFORM\MYPLATFORM>del
> C:\WINCE500\platform\MYPLATFORM\*.bif
> C:\WINCE500\PLATFORM\MYPLATFORM>echo current
> 1>C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif
> C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building platform clean
> due to change of project
> CEBUILD: Building platform clean due to change of project
> C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=-c
> C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building -c
> (C:\WINCE500\platform\MYPLATFORM)
> CEBUILD: Building -c (C:\WINCE500\platform\MYPLATFORM)
>
> C:\WINCE500\PLATFORM\MYPLATFORM>build -c
> ....
>



Re: Incremental platform builds by Bruce

Bruce
Thu Oct 26 07:31:03 CDT 2006

And is needed by a general purpose tool, like the PB GUI.

**IF** you know that the environment between to two workspaces is the same
and doesn't require a rebuild, then you could get familiar with the command
line build tools and use them. But you should at least do a buildrel when
you switch if sharing the same BSP.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Yannick BALERE" <yannick DOT balere AT theoris DOT fr> wrote in message
news:eEmGr$E%23GHA.4464@TK2MSFTNGP02.phx.gbl...
> Hi Wesley,
>
> When you switch from a workspace to another which are using the same
> platform, your Build Information File is regenerated (.bif file in the
> %_targetplatroot% folder) . As this file contains the environment
> variables used in the process of building your platform for the specified
> workspace, a clean is performed at each switch.
>
> Yannick BALERE
>
> ______________________________________
> THEORIS www.theoris.fr
> 1, Avenue des Béguines - BP 8326 Cergy
> 95 803 Cergy-Pontoise Cedex
> Tél : +33 (0) 1 34 24 89 91
> Gsm : +33 (0) 6 32 63 27 60
> Fax : +33 (0) 1 34 24 03 26
> [mailto:yannick DOT balere AT theoris DOT fr]
>
>
> "Pretissimo2002" <pretissimo2002@yahoo.fr> a écrit dans le message de
> news: 1161791481.581158.294970@m7g2000cwm.googlegroups.com...
>> In PB5.0 IDE we perform incremental builds of our workspace by
>>
>> 1. rightclicking the %_targetplatroot% folder (FileView-tab)
>> 2. selecting the 'Build and Sysgen' option.
>>
>> This works fine and fast almost everytime. However, when I switch from
>> one workspace to another and perform the same operation, PB starts
>> performing a clean build in the %_targetplatroot% folder! Can someone
>> explain me the logic of this and maybe tell me how to bypass this?
>>
>> Thanks,
>>
>> Wesley
>>
>> Following is the PB output:
>>
>> Sysgening platform C:\WINCE500\platform\MYPLATFORM
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not "" == "" goto done
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>set
>> ___OAKROOT=C:\WINCE500\platform\MYPLATFORM\oak
>>
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
>> C:\WINCE500\platform\MYPLATFORM\oak\oakver.bat goto endif_20
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
>> C:\WINCE500\platform\MYPLATFORM\dirs goto done
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "public" C:
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "private" C:
>>
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "platform" C:
>> C:\WINCE500\PBWorkspaces\MPA1_5.0>cd C:\WINCE500\platform\MYPLATFORM
>> C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=
>> C:\WINCE500\PLATFORM\MYPLATFORM>if not "platform" == "platform" goto
>> endif_11
>>
>> C:\WINCE500\PLATFORM\MYPLATFORM>if exist
>> C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif goto endif_13
>> C:\WINCE500\PLATFORM\MYPLATFORM>del
>> C:\WINCE500\platform\MYPLATFORM\*.bif
>> C:\WINCE500\PLATFORM\MYPLATFORM>echo current
>> 1>C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif
>> C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building platform clean
>> due to change of project
>> CEBUILD: Building platform clean due to change of project
>> C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=-c
>> C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building -c
>> (C:\WINCE500\platform\MYPLATFORM)
>> CEBUILD: Building -c (C:\WINCE500\platform\MYPLATFORM)
>>
>> C:\WINCE500\PLATFORM\MYPLATFORM>build -c
>> ....
>>
>
>