Jacques Le Roux wrote:
> I guess Adam is doing  a .deb package for OFBiz :o)

Actually, several.

I just recently split the package even further.  Before, I  had ofbiz
and ofbiz-specialpurpose, as separate debs.

Now, I have ofbiz-framework, ofbiz-applications, and
ofbiz-specialpurpose, with an ofbiz pseudo package that requires all
three.  I just recently did this, so I'm not done with the procedue, but
the plan is to have ofbiz-framework install itself, create the database,
install seed(and/or demo/ext).  Then each extension package will stop
the ofbiz daemon, and install it's data, then start the daemon back up.
 But only during the initial install.  Upgrades are not really that well
supported by ofbiz upstream.

I discovered that when I split application/framework, that there were
exceptions printed at startup.  It tries to load a bunch of freemarker
transforms, but the classes don't exist for that; I'll fix that problem
by using the META-INF/services framework.

The packages prompt for the type of database(postgres, mysql, derby,
hsql), create a separate user/db(for the first 2 choices), run ofbiz
itself as a separate user, move all files into their proper FHS
location(/var/cache, /var/lib, /var/log); basically, it's a well-behaved
debian package.

I've got some more changes I have to commit, plus finish the package
split, but soon, running ofbiz in debian will become even easier.

ps: just noticed this weekend, when I upgraded my system, that openjdk6
is in debian main; this means that ofbiz can go into main as well.

Reply via email to