Support OpenJDK for Debian build

Description

by Flow:

Here is a patch for the openfires debian build system. I changes two things:

Only set JAVA_HOME if it's not already set in debian/rules
Added dependencies for openjdk

The first change is important as currently JAVA_HOME get's always set to java-1.5.0-sun. Now you can build an openfire debian package with openjdk by issuing

export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
ant installer.debian

I was able to build openfire this way. But of course the change from SUN's jdk to openjdk needs some testing.

Environment

Debian

Attachments

1

Activity

Show:

Daryl Herzmann April 25, 2012 at 1:14 PM

thanks, committed in r13060

Florian Schmaus April 25, 2012 at 12:55 PM

No, I was the one sleeping here. Try this one: http://paste.pocoo.org/show/587029/

Daryl Herzmann April 25, 2012 at 12:37 PM

Maybe I am not awake yet, but this patch looks to be reversed?

Fixed

Details

Assignee

Reporter

Ignite Forum URL

Components

Fix versions

Affects versions

Priority

Created April 25, 2012 at 8:00 AM
Updated October 28, 2020 at 1:26 PM
Resolved April 25, 2012 at 1:14 PM