Using PowerGen to bootstrap pbl

We are on the process of applying continuous integration to all our powerbuilder projects. One of the challenge is the classic orcascript sometimes failed in bootstrap pbls. e.g. customer exception. The interesting thing is, I can see the objects in the pbl by using yBrowser 10. but the object contains customer exception is missing from pbl when I try to look it in PowerBuilder IDE.

Anyway, PowerGen definately can save me out of this trouble. It’s slow comparing to orca because it’s checking all the depenanct when bootstrapping, but it’s stable.

Something I think PowerGen can improve in the future:

  1. Allow passing parameters into, so I can still use orca to build executable with version number. PowerGen implement this by using their version edit product to do the post build action.
  2. Work path should be dynamic, right now it’s hard-coded in gen file. I have to standardize it. I can change the *.gen file to replace those absolute path to relative one, but why couldn’t make the relative path be default? relative path is very necessary for branching.

Some other reasons for using orca besides PowerGen:

  1. to deploy EAServer component.
  2. orca import is very fast than synchronizing pbl from exported sr* file in PowerGen. This is a must-have feature to branch-merge in subversion, developers should be able to do this without PowerGen installed.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s