AW: How does RunRev finds externals when building the standalone?
Hi Ruslan, hmmm > > > You run insaller.rev on Windows only. > This create in the /Documents/Rev/ folder all required fodlers > evenRuntime/MAC OS X/Universal > Yes it did > > You need just MNUALLY copy here from MAC > V4REV.bundle > dbvalentina2 > Yes I did, nothing happens But when creating manually: Runtime/MAC OS X/Universal/EXTERNALS folder (as Kirill posted yesterday) And copying manually V4REV.bundle and Externals.txt to it, then it works for V4REV.bundle > And create two txt files with one line each. > If I copy dbvalentina2 into the same /EXTERNALS folder - How should the corresponding txt file be named, if the one for the V2REV.bundle is named Externals.txt? (I tried dbvalentina.txt without success, I tried to write two lines into externals.txt without success) So what I did from one of your last postings was to create another folder: Runtime/MAC OS X/Universal/EXTERNALS/DATABASE DRIVERS And put dbvalentina2 and database drivers.txt into that one (one level deeper as v4rev.bundle) BUT this one isn't recognized by the standalone builder. That was my main question in my last posting: How should Rev find the dbvalentina2 bundle in the database drivers folder? See my last posting! > > --- > P.S. > > MAKE SURE that in Standalone Settings dialog > you point app to be UNIVERSAL ! Yes I checked it - Otherwise it wouldn't actually work with the Runtime/MAC OS X/Universal/EXTERNALS/V4REV.bundle > > I think this where can be a mistake on your side. > I would be glad if you would find a mistake on my side! Thanks Tiemo > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > ___ > 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 ___ 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
AW: How does RunRev finds externals when building the standalone?
Thanks Ken, I have thought of this, but the installer needs an existing Rev setup structure. Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Ken Ray > Gesendet: Samstag, 11. Oktober 2008 07:26 > An: Use Revolution List > Betreff: Re: How does RunRev finds externals when building the standalone? > > I executed the install.rev on my Win and it ran whatever it did :) > >>> > >>> But not on MAC. > >>> > >>> S. > >> > >> How should I run installer.rev, when not having a Mac licence for > RunRev? > > You could try using StackRunner, which is a free "player" app for all > platforms: > > http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm > > > Ken Ray > Sons of Thunder Software, Inc. > Email: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > > > ___ > 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 ___ 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
AW: How does RunRev finds externals when building the standalone? --> SOLVED!
Hi Ruslan, finally we got it! After I didn't got the database drivers folder created, I didn't tried to build the deployment anymore. You were right, it worked already only with the v4rev.bundle. Now I also found out how to get the database drivers bundle bound. I had to check in the standalone settings beside Valentina2 also the database script library. For those who will follow this thread someday building a Rev-Valentina Mac standalone on Win XP, here is the compendium: First follow the Valentina install instructions. Now follow these steps for Universal standalone on Win XP: Create dir: .../Runtime/MAC OS X/Universal/Externals Put bundle: .../Runtime/MAC OS X/Universal/Externals/V4REV.bundle (copied from V4Rev_3 folder on Mac, after having installed V4Rev_3 on Mac) Create file: .../Runtime/MAC OS X/Universal/Externals/Externals.txt (content one line: Valentina2,v4rev.bundle) don't take the TXTs from Win! Create dir: .../Runtime/MAC OS X/Universal/Externals/Database Drivers Put bundle: .../Runtime/MAC OS X/Universal/Externals/Database Drivers/dbvalentina2 (copied from V4Rev_3 folder on Mac, after having installed V4Rev_3 on Mac) Create file: .../Runtime/MAC OS X/Universal/Externals/Database Drivers/Database Drivers.txt (content one line: Valentina2,dbvalentina2) Select in the standalone app settings of your stack: Script libraries: Database and Valentina2 Database Support: Valentina2 When building the deployment on Mac, after having dragged the script and the stack into the terminal window: add a backslash after your .app !!! Note that the "Database Drivers" folder in .../Runtime/MAC OS X/Universal/Externals/Database Drivers is named without underscore but in the Mac standalone package it gets automatically an underscore "database_drivers". P.S. not directly related: the db name in the rev stack should be named with the ".vdb" extension. On Win not needed, but the Mac standalone likes it better with it Thanks for your support and patience! 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
AW: AW: How does RunRev finds externals when building the standalone?
Hi Ruslan > > > Hi Ruslan, > > I executed the install.rev on my Win and it ran whatever it did :) > > But not on MAC. > > S. How should I run installer.rev, when not having a Mac licence for RunRev? > > * Kirill have create Stanadlone app on WIN, > * Send it to me, > * I have run installer script on my MAC. > * run application on MAC -> WORKS > > > As I understand, it should work now on your side also. > Please confirm. > Not yet! > > > Tiemo > > > >> > >> And again aha, since on your MAC there is no Revolution, Then you > >> cannot at all execute installer.rev > Right! ___ Valentina mailing list [EMAIL PROTECTED] http://lists.macserve.net/mailman/listinfo/valentina ___ 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
Re: AW: How does RunRev finds externals when building the standalone?
On 10/10/08 2:47 PM, "Tiemo Hollmann TB" <[EMAIL PROTECTED]> wrote: Hi Tiemo, > Hi Ruslan, > I executed the install.rev on my Win and it ran whatever it did :) But not on MAC. S. * Kirill have create Stanadlone app on WIN, * Send it to me, * I have run installer script on my MAC. * run application on MAC -> WORKS As I understand, it should work now on your side also. Please confirm. > Tiemo > >> >> And again aha, since on your MAC there is no Revolution, >> Then you cannot at all execute installer.rev -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ 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
AW: How does RunRev finds externals when building the standalone?
Hi Ruslan, I executed the install.rev on my Win and it ran whatever it did :) Tiemo > > And again aha, since on your MAC there is no Revolution, > Then you cannot at all execute installer.rev > > > > -- > Best regards, > > Ruslan Zasukhin ___ 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
AW: AW: How does RunRev finds externals when building the standalone?
Hi Ruslan, half the way! Hmm that sounds plausible, but because I don't have a Rev installation on Mac, I didn't had these valentina txt documents on my Mac. So I created them now manually and the "v4rev.bundle" is now recognized and taken into the standalone, but the "dbvalentina2" not yet, probably still a path problem. How it looks like now on my Win XP is this: ... \Runtime\Mac OS X\Universal\Externals\database drivers ... \Runtime\Mac OS X\Universal\Externals\v4rev.bundle ... \Runtime\Mac OS X\Universal\Externals\externals.txt (content: Valentina2,v4rev.bundle) And one level deeper: ... \Runtime\Mac OS X\Universal\Externals\database drivers\dbvalentina2 ... \Runtime\Mac OS X\Universal\Externals\database drivers\database drivers.txt (content: Valentina2,dbvalentina2) What I don't understand yet is how Rev shall recognize the dbvalentina2 bundle, which is one level deeper in database drivers, how shall Rev know this path? The other thing is that I have seen somewhere " database_drivers" written with an underscore in the middle? Thanks Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Ruslan Zasukhin > Gesendet: Freitag, 10. Oktober 2008 12:31 > An: use-revolution > Betreff: Re: AW: How does RunRev finds externals when building the > standalone? > > On 10/10/08 11:07 AM, "Tiemo Hollmann TB" <[EMAIL PROTECTED]> wrote: > > > Ruslan, > > actually I get this error message when building the standalone after > having > > copied the valentina txts into the runtime dir: > > 1 MacOS, external not found: "C:/Dokumente und > > Einstellungen/Tiemo.KESTNER/Eigene Dateien/My Revolution > Studio/Runtime/Mac > > OS X/Universal/Externals/v4rev.dll" > > And why DLL is here??? > > You need copy TXT files from your MAC's > > MyDocuments/Rev/Externals/... > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > ___ > 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 ___ 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
Re: AW: How does RunRev finds externals when building the standalone?
On 10/10/08 11:07 AM, "Tiemo Hollmann TB" <[EMAIL PROTECTED]> wrote: > Ruslan, > actually I get this error message when building the standalone after having > copied the valentina txts into the runtime dir: > 1 MacOS, external not found: "C:/Dokumente und > Einstellungen/Tiemo.KESTNER/Eigene Dateien/My Revolution Studio/Runtime/Mac > OS X/Universal/Externals/v4rev.dll" And why DLL is here??? You need copy TXT files from your MAC's MyDocuments/Rev/Externals/... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ 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
Re: AW: How does RunRev finds externals when building the standalone?
You can =). The side effect of using a separate stack is that you can load or unload the externals on demand. But yes, you can set the externals property of any stack you want, and when it loads, the externals should come with it. Just be careful to set the paths relative to the standalone or set the directory property before loading the externals. For me, I like having that separate resource stack that I can load when I want it, but admittedly, it is often not necessary. Hi Brian, that sounds interesting. What I don't understand is, why do I need another stack to bind the externals and why can't I just set the external properties of my main stack and put the externals into the same directory as my main stack? 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. ___ 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
AW: How does RunRev finds externals when building the standalone?
Ruslan, actually I get this error message when building the standalone after having copied the valentina txts into the runtime dir: 1 MacOS, external not found: "C:/Dokumente und Einstellungen/Tiemo.KESTNER/Eigene Dateien/My Revolution Studio/Runtime/Mac OS X/Universal/Externals/v4rev.dll" Tiemo > > > > > Quick Guess. > > > > Runtime/Mac OS X/Universal/ > > > > Folder also must have these txt files. > > > > When REV runs from IDE, it uses info from > > My Revolution Studio\Externals > > > > But when it build standalone, it NOT watch into this folder, > > It watch into Runtime folder. And here you have no .txt files. > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > ___ > 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 ___ 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
AW: How does RunRev finds externals when building the standalone?
Hi Brian, that sounds interesting. What I don't understand is, why do I need another stack to bind the externals and why can't I just set the external properties of my main stack and put the externals into the same directory as my main stack? 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. > ___ 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
AW: How does RunRev finds externals when building the standalone?
Noop, I tried to put the bundles and txts in ... /Runtime/Mac OS X/Universal/ As well as in ... /Runtime/Mac OS X/Universal/Externals Without success One thing I noticed is that the bundle folder "Database_Drivers" has an underscore in the middle and the txt "Database Drivers.txt" has no underscore. But that could only affect the "dbvalentina2" package (content of "Database_Drivers") and the "v4rev.bundle" package (one level higher) should be taken anyway. Tiemo > > Quick Guess. > > Runtime/Mac OS X/Universal/ > > Folder also must have these txt files. > > When REV runs from IDE, it uses info from > My Revolution Studio\Externals > > But when it build standalone, it NOT watch into this folder, > It watch into Runtime folder. And here you have no .txt files. > > -- > Best regards, > > Ruslan Zasukhin ___ 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