1. Albert van Bochove
  2. PowerBuilder
  3. Monday, 21 August 2023 18:46 PM UTC

Hello  all , 

I am deploying my app to get an .exe file  and I dont get it ,before finishing the deployment process tells me "The current library list is different from the library list contained within this project. The project library list has been updated. Refresh build options for the changed list and try again." and I dont know what is missing, because I see in the File Explorer the same as in the PowerBuilder Explorer,  Any idea what I am missing to do?

Please check the attachtment.

Thanks in advance.

Attachments (1)
Accepted Answer
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Tuesday, 22 August 2023 07:52 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Albert,

the project painter is the one that looks something like this:

 

 

Every PB app has at least one Project object if it is meant to be deployed, it is needed to generate an executable file. If I'd have to take a guess I'd look for it inside "irs_applic.pbl". The icon for projects looks like a small folder:

 

Once you found it, check the "Libraries" tab. Unfortunately, new PBLs will not be added automatically there. The easiest way to update the library list is to open the project object and press the "Deploy Project" button on the toolbar:

 

This will also give you the error message that the library list is different but it will add the missing libraries to the project. You can then save the project object and you're done.

Comment
  1. René Ullrich
  2. Tuesday, 22 August 2023 08:01 AM UTC
You have also to check the box to create PBD or DLL for the new library (if you need this).
  1. Helpful 2
  1. Albert van Bochove
  2. Tuesday, 22 August 2023 17:27 PM UTC
Where to click in order to invoke the Project Painter? I could not find it yet.
  1. Helpful
  1. John Fauss
  2. Tuesday, 22 August 2023 17:48 PM UTC
Try right-clicking on the object in the system tree view and choosing Edit from the popup menu.
  1. Helpful
There are no comments made yet.
Albert van Bochove Accepted Answer Pending Moderation
  1. Tuesday, 22 August 2023 18:06 PM UTC
  2. PowerBuilder
  3. # 1

thanks all,

your different comments help me to deploy the app. 

I clicked on File -> New -> Project tab  -> Application 

I have finished the wizard till the end, and  an exe file have been created, so you helped me till I have succeedded now. 

Thank you all.

Comment
  1. Benjamin Gaesslein
  2. Wednesday, 23 August 2023 06:58 AM UTC
You created an entirely new project object but I'm 100% sure there already existed one before. Trying to deploy a target without a project will yield a "There are no deployable projects in this target. Do you want to create one now" error message. Check all your PBLs, there will be an existing project in one of them.
  1. Helpful 2
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 21 August 2023 20:55 PM UTC
  2. PowerBuilder
  3. # 2

A Project object contains the parameters that tell the PB compiler how to build/deploy your PB application. Every app needs one. I see from the screen shot you included in your original post that you are using PB 2022, however, since Release 2  of PB 2022 is now available, I'm unsure which release you are using.

    https://docs.appeon.com/pb2022r2/pbug/Working_with_an_Application_project.html

It is ALWAYS a very good idea to briefly state what version, release and build you are using in EVERY post, as this can help ensure that responses are tailored for your specific environment. The above link is for PB 2022 R2. Similar info is available online for PB 2022 R1.

I suggest you read the information contained in this section. Good luck!

Best regards, John

Comment
  1. Andreas Mykonios
  2. Tuesday, 22 August 2023 05:58 AM UTC
Hi.

He is using PB 2022 R1 (1892).

Andreas.
  1. Helpful 1
There are no comments made yet.
Albert van Bochove Accepted Answer Pending Moderation
  1. Monday, 21 August 2023 20:48 PM UTC
  2. PowerBuilder
  3. # 3

 

John, thanks for your quick answer.

I have added yes one library to the project , I added because it was in the File Explorer but not in the Explorer of PowerBuilder.

 

What is the app's Project object? (Is the attchament  app's Project Object.png rigth?)

What is the Libraries tab? (Is it the  attachement libraries tab what you meant?)

What is the Project Painter?(Is the attchement project Painter the rigth one?) 

How can I compare what PowerBuilder is founding with What I can see in the tree of listed lybraries in the picture I have sent you?

thanks in advance.... what I have posted attached is what I think are these the section you refer. Am I rigth? If so, then I have the same every where.

Attachments (3)
Comment
  1. Chris Pollach @Appeon
  2. Monday, 21 August 2023 21:51 PM UTC
No ... Your looking at the library list in the IDE's "System Tree" & not the library list in the Project Object.
  1. Helpful 1
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 21 August 2023 19:25 PM UTC
  2. PowerBuilder
  3. # 4

Hi, Albert -

This message would seem to indicate there is a discrepancy between the Library List in the target and the Libraries tab of the Project object.

Have one or more libraries (.pbl's) been added or removed from the Library List since the Project object was created? When you open the app's Project object and switch to the Libraries tab in the Project Painter, are all of the libraries you expect to see listed? 

Best regards, John

Comment
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.