Deployment of V4RB MAC UB Application not so easy

Beatrix Willius bwillius at gmx.de
Sun Dec 20 08:46:06 CST 2009


Hi Daniel,

you need to add a "/" after the application name. Been there, done that.

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.

On 20.12.2009, at 15:34, Diafoirius wrote:

> Hi Ruslan,
>
> I'm trying the V4RB 4.3 Mac in demo mode before upgrade from V2
>
> I failed to create a standalone Mac UB Application package using your
> "V4RB_v4 SCRIPT for V4RB 4.0 or newer" and doing exactly:
> - open the terminal.app
> - drag script into the terminal window
> - drag MyApplication.app into the terminal window
> - press ENTER
>
> I got errors : .../myappxxx.appContents/vcomponents: No such file or  
> directory
>
> Snow Leopard and Developer folder installed.
>
> Well, I tried to install manually the /usr/local/lib/vcomponents
> contents into my application package but it not works... (I tried
> into MacOS folder and so on)-> Runtime error at launch (with
> /usr/local/lib/vcomponents deleted)
>
> Please, can you explain exactly where to install manually the  
> vcomponents ?


Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20091220/8daf71d5/attachment.html 


More information about the Valentina mailing list