1. Rob Stevens
  2. PowerBuilder
  3. Thursday, 15 August 2024 02:55 AM UTC

Hi

I keep getting tripped up by PowerBuilder using prior build bits of code from the cache instead of what I'm wanting built.

ie it looks like it saves build info to:

C:\Users\[User]\AppData\Local\Temp\pbappscache 22.0\cache\[application]

And decides to include if it finds it there as opposed to building new components.

How do I turn this off? ie I don't want the compiler to use this cache.

I've just spent about 4 hours trying to work out why an old dll was ending up in the coreruntimefiles.zip even after I kept rebuilding!

Regards

Rob

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 15 August 2024 13:19 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rob;

  While I do have an "pbappscache 22.0" folder, I do not see any apps underneath.

  Can you give us more details on what / how your compiling to? Are you using IDE / PBAutoBuild? Is this a C/S, PowerClient, or PowerServer compiled?

Regards ... Chris

Comment
There are no comments made yet.
Rob Stevens Accepted Answer Pending Moderation
  1. Thursday, 15 August 2024 20:40 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris
I am using PB2022r3 build 3356. I'm compiling using the PowerServer Project in the IDE. See below screenshot for an example what gets created. I'm finding it very annoying. I recently have been doing some testing with Appeon on a change to the pbcrypt.dll in the coreruntimefiles.zip - but even though I had updated in the program directories it 'determined' it didn't need to redo the coreruntimefiles.zip and just used the one in the cache instead.

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 15 August 2024 21:31 PM UTC
Ahhhh ... PowerServer. Good to know as your question was marked as PowerBuilder.

Are you using the "Ultra Fast" compile setting in your PS project?
  1. Helpful
  1. Rob Stevens
  2. Thursday, 15 August 2024 21:50 PM UTC
Sorry about that - I just think of it as Powerbuilder :)

No, we always use the 'Full' option - not Incremental or Cursory (ultra-fast).

If I was using the ultrafast then it would make sense that the caching was used - but as I'm using Full I'd expect it to fully rebuild and include each time.

Should I perhaps raise as a 'bug'?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 16 August 2024 02:10 AM UTC
Hi Rob;

I tested this a few times with my PS 32 & 64 bit deployments and the "Cache" folder after my Build & Deploy was empty each time.

It must be something in the way your project is setup. Off hand though, I cannot say. Weird!

Regards .. Chris.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.