[off-topic] Where can I find help with PBOrca ?

408 views
Skip to first unread message

Maximiliano Milicich

unread,
Nov 23, 2011, 10:32:31 AM11/23/11
to pb...@googlegroups.com
Hi:
I know this group is for PBSCCProxy, but I'm stuck with some issues using PBOrca (http://code.google.com/p/pborca/) and since Dmitry is both the author of PBOrca and PBSCCProxy, I thought someone here could lend me a hand...

I'm trying to make an OrcaScript for auto-compiling my powerbuilder app, but in this line:
build exe myapp.exe , myapp.ico , myapp.pbr , pcode
I get an error:
deploy_myapp.orc (179) : command not supported.

I get this error using PBORC80.DLL (my app is PB 8.0)

Nevertheless, I got another app, made with PB 9.0
And I use basically the same orcascript (with pborc90.dll), and it works

Sorry about this off-topic but i don't know where to find some help about it

Thanks in advance
Maxi, from Buenos Aires, Argentina


Dmitry.

unread,
Nov 23, 2011, 3:01:25 PM11/23/11
to pb...@googlegroups.com
Hello,
Yes, there is no separate discussion about pborca... so that's ok to discuss it here.
Can you attach the orca script and full log?
Or as minimum tell me the commands just before "build exe" and log lines before the error.

Regards,
  Dmitry

Maximiliano Milicich

unread,
Nov 24, 2011, 9:57:08 AM11/24/11
to pb...@googlegroups.com
Hi Dmitry.
Thank you very much.

I made a "hello world" sample app, extremely simple, just 2 pbls, a pbr file (in order to simplify the problem)
And I tested my orcascript with it, and it doesn't work, either.

I attach here this sample app (2 pbls, 1 pbr, 1 pbt, 1 pic folder), and also including a folder named "pborca" containing
- deploy_myapp.orc (the orcascript)
- deploy_myapp-cmd (the command file that invokes pborcaa.exe.)
- pborc80.dll  ( see * below)

* this pborc80.dll is the Sybase PBOrca DLL for powerbuilder 8.0.4 build 10501 -it's the last build of pb 80. Then it comes pb 90)
I also tried using the pborc80.dll that I find in my powerbuilder installation (sybase\shared\PowerBuilder\pborc80.dll), and doesnt work either.

I also attach the output of the execution

I would appreciate your help indeed.

regards
Maxi
out.log
myapp.zip

Dmitry.

unread,
Nov 24, 2011, 4:19:04 PM11/24/11
to pb...@googlegroups.com
Hello,

It seems the problem is in SetExeInfo.
Probably PB8 does not support this function or some of it's parameters.

Try to comment "set exeinfo" and then re-compile.

Waiting for result.

Dmitry

Maximiliano Milicich

unread,
Nov 27, 2011, 10:47:46 PM11/27/11
to pb...@googlegroups.com
Great!
It was just that...thanks a lot!

I had seen the warning message, I can't believe how I didn't try to comment those lines...

So as I can guess, I wouldn't be able to set exe info via orcascript using PB8, right?

It's unbelievable  I'm still working with Powerbuilder 8...but migrating to newer versions is a decision out of my scope, here in my work, haha

I'm afraid I'm gonna be asking for help again in the next days, because I'm working on automating the whole process of compiling our PB App via OrcaSCript...creating PBL files from plain text source files (stored in an svn repo using PBSCCProxy), and then building and compiling...

Two final issues:

a) I'm using the "import pbg2pbl" command. It works fine, but it emits blank lines as output messages instead of information, as regenerate command does...Is it normal?

b) What's the difference between "build app full" and "build app migrate" ?

Thank you very much once again

Regards
Maxi from Buenos Aires, Argentina

Dmitry.

unread,
Nov 28, 2011, 2:06:55 PM11/28/11
to pb...@googlegroups.com
Hello,

Sure you can't use set exeinfo in PB8.


a) I'm using the "import pbg2pbl" command. It works fine, but it emits blank lines as output messages instead of information, as regenerate command does...Is it normal?

It should print only pbg file names...
Probably this is a kind of feature :)
The lines are empty or with script name and execution line ?

b) What's the difference between "build app full" and "build app migrate" ?

Better to ask sybase. I'm just calling ORCA_ApplicationRebuild with this parameter...
As I know, migrate should be used after full application import.

Regards,
  Dmitry

Maximiliano Milicich

unread,
Dec 5, 2011, 11:12:51 AM12/5/11
to pb...@googlegroups.com
Hi again!
(apologies for the delay in my answers)

About the "import pbg2pbl" command, you had asked me "The lines are empty or with script name and execution line ?"
They all are empty
It emits one emtpy line per pbg (I assume it's per pbg, because of the quantity of empty lines)
But apart from that, the command does it good. It works fine

Thank you very much for your answers!
Regards

Mehboob Ahmed

unread,
Feb 25, 2014, 2:29:12 AM2/25/14
to pb...@googlegroups.com
hi Max,

i have downloaded PBORCA package from the following link
can you please tell me how to set this up???

Dmitry.

unread,
Feb 25, 2014, 12:52:52 PM2/25/14
to pb...@googlegroups.com
in the package there is a pborca.htm file.
inside it you can find package contents.

and it written
install.cmd  installation script: copies pborca.exe to windows\system32 directory and imports pborca.reg into your registry
But actually it's not necessary to run it.

just create an orca script (samples also in the package)
and run from command line

pborca.exe "myscript.orc"

Regards,
  Dmitry

Mehboob Ahmed

unread,
Feb 26, 2014, 7:29:43 AM2/26/14
to pb...@googlegroups.com
where i have to put pborca.reg file?? which registry?
Reply all
Reply to author
Forward
0 new messages