Hi Everyone
I thought I would try and setup and use the PBAutoBuild220.exe to build our applications. My first problem was that I needed to install the PB IDE before the EXE would run at all (I had tried only installing the tools and utilities). I think the DOt Net 6 SDK needed to be installed or something.
Having got past that problem I now find that the EXE just crashes when it reaches the SSC part.
The log file contains:
08:26:36 [Normal] PBAutoBuild Version: 22.1.0.2828.
08:26:36 [Normal] Work Path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe.
08:26:36 [Normal] Runtime Version: 22.1.0.2828.
08:26:36 [Normal] Load file: C:\Users\dpeace\AppData\Local\Appeon\PowerBuilder 22.0\pb.ini
08:26:36 [Normal] Start processing parse json to model code segment.
08:26:36 [Normal] End processing parse json to model code segment.
08:26:36 [Normal] Start processing download source code segment.
08:26:36 [Normal] Start downloading the source code.
08:26:36 [Normal] Execute VSS init
08:26:36 [Normal] Execute open VSS project
08:26:36 [Normal] Execute VSS download source code
The Event Log shows:
A .Net Runtime error:
Application: pbautobuild220.exe
CoreCLR Version: 6.0.522.21309
.NET Version: 6.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00000000
Stack:
A Application Error:
Faulting application name: pbautobuild220.exe, version: 22.1.0.2828, time stamp: 0x65313be4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0xed8
Faulting application start time: 0x01da329822e0d53e
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
Faulting module path: unknown
Report Id: 28814c28-d681-428f-a15e-6e5e5edaca4d
Faulting package full name:
Faulting package-relative application ID:
My app.json file contains, all of which is the same as the exported values except for the VSS stiuff, not sure why PB cannot get this from it's own workspace?:
{
"MetaInfo": {
"IDEVersion": "220",
"RuntimeVersion": "22.1.0.2828"
},
"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": "\\\\psmf1\\Data\\Fileshare\\Development\\source_control\\SHOPDIRECT\\\"$/Shipping\", BAAAAAAA","User": "dpeace","Password": "a","DestPath": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application"}
],
"Merging": [
{"Target": "","LocalProjectPath": "","RefreshPbl": false}
],
"PostCommand": ""
},
"BuildJob": {
"PreCommand": "",
"Projects": [
{"Target": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.pbt","Name": "ship"}
],
"PostCommand": ""
}
},
"Projects": {
"ship": {
"ProjectType": 0,
"//ProjectType": "0: PB Native; 1: PowerClient; 2: PowerServer; 3: PowerServer 1.0; ",
"General": {
"ExecutableFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
"ResourceFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\pfc.pbr",
"ProjectBuildOptions": {
"PromptForOverwrite": false,
"WindowsClassicStyle": true,
"Rebuild": 1,
"//Rebuild": "0: Incremental; 1: Full; "
},
"CodeGenerationOptions": {
"Platform": 0,
"//Platform": "0: 32-bit; 1: 64-bit; ",
"32Bit": {
"CodeType": 0,
"//CodeType": "0: Pcode; 1: Machine code; ",
"MachineCode": {
"TraceInformation": false,
"ErrorContextInformation": false,
"Optimization": 0,
"//Optimization": "0: Speed; 1: Space; 2: None; "
}
},
"64Bit": {
"CodeType": 0,
"//CodeType": "0: Pcode; "
},
"EnableDebugSymbol": true
}
},
"Libraries": [
{
"Library": "ship.pbl",
"GeneralPBD": false,
"PBRFileName": ""
},
{
"Library": "securfix.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "debug.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "shipx.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "shipm.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "shipn.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "shipd.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "shipw.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfeapsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfedwsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfemain.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfeutil.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfewnsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfcutil.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfcdwsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfcmain.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfcapsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
},
{
"Library": "pfcwnsrv.pbl",
"GeneralPBD": true,
"PBRFileName": ""
}
],
"Version": {
"PropertiesDisplayedForExecutable": {
"ProductName": "PowerBuilder Enterprise Series",
"CompanyName": "Sybase, Inc.",
"Description": "Sybase, Inc. 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,
"//GenerateOptions": "0: No manifest; 1: Embedded Manifest; 2: External manifest; ",
"ExecutionLevel": 0,
"//ExecutionLevel": "0: As Invoker; 1: Highest Available; 2: Require Administrator; ",
"AllowAccessToProtectedSystemUI": false
}
},
"Run": {
"Application": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
"Arguments": "",
"StartIn": "",
"RuntimePathInApplicationXML": "C:\\Program Files (x86)\\Appeon\\Common\\PowerBuilder\\Runtime 22.1.0.2828"
}
}
}
}
====================================================================
Your thoughts please?
Thanks for the update!
You need to move on SCM wise though as VSS was deprecated in 2005 and discontinued in 2012 by Microsoft. ;-)
Regards .. Chris
I have yet to find an alternative that works for us.