1. Akash Ghorpade
  2. PowerBuilder
  3. Monday, 1 July 2019 11:12 AM UTC

Hi All,

I have two workspaces W1 and W2.

I am loading PBLs of W2 into W1.

Situation: I want to run Target of W2 from W1.

For That, I have modified the PBT of W1 by replacing

AppName and LibList  of Target of W1 -> AppName and LibList of Target of W2.

Problem: When I reload the Target of W1....It gives me error ""Could not add target because of bad application library in  '.........\target1.pbt'  "

Note: I am doing this because I want to debug the combined application.

Could you please suggest me a way to resolve this?

Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 21:17 PM UTC
  2. PowerBuilder
  3. # 1

1) Create a new workspace W3

2) ADD TARGET ---> PBT_from_W1 into W3

3) ADD TARGET ---> PBT_from_W2 into W3

 

Do a full rebuild after the targetrs have been added.


Olan

 

Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 13:02 PM UTC
  2. PowerBuilder
  3. # 2

Hi Akash, I can't follow the setup you describe. I get lost in how your PB targets are defined.
Can you help me?

Workspaces are simply sorted collections of PBT targets.

 

QUESTIONS

Let us call your PBL files LIB-A.PBL, LIB-B.PBL, LIB-C.PBL, etc.
Let us call your PB targets APP-1.PBT, APP-2.PBT, etc.

  1. How is APP-1.PBT defined?
    Library List ?
    Application object name and in which PBL file?

  2. How is APP-2.PBT defined?
    Library List ?
    Application object name and in which PBL file?
  3. How is your failing PBT target defined?
    Library List ?
    Application object name and in which PBL file ?

HTH /Michael

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.