1. paulo natal
  2. PowerBuilder
  3. Thursday, 14 April 2022 14:44 PM UTC

PBAutoBuild210 whit GIT

 

15:56:47 [Error] The PBG file does not exist.

I'm compiling and this message appears. I would like to compile without the need to use PBG files

 

 

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Friday, 15 April 2022 02:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi Paulo,

Is there a ws_objects directory contained in the LocalProjectPath directory you specified in the Build.json file?

For example, the following LocalProjectPath “.\Build” directory should contain a ws_objects directory, and this ws_objects directory should contain the  source code files corresponding to PBL.

"Merging": [
      {"Target": ".\\Build\\salesdemo.pbt", "LocalProjectPath": ".\\Build", "RefreshPbl": True}
],

If any problem, I suggest you upload the build.json file for us to analyze and it would be best if you can provide a complete PBAutobuild example case, including json, ws_objects, and pbt files, etc.

Regards,
Ken

Comment
  1. paulo natal
  2. Monday, 18 April 2022 12:50 PM UTC
Hi!!



See the code of file. attch



thanks
  1. Helpful
  1. paulo natal
  2. Monday, 18 April 2022 12:52 PM UTC
{

"MetaInfo": {

"IDEVersion": "210",

"RuntimeVersion": "21.0.0.1506"

},

"BuildPlan": {

"SourceControl": {

"PreCommand": "",

"SVN": [

{"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}

],

"Git": [

{"SrcPath": "https://github.com/paulonatal/pb2021.git";,"User": "users","Password": "passwd","DestPath": ".\\Build","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}

],

"VSS": [

{"SrcPath": "","User": "","Password": "","DestPath": ""}

],

"Merging": [

{"Target": ".\\Build\\GENERICAS\\genericas.pbt", "LocalProjectPath": ".\\Build\\GENERICAS", "RefreshPbl": true}

],

"PostCommand": ""

},

"BuildJob": {

"PreCommand": "",

"Projects": [

{"Target": ".\\Build\\GENERICAS\\genericas.pbt","Name": "p_genericas"}

],

"PostCommand": ""

}

},

"Projects": {

"p_genericas": {

"ProjectType": 0,

"//": "0: PB Native",

"//": "1: PowerClient",

"//": "2: PowerServer",

"General": {

"ExecutableFileName": "C:\\_Desenv\\teste\\MsafDW\\PB_GIT\\pb2021-tests\\Build\\GENERICAS\\genericas.exe",

"ResourceFileName": "",

"ProjectBuildOptions": {

"PromptForOverwrite": false,

"WindowsClassicStyle": false,

"Rebuild": 1,

"//": "0: Incremental",

"//": "1: Full"

},

"CodeGenerationOptions": {

"Platform": 0,

"//": "0: 32-bit",

"//": "1: 64-bit",

"32Bit": {

"CodeType": 0,

"//": "0: Pcode",

"//": "1: Machine code",

"MachineCode": {

"TraceInformation": false,

"ErrorContextInformation": false,

"Optimization": 0,

"//": "0: Speed",

"//": "1: Space",

"//": "2: None"

}

},

"64Bit": {

"//": "Pcode"

},

"EnableDebugSymbol": true

}

},

"Libraries": [

{

"Library": "genericas.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnseg.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgncm1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnfw1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnfw2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgngm.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnob1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnob2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFGN\\safgnra1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobaf1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobcb1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobcb2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobco1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobcp1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobcr1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobdf1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobdf2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobet1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfn1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfn2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfp1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfs1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfs2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfs3.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfs4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobfw.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobpa1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobpr1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobtb1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobtb2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobtb3.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobtb4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobtb5.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOB\\safobxls.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof3.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof5.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof6.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof7.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof8.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safof9.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safofa.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFOF\\safofb.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFPAR\\safpar1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFPAR\\safpar2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp5.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp6.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomp7.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompb.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompc.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompd.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompdf1.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompdf2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompdf3.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompdf4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompe.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompf.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompj.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompl.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompm.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompp.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompq.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel01.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel02.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel03.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel04.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel05.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel06.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomprel07.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcomps.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompt.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompu.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompv.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompx.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompy.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompz2.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompz3.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompZ4.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompz5.pbl",

"GeneralPBD": true,

"PBRFileName": ""

},

{

"Library": "SAFCOMP\\safcompz6.pbl",

"GeneralPBD": true,

"PBRFileName": ""

}

],

"Version": {

"PropertiesDisplayedForExecutable": {

"ProductName": "PowerBuilder Enterprise Series",

"CompanyName": "Appeon",

"Description": "Appeon Product File",

"Copyright": "",

"ProductVersion": "1.0.0.1",

"FileVersion": "1.0.0.1"

},

"ExecutableVersionUsedByInstaller": {

"ProductVersion": [

1,

0,

0,

1

],

"FileVersion": [

1,

0,

0,

1

]

}

},

"Security": {

"ManifestInformation": {

"GenerateOptions": 0,

"//": "0: No manifest",

"//": "1: Embedded Manifest",

"//": "2: External manifest",

"ExecutionLevel": 0,

"//": "0: As Invoker",

"//": "1: Highest Available",

"//": "2: Require Administrator",

"AllowAccessToProtectedSystemUI": false

}

},

"Run": {

"Application": "C:\\_Desenv\\teste\\MsafDW\\PB_GIT\\pb2021-tests\\Build\\GENERICAS\\genericas.exe",

"Arguments": "",

"StartIn": "",

"RuntimePathInApplicationXML": "C:\\Program Files (x86)\\Appeon\\Common\\PowerBuilder\\Runtime 21.0.0.1506"

}

}

}

}
  1. Helpful
  1. Ken Guo @Appeon
  2. Tuesday, 19 April 2022 02:32 AM UTC
Hi Paulo,



Based on your build json information, you have set LocalProjectPath to .\\Build\\GENERICAS in the Merging section. Please confirm if you have the folder ws_objects in this .\\Build\\GENERICAS. If you don't have this folder, you will get the "PBG file does not exist" error.



I suggest that you try the following:

1. Find the ws_objects folder.

2. Set the parent folder of ws_objects as the LocalProjectPath in the Merging section. In other words, the LocalProjectPath needs to include a ws_objects subfolder.

Generally, when you add PBW to Git Source Control in PB IDE, it will create this ws_objects folder in the folder that contains PBW.

3. You can also share with us the path for the pbw file and the path for ws_objects.



If it still doesn't resolve the issue, we suggest that you open a ticket through Appeon Support Portal (https://www.appeon.com/standardsupport/newbug) and we can schedule a meeting to trouble-shoot the issue.



Regards,

Ken

  1. Helpful 1
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.