1. Jonathan Ashwell
  2. Valentina Database ADK
  3. 木, 4月 15 2021, 04:41 PM
  4.  メールで購読
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?
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Jonathan,

There is an updated version of this script.
Scripts for different versions can be found in the deployment guide.
参照
  1. https://valentina-db.com/docs/dokuwiki/v11/doku.php?id=valentina:products:adk:v4rb:manual:deployment:mac_ub
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Thanks Sergey.
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
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.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Updated the script:
- restored the use of the install_vreports variable
- changed vcomponents installation path to standard app/Contents/Framework
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
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.
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
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
添付ファイル
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
Forgot: Valentina downloaded from website just now. Almost latest Xojo 2021r1.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答

getShellString(CurrentBuildAppName) + ".app/"


What if you remove the last slash?

getShellString(CurrentBuildAppName) + ".app"
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
Thanks, that solved the problem. The IDE script could be included in the installer, too.
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
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.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Thanks, Sergey, much appreciated.
コメント
There are no comments made yet.
  • ページ :
  • 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