RB Build Automation and Valentina

jda jda at his.com
Wed Jan 20 11:11:43 CST 2010


>Hi Jon,
>
>you can use a simple IDE script:
>
>>If you use Studio you can use build automation with the following IDE script:
>>
>>   dim cmd as String
>>   cmd = CurrentBuildLocation + "/Contents/INSTALL_VCOMPONENTS_V4RB_v3"
>>   cmd = cmd + " " + CurrentBuildLocation + "/" + 
>>getShellString(CurrentBuildAppName) + ".app" + "/"
>>   dim theOutput as string = doShellCommand(cmd)
>>   if theOutput <> "" then print theOutput
>>
>>   function getShellString(theString as String) as string
>>     Return ReplaceAll(theString, " ", "\ ")
>>   end Function
>>
>>   'only works if "Use Build Folder" during build is not selected
>>
>>There you can also see the final slash. I was told that I can 
>>properly escape the application name, but the function seems easier 
>>to read.
>>
>
>


Thank you very much, I'll do that. I still wonder what I wasn't 
installing (everything seemed to be there)?

Jon


More information about the Valentina-beta mailing list