I'm having a wierd problem with PB 5.0. I've been happily doing BSP
work, but then at some point, the "IDE-->File
View-->c:\WINCE500-->Platform Folder" won't open. When I start PB,
there's a "+" sign on it begging me to open it. I click the folder,
and hear the hard drive whirr, and then I just get a folder with no "+"
sign on it. While I can't be positive whether I ever had the Private
folder openning with files to show, it is doing the same thing. The
Public folder, however, is openning as usual.

I think this happenned while I was preparing a binary BSP for someone
(deleted all source and modified DIRs directories). It's like PB
thinks the source is still gone but actually it's there and the DIRs
files are right. Is there a file I need to delete to force PB to
rebuild some internal table so the UI knows about it?

Note: I can do Sysgen's & "build and sysgen current bsp" happily and
get my image as usual.

I'm really stuck. I'd hate to have to reinstall PB. Thougths?

--Bruce

Re: PB IDE: Platform Folder Won't Open by daniel_glasson

daniel_glasson
Mon Jun 19 00:38:19 CDT 2006

Exactly the same problem here Bruce and i've heard of it from other
developers too.
We copied a platform directory from one computer to another and now the
platform tab never expands for us - meaning we can't view and edit our
platform code using platform builder. Clearly a bug on Microsofts part
there.
The private tab not expanding may simply be that you didn't install the
shared source components when installing platform builder.


Re: PB IDE: Platform Folder Won't Open by daniel_glasson

daniel_glasson
Mon Jun 19 00:38:51 CDT 2006

Exactly the same problem here Bruce and i've heard of it from other
developers too.
We copied a platform directory from one computer to another and now the
platform tab never expands for us - meaning we can't view and edit our
platform code using platform builder. Clearly a bug on Microsofts part
there.
The private tab not expanding may simply be that you didn't install the
shared source components when installing platform builder.


Re: PB IDE: Platform Folder Won't Open by Doug

Doug
Mon Jun 19 22:05:39 CDT 2006

The only "internal table" that I can think of is the catalog. If you
imported an invalid CEC file (or even imported a valid CEC file and later
removed it), you might have done something that upset the catalog, leaving
the catalog in a bad state.

If you haven't been messing with CEC files, this won't help, but if that
sounds like it might be your problem, try rebuilding the catalog database by
running the "CleanDB" script in your cepb\bin folder.

The next thing to try would be to remove all BSPs from the platform folder,
then put them back one at a time to see which one is confusing PB.

PB does do some parsing of BAT and BIB files in the platform folder to try
to help show you what is going on. However, if the parser gets confused, it
can cause some unexpected behavior. If you find one BSP that seems to be
causing trouble, try checking the BIB and BAT files in the BSP for things
like unclosed conditional blocks.

(PB 6.00 is going to be a lot better about things like this. Though I'm
sure that isn't very helpful right now.)

--
-------------------------
- Doug
This information is provided AS-IS, and does not bear any warranty.
This posting may not reflect the views of Microsoft Corporation.


<bru.list@gmail.com> wrote in message
news:1150468460.450243.75560@c74g2000cwc.googlegroups.com...
> I'm having a wierd problem with PB 5.0. I've been happily doing BSP
> work, but then at some point, the "IDE-->File
> View-->c:\WINCE500-->Platform Folder" won't open. When I start PB,
> there's a "+" sign on it begging me to open it. I click the folder,
> and hear the hard drive whirr, and then I just get a folder with no "+"
> sign on it. While I can't be positive whether I ever had the Private
> folder openning with files to show, it is doing the same thing. The
> Public folder, however, is openning as usual.
>
> I think this happenned while I was preparing a binary BSP for someone
> (deleted all source and modified DIRs directories). It's like PB
> thinks the source is still gone but actually it's there and the DIRs
> files are right. Is there a file I need to delete to force PB to
> rebuild some internal table so the UI knows about it?
>
> Note: I can do Sysgen's & "build and sysgen current bsp" happily and
> get my image as usual.
>
> I'm really stuck. I'd hate to have to reinstall PB. Thougths?
>
> --Bruce
>



Re: PB IDE: Platform Folder Won't Open by bru

bru
Wed Jun 28 10:18:16 CDT 2006

Problem solved! Thanks guys.

Doug Cook [MSFT] wrote:
> try rebuilding the catalog database by
> running the "CleanDB" script in your cepb\bin folder.

This didn't work and looking at the output didn't seem to touch the
platform components anyway.

>
> The next thing to try would be to remove all BSPs from the platform folder,
> then put them back one at a time to see which one is confusing PB.
>

THIS WORKED. I had a lot of "archive" BSP's in that folder, and when I
moved them out, PB got happy again.


> PB does do some parsing of BAT and BIB files in the platform folder to try
> to help show you what is going on. However, if the parser gets confused, it
> can cause some unexpected behavior. If you find one BSP that seems to be
> causing trouble, try checking the BIB and BAT files in the BSP for things
> like unclosed conditional blocks.
>
> (PB 6.00 is going to be a lot better about things like this. Though I'm
> sure that isn't very helpful right now.)
>
>