- Luca Arena
- PowerBuilder
- Tuesday, 8 December 2020 11:50 PM UTC
[PB2017 R3]
Hi all,
I built an external tool to generate some PB Objects based on a simple XML specification.
My tool generates several source files (.sru, .srf and similar) ready to be imported into existing PBLs. I would like not to import them manually inside the IDE, but to build a batch file, say pbimport, and call it via command-line like:
pbimport n_myobject.sru library.pbl
so that n_myobject gets imported into library.pbl.
Is it possible/easy? I know there's OrcaScript for such operations, but I didn't find any straightforward command... seems I have to go through .pbg files and some sort of SCC commands even if my project isn't under Source Control but I couldn't find any example.
Any suggestions?
Thank you so much,
Luca
PS. I have bought Roland's pborcapi which could help me to do that, but I'd like to build an open source project with this generators so I'd prefer a "native" PB solution, if any.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.