1. Gilcemar Guizzo Zanette
  2. PowerBuilder
  3. Thursday, 28 September 2023 17:15 PM UTC

Hi all.

 

I'm using PB 19 R3.

We're starting to deploy applications using orcascript, but I'm having problems with relative path for images.

Example, in on meu, I've ..\img\icon\sratr.ico

When I build using IDE, everything is ok, but using orcascript isn't working, the icon dosen't apear.

 

We're using git.

 

start session
set debug true
scc set connect property localprojpath "C:\ControleVersao\build"
scc set connect property logfile "C:\ControleVersao\build\log.log"
scc set connect property logappend false
scc set connect property deletetempfiles "true"
scc connect offline
scc set target "C:\ControleVersao\build\admin\admin.pbt" refresh_all importonly
scc refresh target incremental
scc refresh target 3pass
build application full
build executable "C:\ControleVersao\build\exec32\admin.exe" "C:\ControleVersao\build\IMG\ICON\adming.ico" "C:\ControleVersao\build\admin\admin.pbr" "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN" newvstylecontrols
scc close
end session

 

Thanks

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 28 September 2023 18:27 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gilcemar;

  First ... Does it actually build the App properly within the PB IDE using the designated "Project"?

Regards ... Chris

Comment
There are no comments made yet.
Gilcemar Guizzo Zanette Accepted Answer Pending Moderation
  1. Thursday, 28 September 2023 18:34 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris

Yes.

Using runtime 19.2.0.2728

It's strange, because I've made before call orcascript, another to replace the relative path ..\img to absolute path c:\controleversao\build\admi\img and works, but I need to make work with ..\img, because in my code, there's some script that check ..\img and make comparation.

I'm trying to avoid change de code.

 

Thanks

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.