Who we are

We are the developers of Plastic SCM, a full version control stack (not a Git variant). We work on the strongest branching and merging you can find, and a core that doesn't cringe with huge binaries and repos. We also develop the GUIs, mergetools and everything needed to give you the full version control stack.

If you want to give it a try, download it from here.

We also code SemanticMerge, and the gmaster Git client.

Plastic SCM & PowerBuilder installation guide

Wednesday, May 06, 2009 Daniel Peñalba 1 Comments

First of all, make sure that the Plastic SCM SCC Plug-in is installed and that your client machine can communicate with the Plastic SCM server.

From Plastic SCM side
You have to adjust the Plastic SCM preferences before start working with PowerBuilder. You must go to Plastic preferences, then click in the "Other options" tab, and enable the option:

Compare file contents instead of using timestamp for 'quick diff'.

From PowerBuilder side
In order to bind a PowerBuilder workspace with a Plastic SCM one, you must right click on the PowerBuilder workspace and then on properties menu option. Then, select the tab "Source control" and you will see a screen like the following one. Select Plastic PLUGIN as Source Control System.

You must also enable the following options:
Perform diff on status update
Suppress prompts to overwrite read-only files

Performance considerations

By default PowerBuilder calls to the SCC provider with file packages. The default value is 25, so if you want to checkin 100 files, PowerBuilder will call the SCC provider 4 times, and will create 4 different changesets.

This is a behavior that we want to avoid, due to our checkin operation being atomic. This value can be changed in the PowerBuilder configuration file (pb.ini), that is placed in the PowerBuilder root installation folder, by default:c:\Program Files\Sybase\PowerBuilder\pb.ini
You must add the following parameter under the Library section:
SccMaxArraySize=X, being X the number of files per SCC call. A good value could be 5000.

Now Plastic SCM and PowerBuilder are configured to work with each other. You can take a look at the PowerBuilder documentation about SCC tasks here

Dani Peñalba
Yes! I was the first employee to join Codice!
I own the record in number of check-ins to the Plastic repository. And you can find me working on every single area of Plastic.
I'm also a professional guitar player and I like scuba diving, too. You can reach me at @danipen00.

1 comment:

  1. really its nice post about PowerBuilder. Thanks for sharing this Information.