1. Jim Nesbitt
  2. PowerBuilder
  3. Monday, 11 September 2023 16:35 PM UTC

I get error messages when I try to export a build file for a workspace with multiple targets.  

 ---------- Export : Export of workspace matrix   (16:53:08)
There are no projects for target: Admin. Please create a new project and configure it.
There are no projects for target: matrix. Please create a new project and configure it.
There are no projects for target: app. Please create a new project and configure it.
There are no projects for target: StockmaX. Please create a new project and configure it.
 ---------- Finished Export of workspace matrix   (16:53:10)

I use these Export Build File options for the workspace and all targets are selected.

All the targets have projects and generating a single build file from the individual projects works fine, so this is not a major problem.

 

 

Until very recently, we only used targets with one workspace. so always used the Project Build menu option.

Jim

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2023 20:35 PM UTC
  2. PowerBuilder
  3. # 1

Hi Jim;

 I am not having any issues exporting the build file from the WorkSpace but, maybe I am not trying to do exactly what you are doing.

For example ...

{
  "MetaInfo": {
    "IDEVersion": "220",
    "RuntimeVersion": "22.1.0.2819"
  },
  "BuildPlan": {
    "SourceControl": {
      "PreCommand": "",
      "ClearSrcBeforeDownload": false,
      "SVN": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "Git": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Branch": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "VSS": [
        {"SrcPath": "","User": "","Password": "","DestPath": ""}
      ],
      "Merging": [
        {"Target": "","LocalProjectPath": "","RefreshPbl": true}
      ],
      "PostCommand": ""
    },
    "BuildJob": {
      "PreCommand": "",
      "Projects": [
        {"Target": "C:\\Dev\\PB2022R2\\Example Sales App\\Native_PB\\Appeon.SalesDemo\\salesdemo.pbt","Name": "salesdemo_local"},
        {"Target": "C:\\Dev\\PB2022R2\\Example Sales App\\Native_PB\\Appeon.SalesDemo\\salesdemo.pbt","Name": "salesdemo_cloud"}
      ],
      "PostCommand": ""
    }
  },

SO we might need to get a video of exactly what you are doing or remote into your environment to have a closer look.

Regards ... Chris

 

Comment
  1. Jim Nesbitt
  2. Tuesday, 12 September 2023 22:00 PM UTC
Hi Chris - I don't think a video would help much - I'm just clicking full build on the workspace context menu. I just think there's something weird causing the problem. We're migrating from TFS to git, so had to change to introduce single workspace for the apps instead of one per app (we only ever used project deploy before). Remoting in sounds like an excellent idea. I don't think there would be any problems with that - I'll check tomorrow and get back to you. I've already got TeamViewer if that helps.



Cheers



Jim





  1. Helpful
  1. Jim Nesbitt
  2. Wednesday, 13 September 2023 09:03 AM UTC
Hi Chris - remoting in is fine. Just let me know. Jim
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 13 September 2023 15:55 PM UTC
Hi Jim;

For this type of support ... please open a Support Ticket for this issue so that we can pursue this issue remotely.

Many thanks in advance!

Regards ... Chris
  1. Helpful 1
There are no comments made yet.
Jim Nesbitt Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2023 19:44 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris

Some screenshots.

 

Target properties

Full list of libraries is attached in Target Library List.zip (contains .txt file)

Project Properties

I can't show full library list for the project, but they correspond to all the lines beginning with PBD in matrix_proj.srj (can be opened with text editor) and match up with list in Target Library List.txt

 

I can deploy the project without any problem, but don't see what might be causing the problem for workspace deploy as workspace references the target and project references the App. I've googled Powerbuilder "no deployable targets" message, but can't find anything information about what might cause this.

Jim 

 

Attachments (1)
Comment
There are no comments made yet.
Jim Nesbitt Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2023 15:43 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris

The library lists are now all in sync, but I'm now getting a new error message when I select deploy from the workspace context menu as shown. 

I removed all but one of the targets to simplify things, but I was getting the same message 4 times when all 4 were present. 

I don't understand why it is not finding the project matrix_proj as shown in screenshot. I can deploy a single project from the project context menu without any problems.

The zip attachment contains the following 3 files matrix.pbw - Workspace, matrix.pbt - Target and matrix_proj.srj - Project.

I'm hoping any solution will also work for the other 3 targets.

When I select Export Build File, I get the message There are no projects for target:...

Thanks in advance

Jim

 

Attachments (1)
Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 12 September 2023 18:24 PM UTC
Hi Jim;

Unfortunately, I cannot open your attachment as it has no PBL(s) and thus no Projects. :-(

Regards ... Chris
  1. Helpful
There are no comments made yet.
Jim Nesbitt Accepted Answer Pending Moderation
  1. Monday, 11 September 2023 19:37 PM UTC
  2. PowerBuilder
  3. # 4

Hi Chris

Thanks for the fast response (again). WorkSpace and Target object properties look OK, but I noticed that there was a mismatch in the library list in some projects. I plan to fix these and try a multiple target build. (I'm pretty sure I also tried this previously and it didn't work).

Will update you with outcome. 

Thanks - Jim

 

 

Comment
  1. Chris Pollach @Appeon
  2. Monday, 11 September 2023 20:19 PM UTC
Yes, if you can't run each project deployment on its own successfully, then the WS compilation or it's export thereof, won't work either.
  1. Helpful 1
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 September 2023 17:21 PM UTC
  2. PowerBuilder
  3. # 5

Hi Jim;

  Have a look at the properties of both the Workspace & Target objects to make sure that they are mapped & assigned to the correct Targets OK. Once that is done, your WS build on multiple targets should we work okay. 

  If the multiple target builds are ok within the IDE, then that should export ok for the external build process.

Regards ... Chris 

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.