1. Jason Schultz
  2. PowerBuilder
  3. Friday, 16 April 2021 16:20 PM UTC

We're attempting to automate our build process without the use of additional 3rd party tools (PowerGen, etc).

Our current environment uses PB2019R2 (build 2353) and SVN Server 1.10.6

We're using PowerShell scripts that contain various SVN statements (export/checkout, SVN Update), as well as the pbc190.exe (to compile/regen/deploy our applications). The problem we're having is the SVN Update command is failing. We get a 'Cannot open the working copy due to SVN Version incompatibility', and 'Failed to update target file'. We assume this is because the workspace hasn't been opened/connected to prior to attempting the SVN Update. 

The reason for the SVN Update is to ensure our build contains the most recent commits from SVN. We're also hoping to make this a non-interactive process where no manual steps are necessary within the PB IDE. 

Not sure if it's possible to do the above without manually going through the motions within PB IDE on our build box. Was hoping for a simple 'click the button' solution. In any event, just curious to see if anyone had any advice.

Thank You,

Jason Schulz

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 April 2021 17:40 PM UTC
  2. PowerBuilder
  3. # 1

Hi Jason;

  For the SVN SCC updates .. are you calling the ORCAScript utility that comes with the PB IDE installation?

Regards  ... Chris

Comment
There are no comments made yet.
Jason Schultz Accepted Answer Pending Moderation
  1. Wednesday, 21 April 2021 13:08 PM UTC
  2. PowerBuilder
  3. # 2

Thanks Chris. 

Yes, the OrcaScript is an option, but it seems we have the same limitations with that (when using SVN). Still looking at the example provided in the User Guide appendix, but looks like it can't connect to server to ensure you have the latest/greatest changes. Looks like it can only build what you currently have in an offline state, relying on the current contents of your local ws_objects folder?

Is manually running the PB IDE, connecting to workspace, then doing Refresh at workspace our only option to ensure we have the latest changes/commits prior to running a deploy script? We were hoping to avoid using the PB IDE.

Thanks,
Jason

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 21 April 2021 14:54 PM UTC
ORCAScript + PBC should be able to perform the entire build uting the latest object source from your SVN repository.
  1. Helpful
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.