jaybird icon indicating copy to clipboard operation
jaybird copied to clipboard

Investigate options to package Firebird embedded in a 'self-deploying' jar. [JDBC533]

Open firebird-automations opened this issue 6 years ago • 8 comments

Submitted by: @mrotteveel

Firebird Embedded is rather complicated to deploy correctly. It would be helpful if it is possible to deploy as a single jar, which is then extracted appropriately on first use (or maybe explicit init). The MongoDB Embedded library does something similar, see https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo

Also notify https://github.com/dbeaver/dbeaver/issues/3397 when this is available.

Commits: FirebirdSQL/jaybird@fddb4ae716ea3fdd29ddbabcd9a2b517458a70c5 FirebirdSQL/jaybird@9028f2ce8d569201bf3667ec386c52cc2e447af7

firebird-automations avatar Apr 29 '18 23:04 firebird-automations

Modified by: @mrotteveel

Fix Version: Jaybird 5 [ 10871 ]

Fix Version: Non-version tasks [ 10870 ]

description: Firebird Embedded is rather complicated to deploy correctly. It would be helpful if it is possible to deploy as a single jar, which is then extracted appropriately on first use (or maybe explicit init). The MongoDB Embedded library does something similar, see https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo => Firebird Embedded is rather complicated to deploy correctly. It would be helpful if it is possible to deploy as a single jar, which is then extracted appropriately on first use (or maybe explicit init). The MongoDB Embedded library does something similar, see https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo

Also notify https://github.com/dbeaver/dbeaver/issues/3397 when this is available.

firebird-automations avatar Apr 29 '18 23:04 firebird-automations

Commented by: @mrotteveel

Initial implementation in https://github.com/FirebirdSQL/jaybird/commit/9028f2ce8d569201bf3667ec386c52cc2e447af7, but it needs further refinement.

firebird-automations avatar Apr 05 '20 18:04 firebird-automations

Modified by: @mrotteveel

Fix Version: Non-version tasks [ 10870 ] =>

firebird-automations avatar Apr 05 '20 18:04 firebird-automations

For the Linux build, ensure that libtommath.so.0 is included

mrotteveel avatar Sep 03 '22 11:09 mrotteveel

Probably needs a custom build that includes libtommath and libtomcrypt.

mrotteveel avatar Sep 03 '22 12:09 mrotteveel

I marked the JDP and feature as experimental for Jaybird 5.

mrotteveel avatar Oct 10 '22 09:10 mrotteveel

Experimental variant for Windows (x86-64): https://github.com/mrotteveel/jaybird-embedded-win32-x86-64

mrotteveel avatar Jan 09 '23 17:01 mrotteveel