Tiemo,

Although I hope someone can help you make things work with the standalone builder, there is a manual way to set the externals for a stack which was used before the standalone builder did things for you. You can create an empty stack, set its externals property and load this stack when you need it from your standalone.

Roughly:

1) Create an empty stack, call it say "valentina.rev"
2) In the message box, execute: set the externals of this stack to "v4rev.bundle"&cr&"v4rev.dll" 3) Save this stack and the Valentina externals to somewhere where you standalone will be able to access them
4) Modify your application to do something like this:

set the directory to "path.to.externals/" (this could be a relative path)
start using stack "valentina.rev"

There are many variations on how you could setup the files, but the takeaway is this:

Whenever Rev loads a stack with it's "externals" property set, it will attempt to load the externals listed. From a standalone, you can load a regular stack which you've stashed somewhere which already has this property set. Thus if you can anticipate where your externals will be (using relative paths to your standalone), you can create a stack which serves to load them for you.

Hope that helps. It's easier when the standalone builder just works, but it can be handy to get to know the lower level workings of external loading as well.


Hello,

I am still without success building the Mac standalone of my Rev
3.0+Valentina4Rev3 app on my Win XP machine. The standalone builder just doesn't takes the Valentina bundles into the standalone folder. What I have
done so far is:

1. Setup everything of valentina how the docs say. And Valentina runs fine
in the IDE of my XP machine and in Win Standalone.

2. In the standalone settings of my stack I build for Mac (Universal) and
checked: Select inclusions for the standalone app: - Script Libraries:
"Valentina2" (Tried before also to check "database support")

3. I copied "the v4rev.bundle" and the "database_drivers" folder (from my
Mac) into the Win XP directory: C:\Dokumente und
Einstellungen\Tiemo.KESTNER\Eigene Dateien\My Revolution Studio \Runtime\Mac
OS X\Universal\Externals\

4. In the folder: C:\Dokumente und Einstellungen\Tiemo.KESTNER\Eigene
Dateien\My Revolution Studio\Externals - there is a Valentina txt file with one line: "Valentina2,v4rev.dll" and a folder: Database Drivers again with a
txt file and the line "Valentina2,dbvalentina2.dll".

Up to now I don't understand at all, how the link from Rev to externals works. Probably my problem is just a wrong path or a missing option. Perhaps somebody could explain to me the mechanism of information setup how Rev knows which externals to bind and where they have to be put on a XP machine.
I would think this mechanism should be the same for all externals and
perhaps I just have to put the folders into the right place.

Thanks for any help

Tiemo
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to