1. Jonathan Ashwell
  2. Valentina Database ADK
  3. Donnerstag, April 15 2021, 04:41 PM
  4.  Abonnieren via E-Mail
I’m using the old build script install_vcomponents_v4rb_v7 and am running into some problems. Is there a newer version I missed? And I see that install_vreports just declared but not used in the script?
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
Thanks, Sergey, much appreciated.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Thank you, added these scripts to the installer.

Also, modified the script, so it is possible to choose VKernel, VClient and VReport individually.

For example, to copy VKernel only:
./install_vcomponents_v4rb_v9 My\ Application.app 64 1 0 0
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
I agree it should be included in the installer. No one is going to find it unless they read this forum.

I have another request. I don't need libvclient_fat_release, so I've modified the script like you did for VReports, with a new boolean property install_vclient.

if [[ $install_vclient = 1 && ! -e "$app_vcomp"/libvclient_fat_release$dllsuff.dylib ]] ; then
cp $sys_vcomp/libvclient_fat_release$dllsuff.dylib "$app_vcomp"

This will break with the next script update unless I remember to modify it again. It would be nice if the official script had the ability to exclude libvclient_fat_release_x64.dylib just like it has for VReports.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Thanks, that solved the problem. The IDE script could be included in the installer, too.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort

getShellString(CurrentBuildAppName) + ".app/"


What if you remove the last slash?

getShellString(CurrentBuildAppName) + ".app"
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Forgot: Valentina downloaded from website just now. Almost latest Xojo 2021r1.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
The latest script doesn't work at all. A screenshot of my result is below.

My IDE script:


'add valentina files

'prepare
dim CountSlashes as Integer = CountFields(ProjectShellPath, "/")
dim ProjectName as string = NthField(ProjectShellPath, "/", CountSlashes)
dim ProjectPath as String = Left(ProjectShellPath, Len(ProjectShellPath) - Len(ProjectName))

dim ProjectParent as string = NthField(ProjectPath, "/", CountSlashes - 1)
dim ProjectParentPath as String = Left(ProjectPath, Len(ProjectPath) - Len(ProjectParent) - 1)

dim cmd as String = ProjectParentPath + "Classes/Build\ Automation/install_vcomponents_v4rb_v9 " + CurrentBuildLocation + "/" + getShellString(CurrentBuildAppName) + ".app/"
cmd = cmd + " 64"

dim theOutput as string = doShellCommand(cmd)
if theOutPut <> "" and instr(theOutput, "warning") = 0 then print "Add Valentina Files: " + theOutput

function getShellString(theString as String) as string
theString = ReplaceAll(theString, " ", "\ ")
theString = ReplaceAll(theString, "&", "\&")
theString = ReplaceAll(theString, "(", "( ")
theString = ReplaceAll(theString, ")", ") ")
return theString
end Function
Anhänge
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Why don't you include the script in the installer for Valentina? I've just noticed that I had an old version. The search in the wiki didn't have any result. But I found this discussion here.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Updated the script:
- restored the use of the install_vreports variable
- changed vcomponents installation path to standard app/Contents/Framework
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
I see this is still in the script:

# YOU can change this to 0 to skip VREPORT.dll
install_vreports=1

But does it do anything? install_vreports isn't used again.
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
Thanks Sergey.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Jonathan,

There is an updated version of this script.
Scripts for different versions can be found in the deployment guide.
Referenzen
  1. https://valentina-db.com/docs/dokuwiki/v11/doku.php?id=valentina:products:adk:v4rb:manual:deployment:mac_ub
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories