It is indeed unfortunate that InstantDB is closed source.
The fix to use an arbitrary URL is probably pretty simple.
I suggest using a decompiler. I've had good luck with jad.
You can get it at:
http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
This has been invaluable when the InstantDB documentation is
lacking. No offense to the authors is meant. If anybody
knows of a decompiler that does a better job
(or an open-source pure-Java one that does an equally good job),
please let me know.
If you wanted to re-distribute your "patch" to this list,
I certainly would appreciate it. Does anyone else object?
Curt
Thom Nelson wrote:
> Unfortunately, InstantDB is not yet open source. There is no estimated
> time when this will happen, but we are planning to do it eventually.
> This would be a very useful feature, and we will consider putting it in
> the next release.
>
> As a work around, is there any way you can unjar the prp file manually
> before loading it?
>
> Thom
>
>
>> Jody Larsen wrote:
>>
>> 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.
-----------------------------------------------------------------------------
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.
|