Following the new java policy, packages shouldn't rely on packed jars, dependencies need to be added on our own packages and used. hsqldb is used at least in jconfig and jboss. I already started working on the ebuild, but failed creating start / stop scripts as well as init.d scripts. Reproducible: Always Steps to Reproduce: 1. 2. 3.
maybe you could attach your current ebuild so the rest of us can help :)
I will continue work for a few days and will submit the ebuild so or so (finshed or unfinished)
Created attachment 39431 [details] ebuild for hsqldb-1.7.2-r4
Created attachment 39432 [details] patch for the build process of hsqldb-1.7.2-r4 to fix javadoc target
I suggest dev-db/hsqldb as category of this new package. hsqldb is a lightweight and very fast SQL-92 conform database that is used by JBoss and other open-source projects. To be able to set this ebuild as dependency for those projects the submitted ebuild should fit. Missing is the end-user configuration to run this database standalone like any other (e.g. mysql). For that additional scripts would need to be created as they are not part of the package source itself. e.g. /usr/bin/hsqldbd /etc/hsqldb/hsqldb.cfg /etc/init.d/hsqldb /etc/conf.d/hsqldb Within the package source you can find a file named bin/hsqldb which should be something like a init.d script , but it looks too flaky to fix it in a manner that it fits into gentoo.
continued the work and will finalize the ebuild within the next few days.
Created attachment 39930 [details] ebuild for hsqldb-1.7.2-r4
Created attachment 39931 [details] files/1.7.2/init.d/hsqldb
Created attachment 39932 [details] files/1.7.2/conf.d/hsqldb
Created attachment 39934 [details] files/1.7.2/hsqldb_start
Created attachment 39935 [details] files/1.7.2/hsqldb_stop
Created attachment 39936 [details] files/1.7.2/hsqldbmanager
Created attachment 39937 [details] files/1.7.2/hsqldbtool
Created attachment 39938 [details] files/1.7.2/server.properties
Created attachment 39939 [details] files/1.7.2/sqltool.rc
Work is done for this ebuild. It is not perfect, but I was not able to provide some better. The init-script within the source package calls a class named org.hsqldb.utilSqlSprayTool, but I was not able to get this one running. In adittion the location for the properties (server.properties and sqltool.rc) is not perfect (/usr/share/hsqldb), but also for this I couldn't manage to provide a different location. If there are too many scripts, feel free to remove them. Initially they show how to start that database and the built-in tools.
Not realising this bug already existed, I created my own ebuild for hibernate. I'm not sure what all the differences are, except that I try to use the control script provided by the package, with a simple wrapper for the gentoo runscript. I'll go ahead and attach my files, and perhaps this will make it into portage soon.
Created attachment 41715 [details] Dan's ebuild for hsqldb Here's my ebuild, tested on amd64.
Created attachment 41716 [details] Support files for Dan's ebuild The support files for my ebuild include starter sqltool.rc, aerver.properties, not unlike those already here. It also includes hsqldb, a wrapper script that goes in /etc/init.d.
added thanks