1. Jan Hoppe
  2. PowerBuilder
  3. Monday, 27 April 2020 12:36 PM UTC

I am trying to use the orcascript command "Build project" like shown below

start session

set debug true

build project "c:\orcatest\orcatest.pbl" "p_orcatest"

scc close
end session

In my folder "c:\orcatest\" I have the attached pbl.

I get this error:

Start Session
set debug "true"
Build Project "c:\orcatest\orcatest.pbl" "p_orcatest"
Orca error in 'buildProject'. Result Code -5.
The library list for the current Orca session must be set prior to making this request.
Last Command Failed.
End Session

Does anyone know what the problem is?

 

Attachments (1)
Simone Olianti Accepted Answer Pending Moderation
  1. Monday, 27 April 2020 13:35 PM UTC
  2. PowerBuilder
  3. # 1

have you tried to set the library list before building the project?

start session
set liblist = "c:\orcatest\orcatest.pbl;"

Comment
  1. Jan Hoppe
  2. Monday, 27 April 2020 13:47 PM UTC
I have Simone, and unfortunately the result is the same.
  1. Helpful
There are no comments made yet.
yakov werde Accepted Answer Pending Moderation
  1. Monday, 27 April 2020 13:58 PM UTC
  2. PowerBuilder
  3. # 2

Look at the first example in the help topic "Usage notes for OrcaScript commands and parameters"

 

HTH

Yakov

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.