Solved

Is there any way to create an application that regenerate PBL?

Posted on 2004-08-16
3
371 Views
Last Modified: 2013-12-26
Just want to know that is there any way that allow me to create an applcation that auto regenerate all the PBL in the sequence that i choose?? Cause im lazy to click one by one and regenerate. Thanks for your response!
0
Comment
Question by:jackmh
3 Comments
 
LVL 2

Expert Comment

by:bluecomet
ID: 11818070
hi,

normally if you choose in the library painter your pbls you can select as many as you want of your objects and regenerate them at once.

$regards
0
 

Author Comment

by:jackmh
ID: 11830411
but due to the inheritance, i cannot select all pbl and regenerate at one time. I have to regenerate the ancestor object before the descendant objects. And there are around 30 pbl in the application, so that every time when build the application i have to follow the sequence and regenerate one by one carefully. Sometimes problem might occur if miss one pbl.
0
 

Accepted Solution

by:
EdMacke earned 250 total points
ID: 11957635
Sorry, there is no way to do this in PB!

Check out a product called PowerGen (http://www.ecrane.com/powergen1.htm).

You can't tell it what order to regenerate things in; it examines all objects in your application and automatically regenerates them in the correct ancestry order.  

Its main function in life it to automate the compilation process, but we used to set it up for a nightly regenerate-only run to make sure all ancestor / descendant objects were still valid (i.e. we didn't screw up an ancestor and break a descendant during the day's work!).

You can run it from a command line, too, so you can do multiple applications, set it up to run on a timer, etc., etc.  It was really nice to fire off a batch file at 5:00 at night before leaving, then come in at 8:00 am and have all the apps compiled.

Sadly, I can't have PowerGen at my current location :(

And, no, I don't have any connection to PowerGen.  Check out their web site, you'll see for yourself...

Cheers,
Ed
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now