We're updating the issue view to help you get more done. 

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

Acceptance Test - Entry

None

Activity

Show:
Daryl Herzmann
April 25, 2012, 12:37 PM

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

Florian Schmaus
April 25, 2012, 12:55 PM

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

Daryl Herzmann
April 25, 2012, 1:14 PM

thanks, committed in r13060

Fixed

Assignee

Daryl Herzmann

Reporter

wroot

Expected Effort

None

Components

Fix versions

Affects versions

Priority

Major
Configure