2

Can someone please shed some light on different possibilities of build automation for, PB 12.NET applications. Since PB is .NET, can tools like NAnt or CruiseControl (with MSBuild) can be used to build and deploy the applications.

Basically, Can it be ORCAScript / ECrane PowerGEN independent.

Hugh Brackett
  • 2,706
  • 14
  • 21

1 Answers1

3

I'm usually wary of "never say never", but I'm pretty sure your answer is no.

To call the PowerBuilder compiler, you need to call PB's ORCA API. The IDE does that. ORCAScript provides you a command line interface to that. PowerGen provides a GUI front end (and lots of additional functionality) to that.

However, I'd expect you could use ORCAScript or PowerGen from these tools. For example, here's a blog post describing leveraging ORACScript in CruiseControl with NAnt. PowerGen has a very robust set of command line options, and will give you more power and opportunities from the command line (e.g. PBL optimization, more efficient bootstrapping).

Good luck,

Terry.

Terry
  • 6,160
  • 17
  • 16
  • thanks for the inputs, Now I clearly understand that we need to have ORCA API's to build PB applications, be it be, PB 12 classic or '.NET' edition. Since PB 12 '.NET' edition stores PB Objects quite differently, I think this will make bootstrapping less complicated. – Balaji Mohandas Feb 09 '11 at 03:33
  • What about using the command line arguments to the PB executable? Do those still exist in PB 12? In 10.5 we use those to build projects such as: `pb105.exe /w myworkspace.pbw /t mytarget.pbt /deploy /ou logfile.txt` – Doug Porter Feb 09 '11 at 19:44