revSetDatabaseDriverPath

David Anderson anderson at avinc.com
Thu Dec 8 16:59:43 EST 2005


Thanks Jan

I guess I was a little mixed up on what the rev command did.  I was 
thinking of the oracle instant client drivers/libraries.  I didn't 
realize it was the Rev database drivers.

When we put the oracle instant client (dll's and jar files) in the 
default folder (on windows) it works fine unless the full oracle client 
is installed.  With the full oracle client it expects a different 
connection string because of the TNSnames.ora file.

I was trying to get Rev to point only to the instant client so no 
matter where it is installed it will work.

Any ideas?

Thanks!
Dave Anderson

On Dec 6, 2005, at 9:29 PM, Jan Schenkel wrote:

> --- David Anderson <anderson at avinc.com> wrote:
>> Hello All
>>
>> Does anyone know how to find out what the Database
>> Driver Path is set
>> to?
>>
>> I set the path like so.
>> revSetDatabaseDriverPath the defaultFolder &
>> "/Contents/MacOS/"
>>
>> And it doesn't work.  It acts like there are no
>> drivers.  Seeing what
>> the path is after setting it could give a clue.
>>
>> If any of you  have any other clues I would
>> appreciate them too.
>>
>> Thanks in advance for any help!
>> Dave Anderson
>>
>
> Hi Dave,
>
> Under normal circumstances, you don't have to use this
> command: when Rev builds a standalone, it inserts the
> database driver files in a folder
> "externals/database_drivers" -- and the revdb library
> expects to find them in this relative position.
> So far, I've only had to use this call in a particular
> setup on a Windows CGI server.
>
> If you check the contents of the application bundle,
> you should see inside the "Contents/MacOS/" folder, a
> folder "externals", which in turn contains the
> mentioned "database_drivers" folder, as well as a
> number of bundles. "revdb.bundle" needs to be in this
> "externals" folder for the whole thing to work.
> Now, inside the "database_drivers" folder, you should
> see a series of bundles, one per database driver.
>
> Usually, the Standalone builder does a pretty good job
> of finding the libraries it needs to include in your
> standalone. If one or more of your stacks is
> password-protected, it can't take a peek at the
> source, of course.
> So you may have to manually select the inclusions in
> the standalone settings, instead of relying on its
> requirements detection scheme.
>
> Hope this helped,
>
> Jan Schenkel.
>
>
> Quartam - Tools for Revolution
> <http://www.quartam.com>
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same 
> time."  (La Rochefoucauld)
>
>
> 		
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list