Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Reading .prp file from a jar


A workaround could be:
- load the prp file with your javaws app from a remote URL and save it in
c:\temp
- use the stored file to run instantdb

Massimo

----- Original Message -----
From: "Jody Larsen" <egroups@dreamfrog.com>
To: <instantdb@enhydra.org>
Sent: Wednesday, March 21, 2001 3:37 PM
Subject: InstantDB: Reading .prp file from a jar


I'm deploying an application using java web start, which only allows the
download of .jar files, and need to include the .prp file for instantdb in
the jar.  I'm creating the database on the fly and locating it in c:\temp,
so I don't need to have the actual database files in the jar, just the .prp
file.  The kicker though seems to be that the jdbc connect string doesn't
understand urls, only file references which seems rather odd to me in the
context of java being a network aware language.  It seems it would be rather
simple to modify the source to support reading the .prp file from a jar, but
I can't seem to find the source, as the instantdb CVS.

Has instantdb been opensourced, and if so, where can I find the source.  If
not, would it be possible to have the mod I need done performed, it should
be rather simple, a matter of calling
Thread.currentThread().getContextClassLoader().getResource(filename) if new
File(filename) fails...
- Jody



-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.