1. André Rust
  2. PowerBuilder
  3. Thursday, 17 March 2022 14:56 PM UTC

Hi,

we trying to run pbautobuild on our azure devops pipeline. The problem is we can't configure the runtime in pbautobuild and neither can we install the runtime with the installer. 

How can we specify the runtime path in pbautobuild.

thx, André

 

The JSON file is following:

{
"MetaInfo": {
"IDEVersion": "210",
"RuntimeVersion": "21.0.0.1506"
},
"BuildPlan": {
"SourceControl": {
"PreCommand": "",
"SVN": [
{"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
],
"Git": [
{"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
],
"VSS": [
{"SrcPath": "","User": "","Password": "","DestPath": ""}
],
"Merging": [
{"Target": "","LocalProjectPath": "","RefreshPbl": false}
],
"PostCommand": ""
},
"BuildJob": {
"PreCommand": "",
"Projects": [
{"Target": "C:\\AE\\proggie\\proggie.pbt","Name": "proggie"}
],
"PostCommand": ""
}
},
"Projects": {
"proggie": {
"ProjectType": 0,
"//": "0: PB Native",
"//": "1: PowerClient",
"//": "2: PowerServer",
"General": {
"ExecutableFileName": "C:\\AE\\proggie\\proggie.exe",
"ResourceFileName": "C:\\AE\\proggie\\proggie.pbr",
"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": "proggie.pbl",
"GeneralPBD": false,
"PBRFileName": ""
},
{
"Library": "proxies.pbl",
"GeneralPBD": true,
"PBRFileName": ""
}
],
"Version": {
"PropertiesDisplayedForExecutable": {
"ProductName": "Proggie",
"CompanyName": "My Company & Co KG",
"Description": "Proggie",
"Copyright": "My Company KG © 2022",
"ProductVersion": "3.05.220316",
"FileVersion": "3.05.220316"
},
"ExecutableVersionUsedByInstaller": {
"ProductVersion": [
3,
5,
22,
316
],
"FileVersion": [
3,
5,
22,
316
]
}
},
"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:\\AE\\proggie\\proggie.exe",
"Arguments": "",
"StartIn": "C:\\AE\\proggie\\",
"RuntimePathInApplicationXML": "C:\\Program Files (x86)\\Appeon\\Common\\PowerBuilder\\Runtime 19.2.0.2728"
}
}
}
}

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 March 2022 19:21 PM UTC
  2. PowerBuilder
  3. # 1

Hi André ;

  I do not think that this is possible as the PBAB compiler should take the runtime path from the build "project" of the original IDE setting and then create an <AppName>.xml file. From there though, you might need to edit the .XML file to point to where your current runtime is installed on the deployment PC(s) as per how you installed the runtime via the PB Packager utility.

Note: PowerClient and PowerServer Apps would not be sensitive to this.

Regards ... Chris

Comment
  1. André Rust
  2. Friday, 18 March 2022 06:46 AM UTC
Hi Chris,

thanks for answer.

Too bad that the function does not work that way. Is something still being worked on so that it also works with this?



Regards André
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 March 2022 07:52 AM UTC
  2. PowerBuilder
  3. # 2

Hi André,

When PBAutobuild is executed, it relies on PowerBuilder Runtime. From the message you provided, it’s because you haven’t installed PowerBuilder Runtime version 21.0.0.1506.

So I suggest you install PowerBuilder Runtime version 21.0.0.1506 referring to the instruction in the link below:
https://docs.appeon.com/pb2021/application_techniques/Deploying_Applications_and_Components.html#Installing_PowerBuilder_Runtime 

Regards,
Ken

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.