RB Build Automation and Valentina

Beatrix Willius bwillius at gmx.de
Wed Jan 20 10:59:23 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.


Am 20.01.2010 um 15:02 schrieb jda:

>
> Hi Ruslan,
>
> I'm trying to use the RB Build Automation feature to install
> Valentina components automatically when I build a project. I'm
> copying the files/folders (for a non-VServer app)
>
> libvclient_fat_release.dylib
> libvkernel_fat_release.dylib
> libvshared_fat_release.dylib
> vresources
>
> to the Contents folder of the built app. As far as I can see, the
> final configuration in the app package is identical to using your
> script INSTALL VCOMPONENTS V4RB v3 (without the server parts). But
> the app fails to launch (can't find plugin method
> Valentina.DebugLevel(Assigns inLevel as integer).
>
> What else is the install script doing that I'm not?
>
> I can always run the script after a build, but I'd prefer to
> integrate it into the build automation.
>
> Thanks,
>
> Jon
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta

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-beta/attachments/20100120/bd34e358/attachment.html 


More information about the Valentina-beta mailing list